-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Problems with WSS running on linux and Edge(or ie) browser #484
Comments
Hello @Irahe, when I am trying to connect to your address I first of all get a certificate error (in chrome as well as in firefox) so you should connect to wss://:8283/. Second problem is that edge is not able to connect to the revokation server.. This could be to the following reasons:
Greetings |
I know about the domain issue, i just dont wanted to post it publicly here ;D |
Upps sorry :) Ok then it is probably just LetsEncrypt trying to fix their issues! Greetings EDIT: |
Lets hope they do. |
Let's encrypt is back to action, and connections are back to work. =D |
Hey, @marci4 , I still having problems with edge and ie on the same server. |
Hey @Irahe Probably some cipher suites... Greetings |
Dear @marci4, I completely renewed the environment of the server today. I figured that if i go to websockets.org client and keep pushing the connect button, it connects after some like 20 tries. |
Hello @Irahe, Could you please tell me what exact version of java you are using? Gonna look into this still more! Just wanted to give you a status update. Greetings |
Dear @marci4 , In response to |
hey, sorry for the slow update. To be honest I have no clue why Edge is fucking so bad with me . For now my tip is just not to use Edge/IE. Hopefully this issue resolves itself with the new SocketChannel... Greetings |
Dear @marci4 , I'll test it soon and give you an feedback. |
Dear @marci4 , I have patched my server with the new version released. Firefox: Chrome: With Edge, i can connect only if i am not connected to the server with any other browser. If i connect with any other browser, Edge simple not work. PS: I'm still using oracle-java8... I have installed OpenJDK-8, however, i get the similar problem with Edge, and Firefox stop working(similar to #466) on that version. I was not able to install openjdk-7 because I'm running Ubuntu 17.04, and it is not available via ppa. |
Hello @Irahe trust me, I am really sorry right now (and pissed for that matter ;) ) Lets try the following (like #466) ciphers.remove("TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256");
ciphers.remove("TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384");
ciphers.remove("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384");
ciphers.remove("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA");
ciphers.remove("TLS_DHE_RSA_WITH_AES_256_GCM_SHA384");
ciphers.remove("TLS_DHE_RSA_WITH_AES_256_CBC_SHA256");
ciphers.remove("TLS_DHE_RSA_WITH_AES_256_CBC_SHA"); Greetings |
Hello @marci4 , I'v tested the above, and with this change, Firefox works on OpenJDK-8 correctly. However, Edge and IE still not working properly. In Chrome and Firefox, if i connect 2 or 3 tabs in a row, i still get the following exception(with does not happen on previously socketchannel implementation): I have figured that if i try to connect to my server on |
To be honest I think we do have somewhere else a problem (apart from the mentioned SSLException which is caused by the new SocketChannel, please revert this locally for you as well). Apart from this, it is killing me right now! What you can try is to activate the java debug output (with -Djavax.net.debug=all) and check what cipher is used in your case! I will try to locate this issue with the selector! Greetings |
Hello @marci4 , I have done as requested with java debug. A lot of information was showed when trying to connect via Edge. I hope we can sort it out. =D |
Hello @Irahe, yes try to remove this specific cipher suite. Greetings |
Hello @marci4 , I removed the cipher, but it is still a no go... At the end, i removed some ciphers, and finally i can tell you its working on Firefox, Edge, Chrome and IE. However, i still have some problems with the new sslSocketChannel, some times on all browsers i need to restart the connection, causing the exeption i already have mentioned. At the end, my WrapChannel method is like this:
|
Hello @Irahe happy to hear that you managed to solve this issue on your own! As mentioned earlier please dont use the new SocketChannel, there is still a bug in it (Was not able to locate it...) I also added an easier way for removing specific cipher suites. Greetings |
Hello, @marci4 , I went back to SSLSocketChannel2 and all is back to work. no exception. Anyway, thanks for your help and support. I believe you can close this issue now. =D |
Help is always appreciated :) Greetings |
Hello,
I'm having a bit of a issue.
On my local environment, when i create the server and try to run it, i can connect correctly with all browsers, thanks to fix #466 , However, when i export to my test server, that runs Ubuntu, PHP 7,1 and apache2, i simple cant make it work with Edge or IE.
Using Firefox and Chrome works correctly.
I'm using oracle-java8 on the server...
java -version
returns:java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
The problem happens when i try to connect with the server via Edge or IE. It freezes and time out on the client, but the server dont show me anything.. However, if i close the tab before it times out, the server spill a exception:
java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:65) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) at org.java_websocket.SSLSocketChannel2.close(SSLSocketChannel2.java:319) at org.java_websocket.WebSocketImpl.closeConnection(WebSocketImpl.java:492) at org.java_websocket.WebSocketImpl.closeConnection(WebSocketImpl.java:522) at org.java_websocket.server.WebSocketServer.handleIOException(WebSocketServer.java:494) at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:424) at java.lang.Thread.run(Thread.java:748)
I just cant make it work. Please help me again @marci4 =D
PS: My server is running on : 35.xxx.223.xxx:8283
The text was updated successfully, but these errors were encountered: