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

Problem when running with octane #453

Open
ttrig opened this issue Sep 2, 2021 · 12 comments
Open

Problem when running with octane #453

ttrig opened this issue Sep 2, 2021 · 12 comments
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature

Comments

@ttrig
Copy link

ttrig commented Sep 2, 2021

Logs are not sent when running my application with octane, it works when serving it "normally".

If i add bugsnag to the octane.warm configuration and add a listener to octane.listeners."RequestTerminated" that runs Bugsnag::flush(), it works. Is there a (better) way of using this lib with octane?

Steps to reproduce

php artisan octane:start
Log something with the bugsnag driver/channel.

Environment

  • Bugsnag version: 2.22
  • PHP version: 8.0
  • Composer version: 2
  • Laravel version: 8.58
@luke-belton
Copy link
Member

Hi @ttrig

Bugsnag does not yet fully support high-performance PHP servers like Swoole & RoadRunner of which your Octane project presumably deploys? This is something that's on our roadmap to support in the future and I'll let you know here of any updates!

@luke-belton luke-belton added backlog We hope to fix this feature/bug in the future feature request Request for a new feature labels Sep 3, 2021
@TwilightDuck
Copy link

Has there been any update on this?

@exzachlyvv
Copy link

@NickJorens I've successfully worked around this by applying this same code changes that are in @ttrig's PR

@johnkiely1
Copy link
Member

Hi @NickJorens,
No updates at the moment I'm afraid, this is still on our backlog but have not gotten around to working on it yet. We will post here as soon as there are further updates to share.

@vonec
Copy link

vonec commented Nov 2, 2022

any updates on this ??

@luke-belton
Copy link
Member

Hi @vonec - no updates to share at this stage, our engineering team have been busy working on other priorities. As per comments above, we'll update this thread when there's any news 👍

@ruelluna
Copy link

Came across this problem in my laravel sail setup using Octane Swoole. Hope the team find a cure :D

@indigoram89
Copy link

I have the same issue today, if no solution we will move to another service like Sentry or Laravel Flare

@jackwh
Copy link

jackwh commented Mar 2, 2024

@luke-belton Octane has been available for 3 years now... Can we please get this addressed? A workaround suggested in an earlier comment seems very simple to integrate. Perhaps at the same time as Laravel 11 support in #532 ? Thank you 🙏

@Sammyjo20
Copy link

@luke-belton Any further updates on this? I've installed Bugsnag in a recent project only to find that none of my exceptions are being reported in BugSnag. It'll be great to get support for Octane and there is even a workaround mentioned which could be used to inspire a PR.

@indigoram89
Copy link

I moved to Sentry and it works great with Octane.

@luke-belton
Copy link
Member

Hi everyone, thanks for your continued interested in this. We are expecting to work on support for Lavavel Octane during Q3 - we'll update this thread when that gets released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

10 participants