
On the localhost development server, it works perfectly but when I push the code production it shows the Network request failed error whenever I try to signup or try login

Maybe the error is CORS?

Can you share the error

Hi @Ashraf_Chowdury , byawitz is right, without seeing error it is difficult to debug, can you please share?

This error popups when try to login or signup

I have the same error

Can you share the output of
docker compose logs appwrite
(run this command in the same folder you have docker-compose.yml
file

I am not sure, if this is related but I just noticed that in flutter app, when you run app in debug everything works, but when compile it not working....

The server logs will help to debug that problem

yaa just checking...

found the issue π , such a dumb I am

I had two env, and prod env was empty... but dev wasn't

If you're still having troubles, please create a separate post and share your full browser console logs

Are the two files auto-generated when installing Appwrite? Because I only have the .env file

no no, this file is just I created to maintain DB, Collection Ids and endpoints
Recommended threads
- Error getting session: AppwriteException...
I get this error `Error getting session: AppwriteException: User (role: guests) missing scope (account)` when running in prod. As soon as I try running my app o...
- PR Review and Issue Assign?
I am not familiar with how things work here. I know that Issue have to be assigned before solving problem, It is for not wasting contributors time but I like t...
- Need help with clerk auth
Im having issue with auth
