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
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...