What's new

Welcome to RetroTools.XYZ - We Make It Easier To Manage Your Habbo Retro By Yourself!

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Free Nitro Websocket Proxy

Tired of paying to avoid random disconnections want better protection on your Habbo Retro?
Click Here Free Nitro Websocket Proxy Now

Answer

Answer Questions and Become an Expert on Your Topic

Join Our Discord Server

You can chat or get help in real time by joining our Discord.
Click Here To Join Our Discord Server

VPS emulator_settings websocket

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)

Kralizm

New member
Joined
Nov 22, 2024
Messages
1
Reaction score
1
Points
3
Hello, I have installed a VPS in the hotel, but I can log in as localhost. When I connect the domain, it cannot be logged in. It is stuck at 20%. There is no websocket in emulator_settings. How can I do this?
 

RetroPlug

Member
Staff member
Management Team
Joined
Nov 12, 2020
Messages
72
Reaction score
44
Points
18
Hello, I have installed a VPS in the hotel, but I can log in as localhost. When I connect the domain, it cannot be logged in. It is stuck at 20%. There is no websocket in emulator_settings. How can I do this?
I have moved this thread to help and support.

How do I configure the plugin?​


Startup the plugin so it generates the required entries under your emulator_settings table. The following fields will be generated:
  • websockets.whitelist - a comma-delimited list containing all permitted Origin headers. You should write the domain name of your hotel here since the Websocket connection will be initiated there. Wildcards are also supported, so you can whitelist all subdomains by adding for example: *.example.com, or even whitelist all origins by adding * (not recommended)
  • ws.nitro.host - host ip, should leave it as 0.0.0.0
  • ws.nitro.port - host port, can be any port but if you want to proxy wss traffic with Cloudflare read the following section
  • ws.nitro.ip.header - header that will be used for obtaining the user's real IP address if the server is behind a proxy. Will most likely be needed to be set to X-Forwarded-For or CF-Connecting-IP if behind Cloudflare.

How do I connect to my emulator using Secure Websockets (wss)?​

Proxying WSS with Cloudflare​


You can easily proxy wss traffic using Cloudflare. However, you should first make sure that your ws.nitro.port is set to one that is listed as HTTPS Cloudflare Compatible in the following link:
Please, Log in or Register to view URLs content!


As of writing this, the following ports are listed as compatible:
  • 443
  • 2053
  • 2083
  • 2087
  • 2096
  • 8443

After your port is set to one that is compatible, create a new A record for a subdomain that will be used for websocket connections, and make sure that it is set to be proxied by Cloudflare (the cloud should be orange if it is being proxied). It should be pointing to your emulator IP.

Finally, create a new page rule under the Page Rules tab in Cloudflare and disable SSL for the subdomain you created above. You will now be able to connect using secure WebSockets using the following example URL, where I created an A record for the subdomain ws and set my ws.nitro.port to 2096: wss://ws.example.com:2096
 

Les

New member
Joined
Nov 4, 2025
Messages
3
Reaction score
0
Points
1
i did all this and i cleared cache and still stuck at 20% on all my browsers, well nothing changed because i followed the video tutorial, i was in my hotel till i cleared my cache in chrome, i dont know what or if i touched something or what..
 
shape1
shape2
shape3
shape4
shape7
shape8
Top