Laravel Reverb in Production #50675
Replies: 6 comments 12 replies
-
In Env
In config/reverb.php
In the project nginx server config
It is working for me. |
Beta Was this translation helpful? Give feedback.
-
I have the same type of issue. nothing was helpful. implementing web-sockets in production is like finding water in mars. All the possible ways i have tried.
if some one gives a proper setup or guide from start to end would help for production. in local it took only few minutes to implement. this is the same thing happened before launch of reverb. waiting nearly 6 months to implement in production |
Beta Was this translation helpful? Give feedback.
-
I came across to this issue when I needed to setup reverb on VPS for myself. Add the following server tag in your nginx configuration file.
This is my
In my case port 8080 was used by another process and I started reverb on port 8082 and I am listening on nginx at port 8081 which passes the socket connection to reverb. [Update]Also, Make sure that incoming port Check if it is opened
Open port 8080
|
Beta Was this translation helpful? Give feedback.
-
Here's my working configuration for Laravel Forge:
|
Beta Was this translation helpful? Give feedback.
-
i am running forge - oddly, i didnt have to edit the nginx files ##env VITE_REVERB_APP_KEY="${REVERB_APP_KEY}" ##CHECK PORTS ARE OPEN ##OPEN THEM IF NOT |
Beta Was this translation helpful? Give feedback.
-
In my case everything seems to be fine in the production server. running Nginx in port 9000
.env
revert.php
still getting the same error Laravel Log:
|
Beta Was this translation helpful? Give feedback.
-
I have created a sample laravel 11 project and in which I have configured all the requirements for the laravel reverb.
In local machine/setup reverb is working fine. when I deployed in production server for testing I am getting the bellow error.
None of the above helped me. Kindly help me on this.
.env
config/reverb.php
Beta Was this translation helpful? Give feedback.
All reactions