Exhibit a retro online using NGROK

Aenis

New Member
Aug 10, 2021
11
7
Good evening !

So I develop a retro locally from my machine, everything works correctly with the Nitro client and the Arcturus emulator,

At one point, I had the idea of exhibiting my retro in online development locally from my machine via the Ngrok tool.

I am able to properly access my CMS and client resources but I have a problem, I cannot expose Nitro's WebSocket server so that it can properly connect to the client and I do not understand where this may be coming from , since Ngrok has a command made just to expose this websocket server online:

Bash:
$ ngrok tcp -[PORT-WEBSOCKET]

When I try to access it online, there is a Websocket error from the client from the development console and in the Ngrok log it is an error "error: Unexpected server response: 403" which is displayed

The websockets.whitelist table has been filled in by the domain that Ngrok to generate.

Anyone know where the problem is coming from?
 
Solution
Run:
Ngrok http (websocket port)

Try connecting
Hello, thx for the reply,

I have try it and it give an Bad Gatway error in Ngrok log, it does'nt work
Post automatically merged:

Hello, thx for the reply,

I have try it and it give an Bad Gatway error in Ngrok log, it does'nt work
I just tried again with nrgok tcp [PORT] and oddly it works correctly, I had probably made a bad manipulation yesterday, I thank you for your help Jay

Aenis

New Member
Aug 10, 2021
11
7
Run:
Ngrok http (websocket port)

Try connecting
Hello, thx for the reply,

I have try it and it give an Bad Gatway error in Ngrok log, it does'nt work
Post automatically merged:

Hello, thx for the reply,

I have try it and it give an Bad Gatway error in Ngrok log, it does'nt work
I just tried again with nrgok tcp [PORT] and oddly it works correctly, I had probably made a bad manipulation yesterday, I thank you for your help Jay
 
Last edited:
Solution

Users who are viewing this thread

Top