Skip to content

[Bug]: An unhandled error occurred. Direct messages cause crash of web UI #875

@ragnarkarlsson

Description

@ragnarkarlsson

Before submitting

  • I have searched existing issues to make sure this bug hasn't already been reported
  • I have updated to the latest version of the software to verify the issue still exists
  • I have cleared cache/cookies/storage or tried in a private/incognito window (if applicable)

Hardware

Heltec V3

Connection Type

HTTP

Local or Hosted

https://client.meshtastic.org, http://meshtastic.local

Firmware Version

2.6.11

Operating System

Ubuntu 22 / Windows 11

Browser

Chrome 140

Expected Behavior

  1. Run docker container
  2. Connect to web GUI
  3. Connect to Heltec v3 over HTTP
  4. Select a node to direct message
  5. Be presented direct message screen

Actual Behavior

  1. Run docker container
  2. Connect to web GUI
  3. Connect to Heltec v3 over HTTP
  4. Select a node to direct message
  5. Error

Steps to Reproduce

As per actual behaviour, this occurs when I use both HTTP and HTTPS to connect to the node from the GUI

Relevant console output

Error: [
  {
    "code": "custom",
    "message": "Chat ID must be a channel (0-10) or a valid node ID.",
    "path": []
  }
]
    at http://10.10.0.22:8080/index-CUceBj8a.js:49:148055
    at Array.map (<anonymous>)
    at T4.matchRoutesInternal (http://10.10.0.22:8080/index-CUceBj8a.js:49:147905)
    at KU.matchRoutes (http://10.10.0.22:8080/index-CUceBj8a.js:49:130342)
    at KU.beforeLoad (http://10.10.0.22:8080/index-CUceBj8a.js:49:134810)
    at http://10.10.0.22:8080/index-CUceBj8a.js:49:135118
    at http://10.10.0.22:8080/index-CUceBj8a.js:67:4207
    at Dj.gt.startTransition (http://10.10.0.22:8080/index-CUceBj8a.js:17:6388)
    at e.isServer.e.startTransition (http://10.10.0.22:8080/index-CUceBj8a.js:67:4186)
    at http://10.10.0.22:8080/index-CUceBj8a.js:49:135077

Screenshots

No response

Additional Context

This isn't 100% of the time, and I've tried with the hosted client.meshtastic.org where I'm unable to reproduce the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions