ipfs / ipfs/boxo

gateway: timeout error for / should not be about /_redirects file

Open
#496 0 comments 0 reactions 0 assignees View on GitHub
effort/hours help wanted kind/bug P2 topic/gateway
Dominant language
Go
Stars
316
Forks
163
Avg merge
4d 12h
Merged PRs (30d)
8

Description

This is cosmetic, but highly confusing for users:
When data cannot be found, the context timeout gets thrown from code related to `_redirect` lookup, and not the originally requested `/`.

> ![2023-10-25_16-44_1](https://github.com/ipfs/boxo/assets/157609/86057930-96aa-45d2-981a-f6fd05625737)

The fallback to `_redirect` should not happen when the error is timeout.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.