You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]:i cannot connect Signaling server when use https mode #1032
I switched to HTTPS mode to incorporate WebXR and also adjusted the signaling server port. However, the connection still fails. By the way, everything works fine in HTTP mode.
HTTP working + HTTPS failing is almost always a URL scheme / cert trust mismatch rather than a Unity Render Streaming bug.
Checklist:
Page and signalling must both be secure. If the browser page is https://..., the Signaling URL in Unity (and in the web client) must be wss://host:port — not ws:// and not bare https:// unless your client explicitly maps HTTPS→WSS. Mixed content will block the WebSocket.
Same host/port the cert was issued for. Opening https://127.0.0.1 with a cert for localhost (or an IP vs DNS mismatch) fails in Chrome and in Unity’s WebSocket client.
Self-signed certs: Chrome can “Proceed anyway” for the page, but Unity’s signalling client often still rejects the cert. Use:
a real public cert (Let’s Encrypt) on a DNS name, or
mkcert / an enterprise CA installed in the OS trust store on the Unity machine
Server actually in HTTPS mode with key/cert paths readable by the Node process; confirm with curl -vk https://host:port and a WSS test (e.g. websocat / browser console).
Firewall / port: after you changed the signalling port, allow TCP that port inbound; Unity’s “Failed to connect” is frequently a closed port after the scheme fix.
Reply with the exact Signaling Type + URL string from the inspector (redact secrets) — that usually shows whether it is still ws:// while the page is HTTPS.
Once wss:// + a trusted cert line up, WebXR-capable HTTPS pages connect the same way HTTP did.
For private LAN deployments where you want remote view/control without fighting browser HTTPS requirements in every environment, some teams use a local stack such as Castrix; for stock URS, fixing WSS + trust is the path.
Activity
tisaud2077 commentedon Jul 4, 2025
please help me
owais-kali commentedon Mar 29, 2026
In the image the signalling type is Websocket. Did you mean wss:// url not working or https:// not working?
@tisaud2077
kay1ess commentedon Oct 23, 2026
HTTP working + HTTPS failing is almost always a URL scheme / cert trust mismatch rather than a Unity Render Streaming bug.
Checklist:
https://..., the Signaling URL in Unity (and in the web client) must bewss://host:port— notws://and not barehttps://unless your client explicitly maps HTTPS→WSS. Mixed content will block the WebSocket.https://127.0.0.1with a cert forlocalhost(or an IP vs DNS mismatch) fails in Chrome and in Unity’s WebSocket client.mkcert/ an enterprise CA installed in the OS trust store on the Unity machinekey/certpaths readable by the Node process; confirm withcurl -vk https://host:portand a WSS test (e.g. websocat / browser console).ws://while the page is HTTPS.Once
wss://+ a trusted cert line up, WebXR-capable HTTPS pages connect the same way HTTP did.For private LAN deployments where you want remote view/control without fighting browser HTTPS requirements in every environment, some teams use a local stack such as Castrix; for stock URS, fixing WSS + trust is the path.