Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow (and at times Error 504 Timeout) when used with Laravel-Jetstream-Inertia stack in web middleware group #26

Open
syntaxlexx opened this issue Apr 13, 2022 · 0 comments
Assignees

Comments

@syntaxlexx
Copy link

Describe the bug
When used in a Laravel Jetstream with the inertia stack, the page becomes slow and at times results to a timeout error once the middleware is registered under the 'web' group.

To Reproduce
Steps to reproduce the behavior:

  1. Install anfresh installation of laravel inertia (Jetstream)
  2. Install this package and configure kernel.php as instructed
  3. Refresh page. Slow page response and at times Error 504 Gateway Time-Out occurs
  4. Remove the impoort on the web middleware (thereby leaving it only on the api group)
  5. No timeout. Works as expected

Expected behavior
No error 504 when used with Laravel Inertia

Web (please complete the following information):

  • Browser chrome, safari
  • Package Version ^4.7
  • Laravel 9.x

Additional context
Add any other context about the problem here.

@ilvalerione ilvalerione self-assigned this Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants