B4J Question Web socket client SSL can't connect

EvgenyB4A

Active Member
Licensed User
Longtime User
I have a program that works fine with non secure link to server.
When I try to connect to wss link the connection process lasts about 1 minute and then throws following:

org.eclipse.jetty.websocket.api.UpgradeException: 0 null ....
''''''''''''''''''''
'''''''''''''''''''
WebSocket Closed: 0 null


I can succeed to connect to the same link with BrowserWebSocket Clent extension.
 
Assuming everything was the same on each attempt, the fact you got a connection OK twice would suggest to me that your connection details & certificate are OK.

Try the suggestions from @OliverA and @Erel in posts #2 & #3 of the thread I linked to.


Updating to the latest version can't harm as well.
The suggestions you mentioned relied to server implementation as I got.
Maybe the problem in timeout?
How to increase timeout value for connection?
 
Upvote 0
Back
Top