Closed oleynikd closed 1 month ago
The problem was with the FRAPPE_SITE_NAME_HEADER
env variable. I set it to a custom name like myerp
, but I had to use full domain name (which is actually described here).
This value will be used (among others) by nginx proxy to pass requests to socket.io server here.
Once I changed it and recreated my site - everything is working.
Hello, Websockets are not working with docker instal. I tried both pwd.yml and custom images with
docker compose config
- same result. When I open the app in browser I see error in logs:As you can imagine, live data updates doesn't work. If I ask console
frappe.realtime.socket.connected
it saysfalse
.All my containers are working. websocket container is up and healthy. Here's the
common_site_config.json
:It is not a local install. This runs on remote server with SSL enabled. Installed apps:
Please help me to figure out what is wrong. Thanks. 🙏