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
Checked Wireshark logs as well - nothing blocked on laptop like antivirus or proxy
Below is the code, where not able to build connection and execution will not comeout from "await _socketIO.ConnectAsync();". Connected flag is false and not able emit the message.
SocketIOOptions options = new SocketIOOptions();
options.Path = SocketPath;
options.Query = new List<KeyValuePair<string, string>>
{
new KeyValuePair<string, string>("token", Accesstoken),
new KeyValuePair<string, string>("deviceId", DeviceId)
};
options.Transport = SocketIOClient.Transport.TransportProtocol.WebSocket;
options.Reconnection = true;
options.ReconnectionDelayMax = 10;
options.ReconnectionDelay = 1000;
options.ConnectionTimeout = TimeSpan.FromMilliseconds(10000);
Uri uri = new Uri(SocketUri);
SocketIOClient.SocketIO _socketIO = new SocketIOClient.SocketIO(uri, options);
_socketIO.OnConnected += OnSocketIOConnected;
_socketIO.OnReconnected += OnSocketIOReconnected;
_socketIO.OnError += OnSocketIOError;
await _socketIO.ConnectAsync();
The text was updated successfully, but these errors were encountered:
Upgraded sever to latest package and able to connect .net client. However, what ever sever emit the events .net client is not received but received in react client.
@doghappy,
Below is the code, where not able to build connection and execution will not comeout from "await _socketIO.ConnectAsync();". Connected flag is false and not able emit the message.
SocketIOOptions options = new SocketIOOptions();
options.Path = SocketPath;
options.Query = new List<KeyValuePair<string, string>>
{
new KeyValuePair<string, string>("token", Accesstoken),
new KeyValuePair<string, string>("deviceId", DeviceId)
};
options.Transport = SocketIOClient.Transport.TransportProtocol.WebSocket;
options.Reconnection = true;
options.ReconnectionDelayMax = 10;
options.ReconnectionDelay = 1000;
options.ConnectionTimeout = TimeSpan.FromMilliseconds(10000);
Uri uri = new Uri(SocketUri);
SocketIOClient.SocketIO _socketIO = new SocketIOClient.SocketIO(uri, options);
_socketIO.OnConnected += OnSocketIOConnected;
_socketIO.OnReconnected += OnSocketIOReconnected;
_socketIO.OnError += OnSocketIOError;
await _socketIO.ConnectAsync();
The text was updated successfully, but these errors were encountered: