How to solve 403 error in LiveQuery - Parse Server stack

Keywords: Parse - AWS - How to - Application configuration

In my current config.json file I am configuring livequery. But every time I try to connect, I get the following error " failed: Error during WebSocket handshake: Unexpected response code: 403" . I read the javascript config files in the lib folder (parse stack config), but everything looks fine.

“appId”: “xxxxx”,
“masterKey”: “xxxxxxx6”,
“appName”: “parse-server”,
“port”: “1337”,
“host”: “”,
“serverURL”: “”,
“databaseURI”: “xxxxxx”,
“startLiveQueryServer”: “true”,
“liveQuery”: {
“classNames”: [ “orders”]

I also tried setting the liveQueryServerOptions object in the config object.

“liveQueryServerOptions”: {.
“appId”: “xxxx”,
“serverURL”: “wss://”
“masterKey”: “xxxxx”

but anyway, in both forms, I get the same error.
Should I add another configuration to my config.json file?
Should I add an additional configuration for apache web sockets?

Thanks to anyone who can help me.

Hi @davidrb04,

Please take a look at this previous documentation:


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.