Back

Realtime suddenly doesn't work anymore

  • 0
  • Flutter
  • Realtime
Disk_MTH
17 Jan, 2024, 09:06

Hello, I have a problem with the Realtime API in self-hosted A few days ago I made code that listens for "account" and a "collection". Everything was working fine, until I moved apprwrite behind a reverse proxy (I don't know if that matters, but in other tickets I saw people talking about it so I'll clarify). All the rest of the code still works, just not realtime. Any idea what's going on?

TL;DR
Title: Realtime API not working after moving Appwrite behind reverse proxy Message: I encountered the error message "This domain is not connected to any Appwrite resource yet. Please configure custom domain or function domain to allow this request." in the logs. I also noticed that the Realtime API stopped working after moving Appwrite behind a reverse proxy. Any suggestions on how to fix this issue? Possible Solution: You need to configure the custom domain or function domain to allow the request. Check if your reverse proxy setup is causing any conflicts with the Realtime API. Try troubleshooting by inspecting your reverse proxy configuration and ensuring it is properly forwarding
Disk_MTH
17 Jan, 2024, 09:09

I also have this error which spams in the logs (even if do nothing) :

Disk_MTH
17 Jan, 2024, 09:09

appwrite | [Error] Line: 67 appwrite | [Error] Timestamp: 2024-01-17T07:45:35+00:00 appwrite | [Error] Method: appwrite | [Error] URL: /squid-internal-dynamic/netdb appwrite | [Error] Type: Appwrite\Extend\Exception appwrite | [Error] Message: This domain is not connected to any Appwrite resource yet. Please configure custom domain or function domain to allow this request. appwrite | [Error] File: /usr/src/code/app/controllers/general.php

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