Tomcat 7 Websockects through AJP not working. Any suggestions?
Asked Answered
B

1

2

Does anyone know if the Tomcat release 7.0.27 AJP Connecter can support http upgrade (websockets) if setting your protocol to the AjpNioProtocol. http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html#Connector_Comparison

I'm working with atmosphere, but even with a basic socket request, the client websocket closes. Atmo Error: Connection closed with no close frame being sent.

Blameless answered 10/5, 2012 at 14:55 Comment(0)
A
6

The AJP protocol does not support WebSocket. If you use HTTP rather than AJP with your reverse proxy it might work (depends on the proxy).

Adey answered 10/5, 2012 at 15:17 Comment(1)
Utter nonsense. As of Jan 2015, there is no support in any AJP implementation (including NIO) for WebSocket.Adey

© 2022 - 2024 — McMap. All rights reserved.