"My mobile application (Flutter), which was working very well, is no longer functioning. When I try to authenticate, I receive an error message: 'connection refused.'"
In SELF HOST
Are the endpoints correctly set?
Yes m'y console work on 'localhost:8500'
Yes
Okay this is new. @Steven can you help here?
Okay, I'm waiting...
Connection refused
Is this iOS or Android? Are you on a simulator/emulator or physical device? Are you connecting to localhost for your endpoint?
I try all. In simulator/emulator: "Connection refused",
In physical device: "This domain is not connected to any Appwrite resource yet. Please configure custom domain or function domain to allow this request."
With API REST using Insomnia: "User (role: guests) missing scope (account)"
What are you using for the endpoint?
In my .env: _APP_DOMAIN=localhost _APP_DOMAIN_FUNCTIONS=localhost
Then for emulator or REST_API: http://localhost:8500/v1/... In my physical device: I get IP address from "IPCONFIG" command then update my Appwrite client ENDPOINT
Would you please try setting the domain environment variables to that IP address?
How does I do it ?
update this and run docker compose up -d
How ? By changing "localhost" to my IP address ? π
yes
Recommended threads
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...