How to fix 504 gateway timeout openresty in ipfs

I will try change gateway (ex.,, but not work, work in first time but I try again, It is gateway timeout


We encountered similar issues when a gateway needs to take sometime to lookup the DHT. This is a particular problem for chrome which enforces a timeout if it does not receive anything from the server. Our solution is to continuously respond to client with http code StatusProcessing so client knows it needs to wait instead of timing out. We do enforce a hard timeout of 10mins on request though. Give it a shot on

1 Like