You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO] *** Listening on default... [worker:702]
[INFO] default: rq_test_module.tasks.test_request_call_on_rq_job() (676c1945-9e05-4245-aeb2-65100cdb4169) [worker:875]
[WARNING] Moving job to FailedJobRegistry (Work-horse terminated unexpectedly; waitpid returned 11 (signal 11); ) [worker:1114]
I then started doing debugging, then I saw error encounters as soon as the job task tried executing the request call i.e. requests.get(url)
And if I remove the request call from the job, then it executed gracefully without any errors.
Signal 11 indicates a segmentation fault, I suspect something related to memory but not quite sure about it.
So anyone here encountered similar issue and workaround for this :)
The text was updated successfully, but these errors were encountered:
I think I found the cause of the request being not executed gracefully on rq. I bet it was due to **https://github.com/python/cpython/blob/main/Lib/urllib/request.py#L2619 not able to find that library. So I just skipped the way to reach there by setting NO_PROXY env to the URL I am trying to request.
I have defined the rq task on module
task.py
as:When I've offloaded task in another module as:
I am getting error as:
I then started doing debugging, then I saw error encounters as soon as the job task tried executing the request call i.e.
requests.get(url)
And if I remove the request call from the job, then it executed gracefully without any errors.
Signal 11
indicates a segmentation fault, I suspect something related to memory but not quite sure about it.So anyone here encountered similar issue and workaround for this :)
The text was updated successfully, but these errors were encountered: