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?
Summary
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
Rank 2: Process
Jan 17, 2024, 09:09
I also have this error which spams in the logs (even if do nothing) :
Disk_MTH
Rank 2: Process
Jan 17, 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