-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mint.TransportError - socket closed #312
Comments
I can quite easily replicate this issue. Just reload the module that makes a |
For anyone running into this issue, please see sneako/finch#273 (comment), you can test it by setting Finch dependency to: {:finch, github: "keathley/finch", branch: "handle-idle-connections", override: true} |
This is still happening very frequently. I'm calling Req.post from Oban jobs and it happens quite a lot.
|
I have the same issue, I have a lot of logs with this error message:
does that mean that the request failed and it is going to retry it? or that it failed completely? |
It means the the request will be retried. |
(Mint.TransportError) socket closed\\n (req 0.4.8) lib/req.ex:1029: Req.request!/
It's quite hard to find a repro for this bug it's frequent enough that it shows up regularly on my Oban jobs and even when running code in
iex -S mix phx.server
. To fix I just need to re-run it, or let the Oban job retry.Any ideas why this would happen so frequently? Again, I appreciate it's hard to debug without more repro steps but happy to figure out how to find that repro case!
Urls where this happens:
OpenAI's API, HowLongtoBeat's API, Target's RedSky API.
The text was updated successfully, but these errors were encountered: