Back

[SOLVED??]Realtime keeps disconnecting

  • 1
  • Self Hosted
  • Web
  • Realtime
Hexi
28 Aug, 2023, 16:49

Hi I have gotten a issue that the realtime connection keeps losing its connection for some strange reason

(I am using Coolify so it goes through treafik if I am not mistaken)

TL;DR
User is experiencing an issue with the real-time connection constantly disconnecting. It appears that the issue lies with how Coolify sets up Appwrite. Support suggests checking if the real-time connection stays active in the console. The user is asked to SSH into the server, run the command "docker ps -a," and share the result regarding Treafik. It is confirmed that Treafik is working correctly. The user is then asked if they have a reverse proxy. They mention having a separate node with a fresh Ubuntu server and Coolify installed. They also mention upgrading Appwrite from version 1.3.7 to 1.
Hexi
28 Aug, 2023, 16:51
Binyamin
28 Aug, 2023, 16:53

Can you first check that the realtime in your console stay connected?

Hexi
28 Aug, 2023, 16:53

uhm what?

Binyamin
28 Aug, 2023, 16:53

Go inside the Database view in your console

Binyamin
28 Aug, 2023, 16:53
Hexi
28 Aug, 2023, 16:53

oh alright

Binyamin
28 Aug, 2023, 16:53

Then you should see active Realtime connection

Binyamin
28 Aug, 2023, 16:54

If it's stay active then it means the realtime set correctly

Hexi
28 Aug, 2023, 16:54

Same issue...

Binyamin
28 Aug, 2023, 16:54

Okay So the problem is somehow with how Coolify sets Appwrite

Binyamin
28 Aug, 2023, 16:55

Can you ssh into the server Run

TypeScript
docker ps -a

And share the Treafik one

Binyamin
28 Aug, 2023, 16:55

And check if maybe it runns behind Nginx?

Hexi
28 Aug, 2023, 16:55
Hexi
28 Aug, 2023, 16:55

What do you mean by sharing it?

Binyamin
28 Aug, 2023, 16:56

Like so

Hexi
28 Aug, 2023, 16:56

or just a ss

Hexi
28 Aug, 2023, 16:56

ah alright

Binyamin
28 Aug, 2023, 16:56

It means that the Traefik works as expected

Binyamin
28 Aug, 2023, 16:56

Do you have any reverse proxy?

Hexi
28 Aug, 2023, 16:57

I have a seprate node with a fresh ubuntu server install + coolify

Hexi
28 Aug, 2023, 16:58

I did lately upgrade appwrite from 1.3.7 to 1.3.8

Hexi
28 Aug, 2023, 16:59

not sure if I had this before that aswell. Can I just downgrade it easily?

Binyamin
28 Aug, 2023, 16:59

Before that it worked?

Hexi
28 Aug, 2023, 16:59

Yeah no, in this thread I had the same issue: https://discord.com/channels/564160730845151244/1143592597890269254

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