Hi there. Just heard back from support:
“I just got an update from the team. It looks like we are blocking Unity because the requests are missing a User-Agent header. Glitch does require that this information be present in order for your project to accept the requests.”
I am not 100% sure how this works, but there is a function meant to set the request header of the websocket client options (public void SetRequestHeader (string headerName, string headerValue);). But what would be the headername and headerValue?
How to get this information!?
UPDATE: finally! I have the socket opening… using: ws.Options.SetRequestHeader( “User-Agent”, “Unity3D”);
Now… let’s see if I can send and receive.