Subdomain websockets

Hey !

I can’t connect to websockets, is it because of my subdomain? https://app.website.com/ Error:
Ws.browser.js: 2251 WebSocket connection to 'wss://app.website.com/adonis-ws' failed: Error during WebSocket handshake: Unexpected response code: 500

Do you configure an nginx proxy for ws?

Thanks

1 Like

Hi @nikoola!

I saw you got it fixed in Discord, mind to write solution in here too? In case someone else has same problem they can find it from web search :yum:

In the config / socket.js file
Path: ‘/ ws’

I forgot the slash