Rank 2: Process
"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.'"
Votes
1
Replies
16
Participants
Unknown
Messages
17
Rank 2: Process
"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.'"
Rank 2: Process
In SELF HOST
Are the endpoints correctly set?
Rank 2: Process
Yes m'y console work on 'localhost:8500'
Rank 2: Process
Yes
Okay this is new. @Steven can you help here?
Rank 2: Process
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?
Rank 2: Process
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?
Rank 2: Process
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?
Rank 2: Process
How does I do it ?
update this and run docker compose up -d
Rank 2: Process
How ? By changing "localhost" to my IP address ? 😕
yes