tank-royale icon indicating copy to clipboard operation
tank-royale copied to clipboard

Server websocket over wss

Open SirStone opened this issue 1 year ago • 5 comments

I've developed a web app called RTR-OBSERVER that can be installed as a Progressive Web App (PWA) and used offline on smartphones.

When running it locally via HTTP, it works well. However, for real-world deployment, HTTPS is required to make the PWA work. This also means that the WebSocket connections need to use a secure connection (wss://).

@flemming-n-larsen, have you ever considered this issue?

SirStone avatar Sep 09 '24 21:09 SirStone

Nice work with the RTR-OBSERVER :+1:😊

Regarding WSS, I have considered this, but not prioritized it yet. 🙂 But I will try to set up a server to use WSS and see how it goes. It should be easy to handle on the client side, but will require more work on the server side, e.g. setting up a certificate + UI and documentation stuff.

flemming-n-larsen avatar Sep 11 '24 21:09 flemming-n-larsen

@SirStone I have had a look into this, and it should not be a big problem to support WSS. 😊

But I will fix #96 first, so the configuration and setup is better prepared for this feature when selecting the server.

flemming-n-larsen avatar Sep 14 '24 12:09 flemming-n-larsen

@flemming-n-larsen no rush, I'm just glad you considered my request for implementation.

SirStone avatar Sep 14 '24 12:09 SirStone

@SirStone With release 0.26.0, remote servers are now supported. Lots of work has been put into this release (mostly on the GUI side) to support both remote and local servers, and it is a much better foundation for incorporation WSS in a coming release.

flemming-n-larsen avatar Oct 20 '24 09:10 flemming-n-larsen

Great! Now I'm curious about the changes on the GUI :)

Il Dom 20 Ott 2024, 11:38 Flemming N. Larsen @.***> ha scritto:

@SirStone https://github.com/SirStone With release 0.26.0 https://github.com/robocode-dev/tank-royale/releases/tag/v0.26.0, remote servers are now supported. Lots of work has been put into this release (mostly on the GUI side) to support both remote and local servers, and it is a much better foundation for incorporation WSS in a coming release.

— Reply to this email directly, view it on GitHub https://github.com/robocode-dev/tank-royale/issues/106#issuecomment-2424780910, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ7Z3HN3PRMD2Y774ZIATTZ4N2ZLAVCNFSM6AAAAABN5L6EZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUG44DAOJRGA . You are receiving this because you were mentioned.Message ID: @.***>

SirStone avatar Oct 20 '24 10:10 SirStone