TLDR: Is there some trick to getting roUrlTransfer to work with IPv6?
I’ve started helping a bit with the Jellyfin Roku app: GitHub - jellyfin/jellyfin-roku: The official Jellyfin Roku Client · GitHub
One outstanding bug is that IPv6 requests won’t work from the Jellyfin app. The issue I’m seeing is that roUrlTransfer won’t make any IPv6 request.
My Roku is getting an IPv6 address, and I verified on my router that when I use the Prime Video app, I see IPv6 connections from the Roku to the internet.
If I insert these lines just before it tries the requests:
di = CreateObject("roDeviceInfo")
netconfig = di.GetConnectionInfo()
I see the IPv6 addresses in netconfig.ipv6.
When using an IPv6 URL in the format http://[addr]:8096 (with the real, public IPv6 address), resp.GetResponseCode() (at source/utils/misc.bs:247) is returning -7 (COULDNT_CONNECT).
And if I use a domain name that resolves only to an IPv6 address, I see only an A request and no AAAA request on my pihole, and the request fails with -6 (COULDNT_RESOLVE_HOST). Whereas I see an A and AAAA request for Amazon domains coming from my Roku when I use the Prime Video app.
Any ideas? I know that IPv6 was introduced in RokuOS 12. Is there something in this app that is making it backwards compatible with < RokuOS 12 and thus not using all the new features? I tried adding rsg_version=1.3 in the manifest (as a stab in the dark) but that didn’t change anything.
Can anyone point me to the code of a Roku app that is known to work with IPv6 so I can compare?
