-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: "Connection refused" error on dart function #6945
Comments
Hey @FabiKel , i request you to please assign this to me |
@FabiKel, thanks for creating this issue! 🙏🏼 Where is your Appwrite instance deployed and are you using localhost for the endpoint? What is the endpoint? |
The instance is on a server (vm) in the local network only.
In version 1.3 the same function was working. Since 1.4 it's not working anymore. Are there some other (new) variables I have to check? |
Perhaps the hostname or IP address you're using here changed: setEndpoint('http://myEndpoint/v1')
No, there are no other variables to check |
I have found the error. Thank you for your help. |
👟 Reproduction steps
When I try to get any information from my database I get an
AppwriteException: null, Connection refused (0)
.I tried it with dart runtime 2.17, 2.18 and 3.0. I tried in developement and production mode.
I deployed the functions with CLI 4.1.0
To test it, i gave the key every scope, but the error persists. I upgraded from 1.3.6 to 1.4.3 to 1.4.5. The error exists since the upgrade from 1.3 to 1.4.
👍 Expected behavior
Get the required data.
👎 Actual Behavior
Throws
AppwriteException: null, Connection refused (0)
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: