
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
- Relationship problem
When I UPDATE a document that has a relationship and I pass id and all the data of the relationship it works but if i CREATE a document then it says 401 user un...
- How many functions can I run simultaneou...
I want to konw, how many functions can I can simultaneously in appwrite cloud? I want to make a chat app where user sends text and text is processed using funct...
- security question
hello i got a small question, is this code secured, is there something that should not be displayed on the client, i am talking about the image tag: my code: ...
