Issue with Listening to Laravel Reverb WebSocket Events in Postman #53521
Unanswered
Emoumo-coder
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I am also facing the same issue. I tried various configurations, but nothing worked. Did you find a solution? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Laravel Team,
I'm currently using Laravel Reverb for real-time WebSocket events in my application, following all steps outlined in the official documentation. However, I’m encountering an issue:
When I connect to the WebSocket via the browser using Laravel Echo, events are received as expected. However, using Postman's WebSocket client with the same Reverb WebSocket URL (
ws://localhost:8080/app/{reverb_api_key}
), the connection establishes successfully, but no events are received when messages are dispatched.Setup Details
REVERB_APP_ID
,REVERB_APP_KEY
, andREVERB_APP_SECRET
are all set correctly in the.env
file./app
as per the documentation.ws://localhost:8080/app/{reverb_api_key}
(works with Laravel Echo).ws://localhost:8080/app/{reverb_api_key}
(connects but does not receive events).Observed Behavior
It seems that the Laravel Echo client might be handling Reverb’s WebSocket events differently than Postman’s WebSocket implementation. Could this be an issue with Reverb’s handling of WebSocket events outside Laravel Echo, or is there additional configuration needed when working with non-browser clients like Postman?
Any guidance or clarification on using Reverb WebSocket with other WebSocket clients would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions