Kodi Community Forum
Kodi can't play IPV6 IP address url - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Kodi can't play IPV6 IP address url (/showthread.php?tid=352468)



Kodi can't play IPV6 IP address url - lovezhiqi123 - 2020-03-12

For example:  iptv.com=2001:8888:8888::8888
I try to play http://[2001:8888:8888::8888]/iptv.m3u8, kodi can't play.
I play http://iptv.com/iptv.m3u8, successful.

I think kodi doesn't support ipv6 address url, hope you guys check this problem.



BTW:I can play http://[2001:8888:8888::8888]/iptv.m3u8 on potplayer.


RE: Kodi can't play IPV6 IP address url - w_dong_w - 2022-05-20

No, Kodi doesn't work well with IPv6 address.
In the log you can see it remove the brackets by mistake.
I believe it's a coding bug.

Below is the log:

2022-05-20 22:07:53.370 T:13455215    INFO <general>: Creating InputStream
2022-05-20 22:07:53.371 T:13455215   DEBUG <general>: ScanForExternalSubtitles: Searching for subtitles...
2022-05-20 22:07:53.372 T:13455215   DEBUG <general>: CurlFile::Open(0x70000b0f3cf8) http://2001:da8:c000:1201:f816:3eff:fe09:940e/hls/
2022-05-20 22:07:53.372 T:13455215   DEBUG <general>: easy_acquire - Created session to http://2001:da8:c000:1201:f816:3eff:fe09:940e
2022-05-20 22:07:53.372 T:13455215   DEBUG <general>: Curl:Big Grinebug - TEXT: Closing connection -1
2022-05-20 22:07:53.372 T:13455215   ERROR <general>: CCurlFile::FillBuffer - Failed: URL using bad/illegal format or missing URL(3)
2022-05-20 22:07:53.372 T:13455215   ERROR <general>: CCurlFile::Open failed with code 0 for http://2001:da8:c000:1201:f816:3eff:fe09:940e/hls/:
                                                   
2022-05-20 22:07:53.373 T:13455215   ERROR <general>: GetDirectory - Unable to get http directory (http://2001:da8:c000:1201:f816:3eff:fe09:940e/hls/)
2022-05-20 22:07:53.373 T:13427968   DEBUG <general>: CPlayerGUIInfo::InitCurrentItem(pvr://channels/tv/%e5%85%a8%e9%83%a8%e9%a2%91%e9%81%93/pvr.iptvsimple_461908148.pvr)
2022-05-20 22:07:53.373 T:13455215   ERROR <general>: GetDirectory - Error getting http://2001:da8:c000:1201:f816:3eff:fe09:940e/hls/
2022-05-20 22:07:53.373 T:13455215   DEBUG <general>: ScanForExternalSubtitles: END (total time: 2 ms)
2022-05-20 22:07:53.373 T:13455215    INFO <general>: Creating Demuxer
2022-05-20 22:07:53.373 T:13455215   DEBUG <general>: ffmpeg[0x7fd4d7532440X]: [NULL] Opening 'http://2001:da8:c000:1201:f816:3eff:fe09:940e/hls/discovery.m3u8' for reading
2022-05-20 22:07:53.374 T:13455215   DEBUG <general>: ffmpeg[0x7fd4d7532440X]: [http] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
2022-05-20 22:07:53.374 T:13455215   ERROR <general>: ffmpeg[0x7fd4d7532440X]: [tcp] Port missing in uri
2022-05-20 22:07:53.374 T:13442022   DEBUG <general>: Loading settings for pvr://channels/tv/%e5%85%a8%e9%83%a8%e9%a2%91%e9%81%93/pvr.iptvsimple_461908148.pvr
2022-05-20 22:07:53.374 T:13455215   DEBUG <general>: Error, could not open file http://2001:da8:c000:1201:f816:3eff:fe09:940e/hls/discovery.m3u8


RE: Kodi can't play IPV6 IP address url - Klojum - 2022-05-20

(2022-05-20, 16:22)w_dong_w Wrote: Below is the log:Below is the log:

You are reacting to a forum thread from over two years ago. The opening poster hasn't visited the Kodi forum since he posted.