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

najeeb-anwari's avatar

Laravel Reverb over https in laragon

Hello everyone,

I'm encountering an issue with integrating Laravel Reverb WebSocket into my project with SSL enabled. Here's a brief overview of my setup:

I'm using Laravel Reverb for WebSocket functionality in my Laravel application. I've enabled SSL for my Laravel project and configured it to use HTTPS in the .env file. I've set up my project to be hosted on chat.test with port 8080 for Reverb WebSocket functionality. Despite these configurations, I'm facing difficulties getting Reverb WebSocket to work over HTTPS. It seems like Reverb doesn't function properly in HTTPS environments.

I've tried various troubleshooting steps, including checking my SSL certificate configuration, ensuring correct WebSocket server settings, and reviewing Laravel Reverb documentation, but haven't found a solution yet.

Any suggestions or insights on how to resolve this issue would be greatly appreciated. Thank you in advance for your help!

Best regards, Najeeb Anwari

0 likes
9 replies
codenameryuu's avatar

i got the solution. just disable the ssl on laragon and change REVERB_SCHEME to http. it works for me

Ben Taylor's avatar

@codenameryuu yes, I ended up doing this, but am not content with the solution, as it isn't a solution; Just a cop out. I still want to use https with Laragon

development@placing-me.com's avatar

Any new solutions or input to this issue? I am going through the exact same problems with laragon and no solution in sight for ssl. Going for http instead of https is not an option at all

Please or to participate in this conversation.