Hi! Had some issues with the Plexamp and Plex Dash apps just now. All of them crashed right on startup. Was able to fix it, but looks like a bug in the url parsing, so should still be addressed in the app. Quick ChatGPT generated description below. Main Plex apps continued to work fine even before fix.
Issue I had
When my Plex server’s “Custom server access URLs” field contained an IPv6 plex.direct URL without an explicit port (e.g. https://<ipv6-hash>.<server-id>.plex.direct/), three clients crashed on launch:
- Plex Dash (iOS)
- Plexamp (iOS)
- Plexamp (macOS)
The main Plex apps (iOS & macOS) continued to work.
What fixed it
Adding :32400 to that IPv6 entry (→ https://<ipv6-hash>.<server-id>.plex.direct:32400/) immediately stopped the crashes in all three apps.
My explanation (narrowed-down cause)
Startup logs and the macOS crash trace show an uncaught std::invalid_argument from std::stoi inside NetworkConnection::NetworkConnection() (in treble.node). The code tries to convert the substring after the colon to an int; when the colon is missing, it receives an empty string and throws, aborting the renderer process. I only reproduced this with IPv6 URLs, but the same logic may affect IPv4 URLs without a port as well.