trezor / trezor-suite

Trezor Suite Monorepo
https://trezor.io/trezor-suite
Other
724 stars 251 forks source link

TypeError: Failed to fetch #4629

Open sentry-io[bot] opened 2 years ago

sentry-io[bot] commented 2 years ago

Check if analytics URL could be too long (413)

Sentry Issue: TREZOR-SUITE-2RQ

TypeError: Failed to fetch
  at None (/web/js/171.d0d72739.js:2:36238)
  at None (/web/js/2143.d5640e9d.js:50:12882)
  at None (/web/js/171.d0d72739.js:2:2693890)
  at Object.dispatch (/web/js/171.d0d72739.js:2:2700090)
  at None (/web/js/2143.d5640e9d.js:1:201771)
...
(22 additional frame(s) were not displayed)
tomasklim commented 2 years ago

Check if analytics URL could be too long (413)

We have a sufficient reserve, we can extend the suite-ready event 10 times and it will still be okay.

tomasklim commented 2 years ago

Note: It has nothing to do with Tor (in sentry it shows that it happens in (suite/src/support/suite/Tor) component. We just manipulate with fetch in this component. window.fetch = isTor ? torFetch : baseFetch;

matejkriz commented 2 years ago

"Failed to fetch" added to inbound filters to save quota https://sentry.io/settings/satoshilabs/projects/trezor-suite/filters/data-filters/