Closed boris-ait closed 4 years ago
That's strange, it means that the middleware is executed twice. Do you know if you have any specific configuration that could make a ServiceProvider to be registered twice?
+Ash. It's related to errors in web-app-api with apm agent. Can you please check below question?
On Wed, Mar 25, 2020, 14:44 Arkaitz Garro notifications@github.com wrote:
That's strange, it means that the middleware is executed twice. Do you know if you have any specific configuration that could make a ServiceProvider to be registered twice?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arkaitzgarro/elastic-apm-laravel/issues/39#issuecomment-603818167, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANEHYO2FJI36BAIE47V26FDRJH4DNANCNFSM4LTLIA2Q .
@boris-ait Upon further review, I expect this is an issue with SwooleTW re-registering the service provider each time a new request is made. I'm trying some swoole options which can retain the registration throughout the lifecycle of the swoole worker, which I expect will resolve it.
Hi I'm trying to use that apm agent for our php laravel project php: "^7.3" laravel/framework: 5.6.* apm server: 7.6.0
I'm getting below errors in the application log:
Can you please advise?