Pin context timing out too soon #421
Labels
exp/novice
Someone with a little familiarity can pick up
kind/bug
A bug in existing code (including security flaws)
P1
High: Likely tackled by core team if no one steps up
I have noticed that when I do
recover
on a pin, the state soon becomes:> Peer QmPDJG7Lw7b7QuyR5MtTTHToewfRcAWWBN6Nw58wcog8uW : ERROR | net/http: request canceled (Client.Timeout exceeded while reading body)
Instead of just stay
pinning
(for at least 24h, which is the PinTimeout set).I am not sure if this affects all pins, or why. The Client.Timeout should not be exceeded so soon. It's either not picked correctly from the config section, or something weird is going on. I can't see where upon a preliminary check.We set IPFSRequestTimeout as a general
Timeout
propertly for the http client in theipfsconn
. This makes all requests timeout after 5 minutes (including pins and unpins, which should have their own, longer timeouts).The text was updated successfully, but these errors were encountered: