lcf8381595's avatar

lcf8381595 liked a comment+100 XP

4mos ago

Hello everyone,

I can't (for some reason) make Laravel Reverb work at all in a local https site using Herd.

I keep getting the following error: app-D3IVc0-k.js:13 WebSocket connection to 'wss://localhost:8080/app/mhshzgno2mcgkvxlam9b?protocol=7&client=js&version=8.4.0-rc2&flash=false' failed:

I tried it with unsecured it worked fine with Arc, Firefox and Chrome but not Brave, I kept getting the same error.

The question, is there a specific setting needed to be made to make Reverb works on https:// and once I migrate it to production via forge would it work fine with https:

Thank you,

lcf8381595's avatar

lcf8381595 liked a comment+100 XP

5mos ago

I have a package for this that includes a lot of best practices such as rate limiting, expiration, invalidation after use, and locking the code to the requesters session.

https://github.com/benbjurstrom/otpz