Websocket Connections Timeout/Hang When Sent Through Apache 2.4 WLS 12c Plugin
Last updated on FEBRUARY 15, 2017
Applies to:Oracle WebLogic Server - Version 188.8.131.52.0 to 184.108.40.206.0 [Release 12c]
Information in this document applies to any platform.
WebSocket connections timeout/hang when sent through Apache WebLogic Plugin, but works directly on WLS.
In the process of testing functionality that uses WebSSockets with WebLogic 12c:
- Weserver is a WebLogic 12.1.3 server. Requests going directly to this server work flawlessly.
WebSocket connections are created and used according to browser development tools. They remain open and send and receive data without issue.
- When attempting to send the same Webocket connections through an Apache 2.4.25 instance running the latest WebLogic Apache 12c Plugin to the same WebLogic instance, the connection is created, but sending and receiving of data hangs after just some data is sent and received.
The WebSocket library in use eventually gives up and closes the WebSocket connection in the browser. Regular HTTP requests are fine.
The errors below can be seen in Apache error_log:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms