Today I have noticed that Plex Version 1.25.4.5468 was available so i upgraded to this and this also broke my IPv6 Custom URL from working.
I am interested to know if anyone else has got anything newer than Version 1.25.3.5409 working with IPv6 Custom URLs please?
@WesMaher I am using Version 1.25.4.5468, with custom url.
I do not have any problems reaching my server via IPV6, connecting with iPhone or iPad works fine.
Thanks @AViering for letting me know, are you purely using IPv6 or do you have IPv4 set up as well, are you behind CGNAT?
Have you confirmed that the URL is being published?
https://plex.tv/api/resources?includeHttps=1&X-Plex-Token=TOKEN
Im not sure what this is sorry?
When i follow this link it says “Invalid authentication token”
What should it say?
Thanks
@WesMaher Yes, I am using IPV6 my IPV4 is behind CGNAT. My provider is “Deutsche Glasfaser”.
I tried reaching PMS using my mobile connection with t-mobile.
Thanks @AViering - So all you have filled in is your external IPv6 address in the Custom URL box in Network and it works for you or have you done other changes?
Can you send me what you have under the Custom URL please so i can compare it to mine (obviously X out your IPv6 address)
Thanks
@WesMaher no problem here is my custom url https://xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx.serverid.plex.direct:32400
Do not shorten the IPV6 address, you need all digits including leading 0
@AViering - yes thats exactly what I have which works fine on Version 1.25.3.5409 but if I upgrade to anything newer it stops working :-/
Get your Plex token.
Finding an authentication token / X-Plex-Token | Plex Support
Put it in this URL:
https://plex.tv/api/resources?includeHttps=1&X-Plex-Token=TOKEN
It will show the URLs that Plex is registering with the Plex cloud.
@Volts - I have looked at the token link now and it doesn’t appear that the IPv6 address is being published as I can only see IPv4 addresses in the link.
Any ideas why or how I can fix this please as like I said on the older version it worked?
@Volts - I have also looked in the Plex Media Server Logs file and i can see the below:
Jan 26, 2022 14:45:32.580 [10576] WARN - MyPlex: Invalid connection URL 'https://2a0d:3340
I have cut the end of the IPv6 address above but it is all correct in the log and in the custom URL field on Plex and I know the IPv6 address is correct as i can do a what is my ip and it show the same. Also like mentioned before if i downgrade to the older version of Plex it works again so I am really confused.
@Volts @AViering - Ok, i have been looking at this for hours now and i have identified the confusion. Some how, when i use Version 1.25.3.5409 my Plex is accessible externally even without adding a Custom URL (how, i have no idea!) I did have a Custom URL set and thats what i thought it was using but it clearly wasn’t.
So the reason it isnt working when i upgrade is because it is looking for a Custom URL which isnt working.
Neither of those look correct. When using the magic *.plex.direct URL & certificate, colons : from the IP address should be replaced with dashes -.
I just verified that this format works:
https://XXXX-XXXX-XXXX-XX-XX-XXXX-XXXX-XXXX.[CertificateUUID].plex.direct:32400
@Volts you are right serverid represents my CertificateUUID, I did not post my UUID.
I use “:” not “-” I do not know if this makes a difference.
@Volts - Thanks i will try this but where do i get my Certificate UUID please?
Colons aren’t valid in hostnames.
I think that’s the right term for it. Earlier in the thread it’s been referred to as Server ID.
Ipv6 support for myplex - #269 by thornrag
It’s also visible if you look at the SSL certificate the server is using, or if you look at the saved “CertificateUUID” value in the server preferences or registry.
Ability to manually set public IP for remote access - #24 by Volts
Hi @Volts this is a great help thank you for taking the time. I think I now have all the pieces to the puzzle however it still isn’t working. Can I check which IPv6 address you are using, is this taken from the PMS servers NIC (mine is a Windows VM) or is it the external IPv6 address given to the router (mine is a MikroTik router, which I’m having difficulty understanding)
Also on one of the links you sent above at the end of the address they say to add /web (plex.direct:32400/web) is the /web bit needed?
Thanks
@WesMaher @Volts I removed the custom url in the network settings. PMS is still reachable.
The only configuration I did, is opening my firewall of my router for the IP of the PMS server.
looks like your using IPv4 then and you have the same problem as me with IPv6 not working.