Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[BUG]:i cannot connect Signaling server when use https mode #1032

Open

Description

@tisaud2077

Package version

3.1.0-exp.8

Environment

* OS:windows11
* Unity version:2021.3.18
* Graphics API:
* Browser:chrome

Steps To Reproduce

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.

Image

Image

Current Behavior

Image

Expected Behavior

No response

Anything else?

No response

Activity

  1. added
    bug
    on Jul 4, 2025
  2. tisaud2077 commented on Jul 4, 2025

    @tisaud2077
    Author

    please help me

  3. owais-kali commented on Mar 29, 2026

    @owais-kali

    In the image the signalling type is Websocket. Did you mean wss:// url not working or https:// not working?
    @tisaud2077

  4. kay1ess commented on Oct 23, 2026

    @kay1ess

    HTTP working + HTTPS failing is almost always a URL scheme / cert trust mismatch rather than a Unity Render Streaming bug.

    Checklist:

    1. 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.
    2. 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.
    3. 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
    4. 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).
    5. 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.
    6. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions