❔ WebSocketSharp and Azure Endpoint (Error 1006)
Summary:
1) I create a
UnityWebRequest
which is used to call request.SendWebRequest()
.
2) Use the returned request.downloadHandler.text
to create a ws = new WebSocket(request.downloadHandler.text, "json.webpubsub.azure.v1");
3) Attempt to perform ws.Connect()
However, ws.Connect()
never connects and instead always triggers OnClose()
instead, citing error 1006.
My actual code:
I am new to azure. How can I debug?2 Replies
IsWebSocketUrlReachable(url);
is a ping function I implemented to test the reachability of the ws address. It always returns true, which further mystifies me.
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.