Tautulli-Remote icon indicating copy to clipboard operation
Tautulli-Remote copied to clipboard

Tautulli URL not recognized as valid format

Open kohbo opened this issue 11 months ago • 5 comments

Describe the bug

I'm trying to register the app with my self-hosted instance of Tautulli.

The URL in question is https://plex_stats.kohming.net

Steps to Reproduce

  1. Generate a QR code through Tautulli using the "Register a New Device" option in the settings
  2. Verify the URL matches publicly accessible URL for Tautulli
  3. Click on Scan a QR code in the Tuatulli mobile app
  4. Click "Register Device"
  5. Notice the URL is not recognized as a valid format

Expected Behavior

Expect app to recognize the URL as valid

Tautulli Remote Version

v3.3.1(168)

Tautulli Version

v2.15.0

Mobile Device

Pixel Fold

Mobile OS

Android 18

Additional Context

No response

kohbo avatar Jan 09 '25 23:01 kohbo

I did some testing with alternate URLs. The issue is the underscore in the subdomain. A domain without an underscore causes no issue.

kohbo avatar Jan 09 '25 23:01 kohbo

Unfortunately underscores are not valid characters for domain names as per RFC 1035 section 2.3.1.

Specifically:

They must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphen.

TheMeanCanEHdian avatar Jan 10 '25 02:01 TheMeanCanEHdian

Alright so while this doesn't follow standards it is possible the validator I use can allow underscores. I will put this under investigation for now.

TheMeanCanEHdian avatar Jan 10 '25 02:01 TheMeanCanEHdian

For me it does not accept hostname only on the URL, showing "Invalid URL format", like in https://hostname:port. The hostname in this case is just a name, no TLD. I can access the server through the browser just fine

codecrafting-io avatar Jan 15 '25 04:01 codecrafting-io

That's already answered in #202.

JonnyWong16 avatar Jan 15 '25 04:01 JonnyWong16

The next update will include a change so that underscores do not fail the URL validation.

TheMeanCanEHdian avatar May 25 '25 18:05 TheMeanCanEHdian

This is available in v3.4.0.

TheMeanCanEHdian avatar Jun 18 '25 14:06 TheMeanCanEHdian