Can I use WebSocket with Apache+Tomcat?

I am using Bitnami’s Tomcat AWS AMI which includes Apache httpd as a proxy web server via AJP. I am not sure if I can use WebSocket connections with this stack.

Whenever I start tomcat I see this in the logs:

WebSocket handshake failure; nested exception is java.lang.UnsupportedOperationException: HTTP upgrade is not supported by the AJP protocol

I haven’t changed any configuration files. Just deployed my app in webapps folder.

Hi @bredman,

Thank you for using Bitnami, could you please check this community case?

Let us know if this information is useful for you.

Regards,
Jota

Yes, I found that on google after posting my question.
It did solve my problem.
Thank you.

Hi @bredman,

Thank you for letting us know. I’m glad to hear that :slight_smile:

Regards,
Jota