req
req copied to clipboard
Mint.TransportError - socket closed
(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.