I have the same issue described here but in localhost this is my parse server config
...otherParams
liveQuery: {
classNames: ['Comment', '_User', '_Session'],
},
startLiveQueryServer: true,
liveQueryServerOptions: {
appId: config.APP_ID,
masterKey: config.MASTER_KEY,
serverURL: config.SERVER_URL,
logLevel: 'INFO',
},
In the client side here is how I try to connect
const client = new Parse.LiveQueryClient({
applicationId: 'appId',
serverURL: 'ws://127.0.0.1:8001/api/v1',
sessionToken: 'r:503260a5bd2141972cf5ec5f19b8c47b',
});
client.open();
client.on('error', err => {
console.log(err);
});
I always get the error of ‘Unexpected server response: 403’ I did check my configs are both the same on server and client but still get the same error.