
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
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- React native app login via Safari
Hi! I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari co...
- Invalid credentials after migration
Hi everyone! After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when ...
