Open matbos opened 7 years ago
hm, I wonder if this is related to https://github.com/deepstreamIO/deepstream.io-client-java/issues/104 @yasserf @AlexBHarley thoughts?
It doesn't seem to be. I just tested and while it blocks, my CPU doesn't go through the roof
Does the server receive the connection / print out anything with debug logs when you connect with a WSS connection?
When I try to connect to the server from java client, application hangs and the following exception gets printed in the console:
Looks like it keeps on waiting for the countdown latch in this line but it never gets decremented. It does not matter if I remove authorization data from the login request, it still occurs.
What is weird is when I connect to the very same server with JavaScript client, everything works as expected. When WSS is disabled the client connects just fine but since JS client connects without any problem(with WSS enabled) I rule out the possibility that the WSS is poorly configured. Did anyone else encounter this behavior?
Below is the code I use to setup a connection:
Using java client with version 2.0.4 and Linux Deepstream server 2.1.3.