Open rcthakuri opened 10 months ago
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 guess, we can close this, now.
I had this issue to, and found a similar explanation to yours. So simply setting export NO_PROXY=*
resolved my issue.
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 :)