Websocket error - Parse live sync

We recently moved from Cloudfare to Akamai and started seeing below error -

ParseLiveQuery: WebSocket did disconnect with error: Optional(Starscream.WSError(type: Starscream.ErrorType.upgradeError, message: "Invalid HTTP upgrade", code: 403)

Websockets are enabled in Akamai. Any idea what else could be causing this error?

Here is my environment details


  • Parse Server version: 4.3.0
  • Operating system: Ubuntu 18.04
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Heroku


  • System (MongoDB or Postgres): MongoDB
  • Database version: 4.4.13
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): MongoDB Atlas


  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): iOS
  • SDK version: ParseLiveQuery 2.7.2