ipfs/ipfs-companion

Firefox's new aggressive time out logic

Ouverte

#1 051 ouverte le 11 févr. 2022

 (2 commentaires) (1 réaction) (0 personne assignée)JavaScript (364 forks)batch import
P3area/firefoxexp/novicegood first issuehelp wanted

Métriques du dépôt

Stars
 (1 992 étoiles)
Métriques de merge PR
 (Merge moyen 53j 3h) (1 PR mergée en 30 j)

Description

Seems that Firefox (around version 96-97) changed somethign and is now way more aggresive when a gateway does not start returning response immediately.

For example, first load (empty ipfs repo) of http://dist.ipfs.io.ipns.localhost:8080/go-ipfs/v0.11.0 in Firefox 97 produces:

2022-02-11_19-09

Usually hitting F5 solves the issue, because by that time, the IPFS node already has blocks and can generate the response.

TODO

  • needs analysis (what changed, what is the trigger, is there anything we could do in companion or go-ipfs to avoid this annoyance?)

Guide contributeur