Websocket Error: "failure: Unexpected status line: ACK"

Either this:
interfaces.webSocket.connect("https://${ip}:12345", ignoreSSLIssues: "true")

Or this:
interfaces.webSocket.connect("wss://${ip}:12345", ignoreSSLIssues: "true" )

causes this:

webSocketStatus(String status) :
failure: Unexpected status line: ACK

What "status line" is this referring to? I can connect to the server and receive messages just fine using curl. And I don't see any "ACK" coming from the server when using curl.

Any ideas?

Sorry if I'm asking the obvious, but I assume the device you're connecting to does indeed use websockets and not just HTTP(S)? The behavior you're seeing plus the protocol in the address are what have me wondering. There are other methods if you're handling HTTP.

It's an undocumented interface, but it's bi directional so I'm pretty sure it is a websocket.

Using curl, the connection stays open indefinitely and it receives the expected messages.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.