jchristn / WatsonWebsocket

A simple C# async websocket server and client for reliable transmission and receipt of data
MIT License
277 stars 53 forks source link

Unable to Connect to WebSocket Server from Mobile Application (Using Flutter) #135

Closed Hasan188 closed 1 year ago

Hasan188 commented 1 year ago

Hello.

I hope this message finds you well. I have encountered an issue while trying to connect the WebSocket server I created to my mobile application, which is developed using Flutter. Despite multiple attempts, I have been unsuccessful in establishing a connection between the Flutter packages and the server I implemented. I kindly request your assistance in resolving this matter. I am eager for your guidance.

The Flutter packages I am currently using as clients in my application are as follows:

web_socket_channel (the most popular one) web_socket_client obs_websocket

I appreciate any help you can provide in understanding why the mobile application fails to connect to the server. Thank you very much in advance for your support.

Best regards,

jchristn commented 1 year ago

Hi @Hasan188 thanks for your note. I unfortunately don't have any experience with Flutter or packages available for it. I recommend testing with the Javascript code sample in the README: image

Additionally you can test with the Test.Server and Test.Client projects to isolate and reproduce any issues. Should you find an issue with the library, please open an issue on it and I'll take a look! (Moving this to discussions)