Support Article
Weblogic: Websockets are not supported
SA-37838
Summary
When user logs in to PRPC and turns on the HTTP trace (F12 on browser), user get 501 error from websocket request.
Error Messages
Request URL:ws://<server:port>/prweb/PRPushServlet/!@5c0943de69b9edf07bcd0443aaff2b19!?PZSRVRPSH=true&portalName=SPManager&X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.3.1-javascript&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&Content-Type=application/json&X-atmo-protocol=true
Request Method:GET
Status Code:501 Not Implemented
Response Headers
Date:Fri, 24 Mar 2017 15:08:43 GMT
Transfer-Encoding:chunked
X-Atmosphere-error:Websocket protocol not supported
X-Atmosphere-first-request:true
X-Atmosphere-tracking-id:270a730c-a139-4371-9183-b4274df66d9c
X-OPNET-Transaction-Trace:a2_4aba8a67-fc58-4a2b-bbd2-a5c47dec6366
Steps to Reproduce
- Log in to PRPC. Turn on HTTP trace (F12 on browser).
- Look for 501 error from websocket request:
X-Atmosphere-error:Websocket protocol not supported is observed in HTTP trace
Root Cause
PRPC does not support WebSockets on WebLogic at this time.
Resolution
When using WebLogic add the following Dynamic System Setting:
Owning Ruleset: Pega-Engine
Setting Purpose: prconfig/server-push/transport/default
Value: long-polling
The default value is "websocket,long-polling' when the DSS is not present. With this setting set PRPC will only use long-polling and will not try the websocket request.
Websocket will be supported on Weblogic in a future release.
Published May 24, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.