Open
Description
Description:
Visiting the /messages
tab causes the entire page to break with the following error:
Something went wrong.
Error: Cannot read properties of undefined (reading 'id')
Stack trace:
TypeError: Cannot read properties of undefined (reading 'id')
at https://snort.social/assets/index-C2fWcOW-.js:3083:12582
at Array.filter (<anonymous>)
...
This seems to occur during a .filter()
operation, likely on a message-related array where one or more elements are undefined
or missing an id
.
To Reproduce:
- Open Snort web client (I also deleted the site settings/cache)
- Login with
nsec
- Navigate to
https://snort.social/messages
- Observe crash
Expected behavior:
The messages page should load correctly or gracefully handle invalid data.
Environment:
- OS: Ubuntu 24.04 LTS
- Browser: Google Chrome (latest stable)
And the main page sometimes would throw the same error or won't load:
The same in Incognito browser mode, maybe this issue is coming from some relays that aren't enabling CORS or are down?
Thanks for your work on Snort!
Metadata
Metadata
Assignees
Labels
No labels