question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Support For Secure Websocket

See original GitHub issue

Secure Websocket Support

Why is it needed?

Any client running on https (SSL), will not be able to connect to the MultiOgarII instance unless it runs over the wss:// protocol. This was originally in the gameserver.js file before changes were made to its name and were there since it’s implementation in the original MultiOgar fork by Barbosik.

What happened to it?

It was originally committed here: https://github.com/Barbosik/MultiOgar/commit/cf1c5dd1fe5024060df49e38b9447ce7105895a1 After that, I’m not sure when or why support was removed from your fork.

What exactly is the error with connection?

As seen in the Javascript Developer Console on the website:

main_out.js:326 WebSocket connection to 'wss://<REDACTED>:441/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

6reactions
Borys64commented, Jun 11, 2020

It was removed to decrease the size of the repository, however I’ll re-implement it.

4reactions
Borys64commented, Oct 20, 2020

Added TLS support, you should now be able to use HTTPS. For instructions on how to do so, please take a look at the README.

I will leave this issue open just in case any vulnerabilities are found.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to secure your WebSocket connections - freeCodeCamp
How to secure your WebSocket connections · #0: Enable CORS · #1: Implement rate limiting · #2: Restrict payload size · #3: Create...
Read more >
Secure WebSocket and HTTPS - Crossbar.io
Crossbar.io has full support for running secure WebSocket and HTTPS. We discuss configuration: WebSocket Transport Configuration. Endpoint TLS Configuration.
Read more >
How to build a secure WebSocket server in Python - Snyk
This tutorial will explore building a secure WebSocket server in Python using python-socket.io and JavaScript Socket.IO client to connect ...
Read more >
Connecting to WebSocket using SSL - IBM
To enable SSL connections, obtain any required SSL certificates and Trusted Authority certificates for WebSocket. Add the certificates to a local Java™ ...
Read more >
Intro to Security and WebSockets - Baeldung
For example, suppose your WebSockets implementation is hosted at foo.com, and you are enforcing same origin policy. If a user connects to your ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found