Cannot get `Realtime` to work, after moving to a self hosted VPS
- 0
- Self Hosted
- Android
- Realtime
- Databases
I've made a small Android chat application, to tryout the difference features of Appwrite. Started by setting up a self hosted solution on a server I have running on my local network. Everything seems to work fine. I can use the Auth, communicate with the database and use the realtime feature on the entries applied to the database for a live update of the "chats" coming in.
After this, I desided that I would like to continue working with Appwrite and wanted to host it on a VPS. So I ran the same process of setting up the self-hosted solution on my VPS, setup the ports and endpoint address in Nginx Proxy Manager and changed the project details for the new instance of Appwrite in my mobile application.
Now, I can still use the Auth part, and communicate with the database (reading, writing, etc.). But, the Realtime part does not seem to work in the application anymore? I have checked in the Nginx Proxy Manager settings, that websocket support is enabled. It dosen't matter if I use the IP-address or the domain name that I have given. I simply just do not get anything from the realtime subscribtion.
If I try to switch back to the instance running on my LAN server, it works fine again. Is there something I am missing here? I'm not getting any errors in the log either, so I feel a bit clueless at this point. Hope someone can help me out with what to try next.
Recommended threads
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support 👋 I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...