8000 Error: Cannot read properties of undefined (reading 'id') on /messages page · Issue #601 · v0l/snort · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Error: Cannot read properties of undefined (reading 'id') on /messages page #601
Open
@andy108369

Description

@andy108369

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:

  1. Open Snort web client (I also deleted the site settings/cache)
  2. Login with nsec
  3. Navigate to https://snort.social/messages
  4. 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)

Screenshot:
Image

And the main page sometimes would throw the same error or won't load:

Image

The same in Incognito browser mode, maybe this issue is coming from some relays that aren't enabling CORS or are down?

Image

Image

Thanks for your work on Snort!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0