-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync failed because of TypeError: Failed to fetch #52
Comments
fwiw, this is expected in the service worker and can show up in the logs like this. |
I wonder if this can be caused by there being a network but CORS failing, (or even a non 2xx response?) Seeing this:
|
Wild ideas as to what could cause this that may or may not make sense:
We should test while being offline (simulated, real) and see if we can reproduce. |
I have this on iOS safari 14, it shows up in a green bar at the top of the screen. (Not sure if this helps or even is related) |
No issue on Gnome Web 3.38.2 and Chrome 88.0.4324.182 (Both on Arch Linux x86_64) |
just ran into this again on chrome 88, the status bar in the app said {
"s": 0,
"d": 659,
"v": {
"t": "network",
"url": "https://matrix.org/_matrix/client/r0/sync?since=m1881256857~1.1881256861_redacted&timeout=30000&filter=5",
"method": "GET"
},
"l": 6,
"e": {
"stack": "TypeError: Failed to fetch",
"name": "TypeError",
"message": "Failed to fetch"
}
} I'm not sure if the server actually went offline as the client had stopped syncing for at least 30 min |
Just hit this, it happened just after the homeserver was restarted. |
should have been converted to a ConnectionError?
This is in Chromium Version 83.0.4103.116 (Developer Build) Fedora Project (64-bit)
The text was updated successfully, but these errors were encountered: