Skip to content
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

WebSocket connection error: Handshake status 200 OK #43

Open
vinothkumarfenfeo opened this issue Mar 22, 2024 · 0 comments
Open

WebSocket connection error: Handshake status 200 OK #43

vinothkumarfenfeo opened this issue Mar 22, 2024 · 0 comments

Comments

@vinothkumarfenfeo
Copy link

Our WebSocket client developed in Python Version python3 connects to our internal WebSocket server using ://wss protocol and we are able to exchange data via WebSocket. Works well.
However, when our WebSocket client is connecting to our internal WebSocket server (or) external WebSocket server using ://ws protocol, the handshake exceptions. The error that we receive:

2024-03-11 18:19:12,166 [INFO] # connectWS Exception.. wsConnect count
2024-03-11 18:19:12,166 [ERROR] Try: 4, ConnectWs :Handshake status 200 OK

Code Snippet that initiates the WebSocket connection:
ws = websocket.create_connection(configFile['WebSocketBackend'])

The URL of the WebSocket server is retrieved from the configfile. Details of these can be provided upon the engagement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant