Breaking errors in Flutter new version, which cause errors while connecting to Appwrite Services.
- 0
- Flutter
connection like Client client = Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your Appwrite Endpoint
.setProject('645923b923fc4fbfee9b'); // Your project ID to Appwrite throws error as shown in image. While doing like this, Client client = Client()
.setEndpoint('67.207.78.138') // Your Appwrite Endpoint
.setProject('645923b923fc4fbfee9b'); // Your project ID this throws Appwrite exception No host specified in URI.
Which one throws the error ?
First snippet or the second one. Second one is expected cause it does start with http/https
first snippet throws error
while the second also throws Appwrite Exception. First error is totally unknown with zero information about
hmm, it shouldn't happen. Can you share the full stacktrace and relevant code
I have shared full details in start. When connecting to appwrite server, the exception in image is thrown, which has detailed information in.
Did you make sure to enable internet access for your app?
What's the host value right here at the breakpoint?
Yes internet is enabled
was working fine today unttil updated to flutter new vversion
Recommended threads
- Problem with getting rows from related t...
Hi, I migrated the Appwrite SDK to 1.8.0 and the package in my Flutter app to version ^20.3.2. I noticed one thing is different. Previously, when I got a JSON r...
- client.ping() does not appear to work.
After upgrading to 1.8.0, I ran the `starter_for_flutter` and tested the ping. It failed with a "Server Error". I tried this again on my production instance (1...
- bulkUpsert and Realtime
Hey when I use Realtime on a Table for creates/updates and use the createOperations method in my Appwrite Function for bulk upserts, will the realtime trigger f...