Infrastructure

WebSocket / Longpolling

Realtime features configured automatically behind HTTPS

WebSocket and longpolling

What you need to know

Soviez.sh configures the application services required for real-time features automatically as part of supported Production and Stage runtimes. You do not need to wire WebSocket routes by hand.

Edge behavior

  • Clients connect over HTTPS on port 443
  • Nginx terminates TLS and proxies to the ERP runtime on loopback
  • Real-time paths (WebSocket / longpolling compatibility) are included in supported Nginx templates

Ports

Application HTTP and real-time backends stay on loopback (or Docker-internal). Do not publish them as the public Production endpoint.

Serve ERP only through the HTTPS edge.

Troubleshooting

SymptomCheck
Chat / bus / live features stallConfirm HTTPS works; re-check Nginx and SSL status
502/504 on live featuresHost resources, Nginx timeouts, container health
Works on HTTP but not HTTPSCertificate / proxy headers / Cloudflare SSL mode

Related: NETWORKING.md, DOMAIN_AND_TLS.md, TUNING.md.

Source: canonical operator documentation · Permalink