Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/wss tls beta support #2

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Feat/wss tls beta support #2

wants to merge 5 commits into from

Conversation

dylanh724
Copy link
Collaborator

About

Upgrades Transport pkg to support WSS/TLS.

Default: Disabled

Warnings/Restrictions

  1. This is a beta package that goes against the recommended dependency version of the latest version of NGO.
  2. "Use Encryption" only works for self-hosted certificates+keys.
  3. Even if you "Use Encryption" for local cert+key, there's no current documentation on how to name them or what path to place them.
  4. For Hathora deployment, only WS/TCP works: No WSS/TLS.
  5. Host names do not work: You must parse the host name to an IP address. In bash, you can use dig <hostName> for testing to get an IP from host.

Hathora Deployment with WebGL

  1. Find NetworkManager.UnityTransport
  2. Enable "Use Web Sockets"
  3. Ensure "Use Encryption" is unchecked (see warnings/restrictions section)
  4. Ensure "Allow Remote Connections" is checked
  5. Build and deploy to Hathora with TCP protocol
  6. When you create a room, remember to parse the host name to an IP address (see warnings/restrictions section)
  7. In your webgl build's Hello World Demo, join via ip:port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant