I’m setting up secure websockets on a gamelift instance running a Unity headless linux build. Since Unity’s WSS implementation is poor I’m using RocketSockets which is a seperate process running alongside of the game process. The idea is that the game connects to that process via TCP at 127.0.0.1 and some port I pick. Then clients connect to the WSS port RocketSocket opens, and it communicates with the game over the local connection.
However, It can’t seem to connect to 127.0.0.1 on a gamelift instance.
Is this possible? I’ve made sure the relevant ports are open and entered 0.0.0.0/0 for IP Range.
Also, I’m starting the RocketSockets process form within the game itself upon launch. This seems to work but I can image this is not what GameLift was designed to do. Is there any harm in running a seperate process on the instance that GameLift doesn’t know of?