Open perlun opened 9 years ago
Hi, @perlun.
Which version of gem do you use?
iron_mq (5.0.1)
Would it be better with bleeding edge (i.e. master
from GitHub)?
Strange there is no HTTP error code...
This problem is unfortunately still active, with long-running IronMQ polling:
2015-01-27T18:11:52.1217063Z ERROR [2015-01-27 19:11:52.121] DeploymentWorker: Exception occurred:
2015-01-27T18:11:52.1217063Z ERROR [2015-01-27 19:11:52.121] DeploymentWorker: Caught Rest::Wrappers::RestClientExceptionWrapper: HTTP Error
2015-01-27T19:50:34.2220423Z ERROR [2015-01-27 20:50:34.222] DeploymentWorker: Exception occurred:
2015-01-27T19:50:34.2220423Z ERROR [2015-01-27 20:50:34.222] DeploymentWorker: Caught Rest::Wrappers::RestClientExceptionWrapper: HTTP Error
Any ideas/suggestions?
@perlun do you using IronMQ v3 or v2 API?
No idea, so I assume v2? I use the default settings AFAIK.
I see in the log you posted above, that errors happen rare (1h40m in the example). Could you please check in your log how often it happens? Are errors like "service unreachable" happen nearby in time?
Hi,
Sometimes, our code runs into the exception noted above. Any ideas about what could be causing this? The code is basically something along these lines:
The stack trace is as below:
Any suggestions or ideas? This makes the thread crash, and no more messages gets processed. I guess I could make it slightly more resilient to this, but are there any other good options also?