rollbar / rollbar-php-laravel

Rollbar error monitoring integration for Laravel projects
https://docs.rollbar.com/docs/laravel
140 stars 39 forks source link

"Unable to send messages to Rollbar API. Produced response:" message before log item #71

Closed szekeresa closed 6 years ago

szekeresa commented 6 years ago

Hi!

I use Laravel 5.1 and rollbar-php-laravel v2.4.1.

"Unable to send messages to Rollbar API. Produced response:" message before log item... No response text, only this message.

I use other Laravel 5.1 project and rollbar-php-laravel v2.3.0 but no problem, only v2.4.1.

If "ROLLBAR_LEVEL=error" defined is .env AND run Log::error("test") is OK. If run Log::info("test") then in logfile: local.ERROR: Unable to send messages to Rollbar API. Produced response:

If "ROLLBAR_LEVEL" not defined in .env then Log::error("test") and Log::info("test") is OK!

jessewgibbs commented 6 years ago

Hey @szekeresa,

We'll take a look into this and get back to you as soon as we can.

jessewgibbs commented 6 years ago

@ArturMoczulski can you take a look at this?

clin407 commented 6 years ago

I'm getting similar issues as well. ROLLBAR_LEVEL=errorr but logging anything under that shows up as that message.

mrtimp commented 6 years ago

This doesn't look to have been merged to master yet?

ArturMoczulski commented 6 years ago

@mrtimp You're right. My bad. This has been pushed to branch laravel-5.5 which is mainline for rollbar/rollbar-php-laralve:v2.* supporting Laravel <= 5.5

Here is the link: https://github.com/rollbar/rollbar-php-laravel/tree/laravel-5.5

mrtimp commented 6 years ago

Thanks @ArturMoczulski :-)

szekeresa commented 6 years ago

Thanks @ArturMoczulski 👍

clin407 commented 6 years ago

I tried doing composer update and it's not still showing the new version? Is it possible to put it into a release?

szekeresa commented 6 years ago

@clin407 Change composer.json rollbar-laravel version to dev-laravel-5.5. "rollbar/rollbar-laravel": "dev-laravel-5.5",

ArturMoczulski commented 6 years ago

@clin407 I'll publish a new release as soon as it's ready

alariva commented 5 years ago

Had this same issue after upgrade to Laravel 5.7 with rollbar ^2.3.x, also 2.4.x. Didn't realize that there was a 3.x version of rollbar-php-laravel. Solved upon upgrade to 3.x.