Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Log in to PRPC. Turn on HTTP trace (F12 on browser).
  2. 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

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice