Hi this is my first time using soketi, and i'm running sail. I made a pusher app on the pusher website and i'm trying to make a chat.
I always get this error : WebSocket connection to 'wss://soketi:6001/app/app-key?protocol=7&client=js&version=4.3.1&flash=false' failed.
here's my .env
PUSHER_APP_ID=app-id
PUSHER_APP_KEY=app-key
PUSHER_APP_SECRET=app-secret
PUSHER_HOST=soketi
PUSHER_PORT=6001
PUSHER_SCHEME=http
PUSHER_APP_CLUSTER=eu```
here's my bootstrap.js
```window.Echo = new Echo({
broadcaster: 'pusher',
key: import.meta.env.VITE_PUSHER_APP_KEY,
cluster: import.meta.env.VITE_PUSHER_APP_CLUSTER ?? 'eu',
wsHost: import.meta.env.VITE_PUSHER_HOST ? import.meta.env.VITE_PUSHER_HOST : `127.0.0.1`,
//wsHost: `localhost`,
wsPort: import.meta.env.VITE_PUSHER_PORT ?? 6001,
wssPort: import.meta.env.VITE_PUSHER_PORT ?? 6001,
forceTLS: (import.meta.env.VITE_PUSHER_SCHEME ?? 'http') === 'http',
enabledTransports: ['ws', 'wss'],
forceTLS: false,
encrypted: true,
disableStats: true,
});```
if i try as host, localhost or 127.0.0.1 i get the same error.
if i try to send a message i get this error:
```Pusher error: cURL error 52: Empty reply from server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://soketi:9601/apps/app-id/events?auth_key=app-key&auth_timestamp=1707420501&auth_version=1.0&body_md5=e157b1ede56a457048297133d7dd4dcf&auth_signature=5836d9e3d15e4f5b0ce8b0a44b3a3272ba65550543f1f0a513b345173cff706f```
I have of course set app-key app-id and app-secret.
thank you!