Cannot get to work with Laravel Valet #5
-
I configured my settings exactly how you describe it in your documentation but after about 3 page refreshes I get nothing but 504 Gateway Timeouts. The site is broken until I restart redis. Once its reset and I reload the page 3 times it goes back to 504 errors My nginx config looks like this for the valet site
As soon as I commented out What could I be doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi! If you need setup a persistent connection on the |
Beta Was this translation helpful? Give feedback.
-
here the same thing is happening! after reloading the page an average of 3 times it keeps trying to reconnect !! and it only works if I restart the application! this a Redis problem? I've done tests with both PHP-FPM and Laravel Octane! Congratulations on the package! it's very promising! |
Beta Was this translation helpful? Give feedback.
-
Hey @ezequidias. However I also use Valet and everything works fine, looks like not active Redis subscribers doesn't shooting down after page reload. Could you check if the problem disappears after running the ping command: php artisan sse:ping as a next step if the issue still persists, try to run: # for Mac
brew services restart redis
# for Linux
sudo service redis-server restart Let me know which results you will get 🤝 @brenjt Do you have the same issue? |
Beta Was this translation helpful? Give feedback.
Hey @ezequidias.
I really appreciate your kind words. Lets break out this issue 💪
However I also use Valet and everything works fine, looks like not active Redis subscribers doesn't shooting down after page reload.
Could you check if the problem disappears after running the ping command:
as a next step if the issue still persists, try to run:
Let me know which results you will get 🤝
@brenjt Do you have the same issue?