Created on 06-12-2024 10:43 AM - edited 06-12-2024 10:46 AM
Hello,
I have this error when I connect a websocket client (tried 3 different ones) :
2024-06-12 19:28:10,731 WARN [qtp293746312-1015] o.a.n.w.jetty.RoutingWebSocketListener Unhandled Error: Endpoint
org.apache.nifi.websocket.jetty.RoutingWebSocketListener : org.eclipse.jetty.websocket.api.exceptions.CloseException:
org.eclipse.jetty.websocket.core.exception.WebSocketException: RoutingWebSocketListener OPEN method error: null
I see connection successful on the client and then it gets disconnected immediately.
Client and server are on the same machine, url is ws://127.0.0.1:8000/test (or any hostname, port and path). I suspected a firewall issue but Python's websockets server is fine.
Thanks for your time.
Created 06-12-2024 11:57 AM
@Bibiprog Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our NiFi experts @MattWho @steven-matison who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
Regards,
Diana Torres,Created on 06-13-2024 12:41 AM - edited 06-13-2024 12:51 AM
More details about the platform : Windows, nifi 2.0.0-M3
Wireshark gives me that :
Thank you for having tagged experts, @DianaTorres
Created 06-19-2024 01:49 AM
Tried on 2.0.0-M1, no problem. It looks there is a problem with Jetty v12 introduced at M2.
Until potential bug fix, additional conf or workaround, I consider downgrading to M1.
Thanks