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

Swoole breaks on file-upload #321

Closed
maher1337 opened this issue Jun 11, 2021 · 3 comments
Closed

Swoole breaks on file-upload #321

maher1337 opened this issue Jun 11, 2021 · 3 comments

Comments

@maher1337
Copy link

  • Octane Version: 1.0.3
  • Laravel Version: 8.45.1
  • PHP Version: 8.0.5
  • Server & Version: Swoole / RoadRunner Swoole
  • Database Driver & Version: mysql

Description:

It seems like when a POST request to an API route is sent with files included (array of files) the swoole server breaks and doesn't even show logs of receiving the request.
Then it would timeout.

Steps To Reproduce:

Create an API route.
Upload files to the route and the the server will break.

@driesvints
Copy link
Member

Hey there,

Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue.

Thanks!

@barryvdh
Copy link
Contributor

Maybe fixed with #317 already?

@maher1337
Copy link
Author

maher1337 commented Jun 11, 2021

Yes thanks @barryvdh it was singleton issues from firebase kreait, they need to update to support Octane.
The solution was to create asynchronous background jobs to finish the uploads on receive to use the regular PHP CLI

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

3 participants