# WebSocket connection to 'wss://api.domain.com/parse/' failed:

**URL:** <https://community.parseplatform.org/t/websocket-connection-to-wss-api-domain-com-parse-failed/1789>\
**Category:** Parse Server 📡\
**Tags:** live-query\
**Created:** [June 30, 2021, 9:04am UTC](https://community.parseplatform.org/t/websocket-connection-to-wss-api-domain-com-parse-failed/1789 "2021-06-30T09:04:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![loooookiezxc](https://community.parseplatform.org/user_avatar/community.parseplatform.org/loooookiezxc/32/520_2.png) [@loooookiezxc](https://community.parseplatform.org/u/loooookiezxc)\
**Post date:** [June 30, 2021, 9:04am UTC](https://community.parseplatform.org/t/websocket-connection-to-wss-api-domain-com-parse-failed/1789/1 "2021-06-30T09:04:27Z")

</div>

Good day! It’s me again. I’m having trouble with my web-app project. Here is my Parse.Initialize block

`var Parse = require('parse');`  
`Parse.initialize("my-app-id");`  
`Parse.serverURL = 'https://api.domain.com/parse/'`

`let LiveQueryClient = Parse.LiveQueryClient;`  
` let client = new LiveQueryClient({`  
` applicationId: 'my-app-id',`  
` serverURL: 'wss://api.domain.com',`  
`});`

The project is currently live. But on the console of the browser, I am seeing a bunch of this log  
`WebSocket connection to 'wss://api.domain.com/parse/' failed .... LiveQueryClient.js:450 `

PS. The web socket is perfectly running on the mobile app.

Other Info  
3 Parse Server App Instances  
2 Load Balancers  
1 Live Query Server  
SSL Secured  
Web App Vue.js  
Mobile App Flutter

---

<div class="post-metadata">

**Author:** ![davimacedo](https://community.parseplatform.org/user_avatar/community.parseplatform.org/davimacedo/32/316_2.png) [@davimacedo](https://community.parseplatform.org/u/davimacedo)\
**Post date:** [June 30, 2021, 2:40pm UTC](https://community.parseplatform.org/t/websocket-connection-to-wss-api-domain-com-parse-failed/1789/2 "2021-06-30T14:40:42Z")

</div>

Is live query working in the client besides the error? If so, the client is probably loosing connection with the server time by time.
