census-instrumentation / opencensus-php

A stats collection and distributed tracing framework
Apache License 2.0
202 stars 83 forks source link

Laravel::load() and PDO::load() error #234

Open BadChoice opened 5 years ago

BadChoice commented 5 years ago

Hi, when I call

Laravel::load() or PDO::load() nginx throws a 502 bad gateway error without any further information

however Mysql::load() does not throw this error..

Is there any way to identify the problem? the extension is loaded as it says the phpinfo page

Thank you!

iamacarpet commented 5 years ago

@BadChoice this usually implies a segfault

Just logged one myself, #239

iamacarpet commented 5 years ago

I should add, we are using both Laravel::load() and PDO::load() as some of the defaults in our library https://github.com/a1comms/GaeSupportlaravel

They both run for us without issue on App Engine Standard (PHP 7.2) in europe-west1, but we are having trouble with trying to add some custom tracing classes ourselves.

If you are on a later version than what is deployed to App Engine, perhaps there is a regression that is getting worse?

BadChoice commented 5 years ago

Actually we are not using app engine but a simple compute engine with nginex and php installed with laravel forge I'm not sure if this does help you?