-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket.Client.Exceptions.WebsocketException: Failed to start Websocket client, error: 'Unable to connect to the remote server' #14
Comments
This looks like you are trying to run it on Xamarin, is that correct? Are you able to connect to the server from standard .NET Core console application? Also are you able to access the socket.io server to see some logs there? |
@LadislavBohm yes it is xamarin app, I will try to run it from standard .NET console application to see if it works, I will comment here about result later. we were using this https://github.com/Quobject/SocketIoClientDotNet socket.io client on our xamarin app, but it is really old and recently on Android it became not stable, this is why we are now considering other socket.io clients in C# for our Xamarin app. server side socket.io version is 1.7.4. what do you suggest? |
I haven't tested the library on Xamarin at all so I can't really help with that. However if you have an access to server then it could help with debugging. For example in this library I am not doing a standard socket.io protocol resolution and go straight for websocket connection (no long polling support). I had no issues connecting like that to socket.io servers but you could check whether your server supports websockets. |
please see attached sample console application, it give following error even such package is added Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Websocket.Client, Version=4.3.0.0, Culture=neutral, |
Hi, I am getting this error 'Unable to connect to the remote server'
below full log
The text was updated successfully, but these errors were encountered: