Closed LoisDuplain closed 1 year ago
thank you for the detailed report! I will look at this in the next few days, meanwhile can you try making a minimal websocket client with this library and try to connect from that?
code for a basic client can be found here: https://github.com/TooTallNate/Java-WebSocket/wiki#client-example
Sorry, I forgot to update the issue. The issue is solved for my case but i don't know if it can cause issue to someone else.
To solved it I just removed the protocol parameter ("prot") line 6 in my index.html When i wrote it i didn't see this parameter was optional and I don't really understand how it works.
What is sure is that depending on the version of chrome it could work. Chrome Windows: did not work Chrome iPhone: works Mozilla Linux / Android: works Safari iPhone / Mac: works
Thanks for the update Closing this as solved
Describe what you would like to know or do Im trying to connect the my WS server (created using Java-WebSocket) with JavaScript. But my connecgtion is automatically closed (exit code 1006)
Last version of Java-WebSocket. Last version of Chrome browser.
App.java
Serveur.java
The server displays this error when i try to connet to using my index.html
And the chome console show this: