Skip to content
Sites Hackathon is live / Aug 29 - Sep 12
Back

WebSocket reconnecting issues – Realtime not working

  • 0
  • Web
  • Realtime
  • Cloud
shotalime
4 Sep, 2025, 17:34

Hello!

I am experiencing a problem with the Realtime API. My frontend is constantly reconnecting to the WebSocket server, and as a result Realtime is not working in my app.

Details:

Environment: Nuxt + Vue SDK: Appwrite JavaScript/TypeScript SDK Hosting: Using Appwrite Cloud Endpoint: wss://fra.cloud.appwrite.io/v1/realtime?project=allyplay&channels%5B%5D=databases.ally-play-db.tables.686a4a16003cc7b43b3f.rows.6885fc39001ddae5a53d

Error: "Realtime got disconnected. Reconnect will be attempted in 1/5 seconds." (screenshot attached)

Behavior: Sometimes, very rarely, after refreshing the page the connection is successfully established, but most of the time it keeps reconnecting endlessly.

Could you please help me understand why this is happening and how to fix it?

Thank you in advance.

Best regards, Evgeniy

TL;DR
Realtime API in Nuxt + Vue with Appwrite SDK is constantly reconnecting to WebSocket server. This issue started a couple of days ago. The error message "Realtime got disconnected" keeps appearing. **Solution:** Check the WebSocket connection settings in the app and ensure they are correctly configured. Also, verify the SDK version compatibility with the WebSocket server.
shotalime
4 Sep, 2025, 17:47

Additionally, I noticed that this issue has been happening only for the past couple of days. Before that, I hadn’t worked on the project for a while, but Realtime was functioning correctly earlier.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more