Comments (9)
@luke2m You were hitting a bug that got introduced with 0.1.33 and fixed in 0.1.34
from hydrogen-web.
fwiw, this is expected in the service worker and can show up in the logs like this.
from hydrogen-web.
I wonder if this can be caused by there being a network but CORS failing, (or even a non 2xx response?)
Seeing this:
The FetchEvent for "https://matrix.org/_matrix/client/r0/sync?since=...&timeout=30000&filter=..." resulted in a network error response: the promise was rejected.
sw.js:1 Uncaught (in promise) TypeError: Failed to fetch
matrix.org/_matrix/client/r0/sync?since=...&timeout=30000&filter=...:1 Failed to load resource: net::ERR_FAILED
from hydrogen-web.
Matthew saw this as well on Tuesday:
from hydrogen-web.
Wild ideas as to what could cause this that may or may not make sense:
- Unlikely: some usage of request outside of HomeServerApi, like for downloading attachments is causing this, and somehow it ends up in the promise for sync.
We should test while being offline (simulated, real) and see if we can reproduce.
from hydrogen-web.
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)
Sync failed because of TypeError: null is not an object (evaluating 'this._roomEncryption.getEventIdsForMissingKey')
will test on Linux tomorrow
from hydrogen-web.
No issue on Gnome Web 3.38.2 and Chrome 88.0.4324.182 (Both on Arch Linux x86_64)
from hydrogen-web.
just ran into this again on chrome 88, the status bar in the app said Sync failed because of TypeError: Failed to fetch
, and the logs showed the same:
{
"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
from hydrogen-web.
Just hit this, it happened just after the homeserver was restarted.
from hydrogen-web.
Related Issues (20)
- Expose all viewModels from web to SDK lib.ts to be able to override the chat display HOT 1
- Implement message search in Hydrogen
- Novice nerd nonsense
- Empty JSON response disables sync until Hydrogen is manually reloaded HOT 1
- Fix Right-To-Left text
- FilteredMap does no always emit when applying a new filter
- Fix styling of errors shown in timeline
- Make it possible to disable uploading OTK when starting Hydrogen using an access-token
- Something went wrong: readTxn failed.
- Please support swipe to right to go back to roomlist
- How do I change the language? HOT 1
- UI to restore dehydrated device is broken
- "n.body is not iterable" for some messages.
- olm-3.2.14.tgz Doesn't seem to exist HOT 6
- Please allow to paste images HOT 1
- The message sent by the web end cannot be decrypted by the Android client
- Implement a ReadOnlyRoomViewModel for SDK usages
- Can't select second room if I have multiple ones named the same
- Reply links don't open a new tab/window HOT 2
- more compact box for nick event HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydrogen-web.