You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot access disposed object is the error I am receiving. For some reason the socket doesn't open and so it gets garbage collected.
I am able to use the host machine IPaddress but in trying to use the hostname I am running into issues.
sIpAddress = "host.hostname.com";
sPort = Convert.ToInt32("11003");
IPHostEntry ip = Dns.GetHostEntry(sIpAddress);
vWebsocket= new WebSocket("ws://" + ip.HostName + ":" + sPort + "/");
Note: I am trying to use the web socket in an iOS app on Xamarin Studio. I am able to connect from the same machine I am debugging this app on. Not sure if this matters.
The text was updated successfully, but these errors were encountered:
I met similar issue with mono 4.6.2.7. My server is behide ELB and that seems to matter. In this case, only IP can work.
Both IP and host name work when connecting to a server without ELB.
Downgrading to mono 4.4.2.11 can fix it (working with host name and ELB).
Cannot access disposed object is the error I am receiving. For some reason the socket doesn't open and so it gets garbage collected.
I am able to use the host machine IPaddress but in trying to use the hostname I am running into issues.
Note: I am trying to use the web socket in an iOS app on Xamarin Studio. I am able to connect from the same machine I am debugging this app on. Not sure if this matters.
The text was updated successfully, but these errors were encountered: