Skip to content

FrakenPHP crashes randomly #801

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

Closed
abishekrsrikaanth opened this issue Dec 29, 2023 · 2 comments
Closed

FrakenPHP crashes randomly #801

abishekrsrikaanth opened this issue Dec 29, 2023 · 2 comments

Comments

@abishekrsrikaanth
Copy link

Octane Version

2.2.6

Laravel Version

10.39.0

PHP Version

8.2

What server type are you using?

FrankenPHP

Server Version

1.0.2

Database Driver & Version

MySQL 8

Description

Started using Laravel Octane with FrankenPHP on a new Laravel Project. The server keeps abruptly crashing automatically. Not quite sure why this is happening. I started using the debug parameter after going through another issue on this repo and started capturing the debug logs.

Sometimes the server crashes when I make code changes. What I have noticed is sometimes it crashes if I make changes to .env file or add a new file to the project. But there are times the server crashes abruptly when I am browsing the app on the browser.

Here is the recent log when I started the server and it crashed as soon as it started.

php artisan octane:start --port=8011 --log-level=debug --watch

{"level":"info","ts":1703863912.924263,"msg":"using provided configuration","config_file":"/Users/abisheksrikaanth/projects/client_name/v2/app_name/vendor/laravel/octane/src/Commands/stubs/Caddyfile","config_adapter":""}
{"level":"info","ts":1703863912.92533,"logger":"admin","msg":"admin endpoint started","address":"localhost:2030","enforce_origin":false,"origins":["//localhost:2030","//[::1]:2030","//127.0.0.1:2030"]}
{"level":"info","ts":1703863912.925426,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0x14000419e80"}

Please let me know if you need any additional information that can help debug the issue. I will keep adding more logs here everytime the server crashes for your help.

Steps To Reproduce

php artisan octane:start --port=8011 --log-level=debug --watch
@nunomaduro
Copy link
Member

Duplicated of #791.

@abishekrsrikaanth
Copy link
Author

@nunomaduro the linked issue was only specific to high loads, thats why I created this issue. Do I report the logs on the other one?

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