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
- Oauth Google Missing cookie
Im using this following code to trigger oauth google to work ` const handleGoogleLogin = () => { console.log(window.location.href); account.c...
- i have created appwrite selfhost on digi...
i have created appwrite selfhost on digital ocean and installed mariadb in different droplet and changed environment variable . it works and i did signup in app...
- [SOLVED] Messaging API Failing with "SER...
Hello Appwrite Team, I'm experiencing a "SERVER ERROR" whenever I attempt to send push notifications using the Messaging API. The function fails without clear ...