nicolasecm
HOBBYOP
5 months ago
When I created a Sidekiq service, it worked fine, but now I get this error: Net::OpenTimeout: execution expired, and I don't understand why
2 Replies
colinrm000
HOBBY
5 months ago
In my experience, OpenTimeout means a TCP connection couldn’t be opened in time. In Sidekiq this is almost always either (1) Redis connectivity/timeouts, or (2) your job calling an external HTTP API that’s slow/unreachable. Identify the host from the stacktrace, then fix Redis config or trying adding HTTP timeouts/retries! 
I have a proyect with ruby on rails and a worker with sidekiq, but the problem its i have this error Net::OpenTimeout and ERROR: Net::OpenTimeout - execution expired