munafio / chatify

Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.

Home Page:https://chatify.munafio.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Websocket not working

Isyraf98 opened this issue · comments

Hi. I try using websocket instead of pusher. But it not working.
Screen Shot 2024-04-05 at 11 23 52 AM

Below are my .env
`PUSHER_APP_ID=blanditiis # Any random string
PUSHER_APP_KEY=illo # Any random string
PUSHER_APP_SECRET=dolores # Any random string
PUSHER_HOST=127.0.0.1 # Server host
PUSHER_PORT=6001 # Server port
PUSHER_SCHEME=http # For SSL use 'https', otherwise use 'http'.
PUSHER_APP_CLUSTER=mt1
LARAVEL_WEBSOCKETS_PORT="${PUSHER_PORT}" # Laravel WS port

LARAVEL_WEBSOCKETS_SSL_LOCAL_PK= # Optional for using SSL.
LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT= # Optional for using SSL.`

do i need existing pusher app key?

@Isyraf98 you should refer to Laravel Websockets configuration then set your creds here