You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems that WebSocketEventStream can only work with insecure http sockets. Please have a look at line 46: URI adjustedURI = (new URI(uri.getScheme() == "https" ? "wss" : "ws", uri.getSchemeSpecificPart(), uri.getFragment())).resolve("ws/" + token.getToken());
Despite the provided uri schema is HTTPS it fails direct comparison as it's String object reference
The text was updated successfully, but these errors were encountered:
@asxtray Actually, seems that there is no HTTPS implementation at all, as I could see, in this part of a project, if I am right by any chance, the ternary condition could be removed. Also, maybe constants could be introduced for better readability and as a good practice.
it seems that WebSocketEventStream can only work with insecure http sockets. Please have a look at line 46:
URI adjustedURI = (new URI(uri.getScheme() == "https" ? "wss" : "ws", uri.getSchemeSpecificPart(), uri.getFragment())).resolve("ws/" + token.getToken());
Despite the provided uri schema is HTTPS it fails direct comparison as it's String object reference
The text was updated successfully, but these errors were encountered: