Realtime connection and function execution problems after migrating Appwrite from 1.4.14 to 1.5.4
- 0
- Self Hosted
- Functions
- Web
- Realtime
Hi, I've been having issues with realtime connections and function executions since I migrated my selfhosted Appwrite 1.4.14 to 1.5.4.
Realtime connections problem: When trying to use realtime connections I get error "Realtime got disconnected. Reconnect will be attempted in 1 seconds.". This keeps retrying and failing. (see screenshot) This is also happening in my appwrite console, so it doesn't look like it has anything to do with my specific frontend. (Which is a Svelte 4 SPA using the Appwrite Web SDK v14.0.0)
Function execution problem: When trying to execute a function I get error "AppwriteException: Network request failed". See the screenshots with the console error and the payload of the failed request. Looking at the payload makes me think this is also related to the realtime issue.
Possible cause/fix: I've figured out that the traefik image version in docker-compose.yml has been updated from traefik:2.9 to traefik:2.11 since migrating. Setting this back to 2.9 seems to FIX BOTH the issues... I haven't gotten any other errors since doing this, although I don't know if other things like the new Messaging functionality rely specifically on the 2.11 version.
Recommended threads
- Auto Updating Backend & Auth via Appwrit...
<@870607367597850624> Hey everyone 👋 I wanted to ask to ask for a friend, he’s asking if Appwrite be used in a similar way to Supabase when integrated with AI ...
- execution failed
When executing an appwrite function, I'm getting a 500 error, but I don't see it in executions. This issue appeared today. Here's the appwrite function ID: 68b4...
- User Labels use Operator.arrayInsert(‘la...
Can I use the new db operators on user labels or roles?