iroh icon indicating copy to clipboard operation
iroh copied to clipboard

responses from racing gateways should error out immediately, warn user they should consider removing the gateway

Open b5 opened this issue 3 years ago • 1 comments

We should do this & demo this. Users need to know front & center if a gateway ever provides an invalid response. on the HTTP gateway, this should be a rendered HTML template with advice that says "you should consider removing X from the list of gateways you fetch content" and provide a link to instructions for editing their config

b5 avatar Oct 23 '22 14:10 b5

You mean an invalid 200 response? You can get transient 5XX with some html content ("OpenResty error" or similar) from eg. dweb.link when it's overloaded, but it's not a reason to fully ban it.

fabricedesre avatar Oct 23 '22 15:10 fabricedesre

Yeah, I started playing with this, and there are just too many situations where the hash won't match for this to be a tenable solution. Closing as not-doing

b5 avatar Oct 28 '22 23:10 b5