Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thesimons's avatar

Problem with Herd + Laravel Reverb "WebSocket is closed before the connection is established."

Hello,

I have the following issue with Laravel Reverb and Herd

WebSocket connection to 'wss://reverb.test:8082/app/td4xfrjqcsq38pn8xuve?protocol=7&client=js&version=8.4.0&flash=false' failed: WebSocket is closed before the connection is established.

reverb.test is the dev test domain, 8082 is the port I'm using for Reverb in Herd. The site has HTTPS active.

Looking for it on Google I found that it's a very common issue, however I couldn't find a proper answer.

I'm using Laravel 12.

Thanks, Simon

0 likes
1 reply

Please or to participate in this conversation.