Coder Social home page Coder Social logo

Comments (10)

christopherbeneke avatar christopherbeneke commented on June 18, 2024 1

That seems to work perfectly, thank you and happy new year!

from update-plex-ipv6-access-url.

christopherbeneke avatar christopherbeneke commented on June 18, 2024

This comment on the plex forums is what gave me the idea to try using an upper-case IPv6 address even though the commenter is referring to this in the context of something called "myplex" which I am not familiar with.

https://forums.plex.tv/t/ipv6-support-for-myplex/36520/271

from update-plex-ipv6-access-url.

cetteup avatar cetteup commented on June 18, 2024

Just to verify: When you use Plex remotely, do you actually see Plex connecting via the uppercase IPv6 access URL? You can test this by opening the dev tools in any browser and then navigating to Plex. The network tab will show you which URL Plex ends up using.

from update-plex-ipv6-access-url.

christopherbeneke avatar christopherbeneke commented on June 18, 2024

Chrome shows the shortened IPv6 address with lower-case characters. I wish there was a way to check to see which access URL the Android Plex app is using. Changing from upper-case to lower-case seems to have no effect on the behavior of the web app, it only seems to affect the Android app.

from update-plex-ipv6-access-url.

cetteup avatar cetteup commented on June 18, 2024

You may be able to pull debug logs from the app, see https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/.

I just want to avoid that this is actually caused by something totally unrelated, since both IPv6 addresses and hostnames should be case-insensitive.

from update-plex-ipv6-access-url.

christopherbeneke avatar christopherbeneke commented on June 18, 2024

Thanks for sharing that, it's so helpful in troubleshooting this!

Here's something really strange. When the custom server access URL is set to the uppercase format, the Android logs show that everything works as expected.

When the Custom server access URL is set to the lowecase format, the Android logs do not show any IPv6 address. Instead the logs show two IPv4 addresses, one is the internal IP address of the server and the other is the public WAN IP address of my router.

This leads me to believe that for some reason Plex does not pass along the lowercase IPv6 address to the Android client.

I am actually observing something similar in the Roku app logs as well. No IPv6 address shows up in the logs until the custom server access URL is set to uppercase. It seems like this may be a bug in the way plex shares the custom access URL. I am not sure why it doesn't seem to affect the web app when using plex.tv/web though.

I agree that the client should not care about the case of the IPv6 address, but it seems like plex may not be sharing the lowercase address.

from update-plex-ipv6-access-url.

cetteup avatar cetteup commented on June 18, 2024

One last thing: What do you see in the logs when there's no IPv6 custom access URL configured? Same as when it's lowercase?

from update-plex-ipv6-access-url.

christopherbeneke avatar christopherbeneke commented on June 18, 2024

When the custom access URL field is left blank, it seems the behavior is similar to when a lower case format URL is used. The android app logs show both the internal and external IPv4 address of my plex server which will never work as I am behind CGNAT and cannot do IPv4 port forwarding. It seems plex could do a much better job handling these scenarios as more ISPs are moving towards this model.

from update-plex-ipv6-access-url.

cetteup avatar cetteup commented on June 18, 2024

I added a new flag. If you run with -capitalization upper it will convert the IPv6 IP address to uppercase when building the custom access URL.

Will publish a new release later today.

from update-plex-ipv6-access-url.

cetteup avatar cetteup commented on June 18, 2024

Released as part of 0.2.0.

from update-plex-ipv6-access-url.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.