IPFS Occasional Timeouts

We have been using IPFS for a long time and has generally been fantastic, however, we have intermittent issues with slow response times / Gateway Timeouts.

Below is an example:

curl “https://ipfs.infura.io:5001/api/v0/add?pin=false^&stream-channels=true” -H “authority: ipfs.infura.io:5001” -H “origin: https://[revoked]” -H “user-agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Mobile Safari/537.36” -H “content-type: multipart/form-data; boundary=--------------------------086208309423868830876843” -H “accept: /” -H “sec-fetch-site: cross-site” -H “sec-fetch-mode: cors” -H “referer: https://[revoked]” -H “accept-encoding: gzip, deflate, br” -H “accept-language: en-GB,en-US;q=0.9,en;q=0.8” --data-binary ^"----------------------------086208309423868830876843^

Content-Disposition: file; filename=^^"^^"^

Content-Type: application/octet-stream^

^

^{^^“date^^”:1576069240099,^^“reason^^”:^^“EXAMPLE^^”,^^“miscellaneous^^”:^{^^“builderId^^”:^^“EXAMPLE^^”^}^}^

This is an intermittent issue, however, recently we have been experiencing EXTREMELY slow response times (20+ seconds) from infura IPFS + occassionally timing out.

Any advice here?

Cheers

Hi @AdamDowson welcome to our community!

Looking at a trace of this request it appears that the latency is occurring inside the go-ipfs client. We are actively working with the team at Protocol Labs to add more visibility into the operation so we can help improve the performance.

Unfortunately this information does not help your current problem. Can you describe in a bit more detail what you’re trying to do and possibly we could evaluate and provide some options that may help?

Hey @AdamDowson

We have identified an issue with our nodes, let us know it you still have this problem.

1 Like