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
- Appwrite Python SDK Keeps returning the ...
So I have a couple services, one is a scheduling engine responsible for fetching data from a database and launching a containerized micro service to process tha...
- Creating a function on appwrite Cloud.
I am trying to create a function on Appwrite cloud. I go to the console. I hit : Create function I choose DART-3.5 I put a name for my function : NameFunction...
- SSR Auth with Tanstack Start requires ha...
I followed the Next.js guide for SSR Auth on https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-1 I tried to replicate it for Tanstack Start. However, on...