tellytv / telly

An IPTV proxy
MIT License
760 stars 104 forks source link

I/O Timeout when loading M3U #183

Closed lellimecnar closed 6 years ago

lellimecnar commented 6 years ago

I'm seeing the following in my Docker container (tellytv/telly-ffmpeg) on startup:

time="2018-09-01T14:44:56Z" level=info msg="telly is preparing to go live (version=, branch=, revision=)"
time="2018-09-01T14:44:58Z" level=info msg="Loading M3U from http://api.vaders.tv/vget?username=REDACTED&password=REDACTED&vod=false&format=ts" 
time="2018-09-01T14:45:28Z" level=error msg="unable to get m3u file" error="Get http://api.vaders.tv/vget?username=________&password=________&vod=false&format=ts: dial tcp 185.102.218.3:80: i/o timeout" 
time="2018-09-01T14:45:28Z" level=error msg="error when preparing provider" error="Get http://api.vaders.tv/vget?username=________&password=________&vod=false&format=ts: dial tcp 185.102.218.3:80: i/o timeout" 
time="2018-09-01T14:45:28Z" level=error msg="error when processing provider" error="Get http://api.vaders.tv/vget?username=________&password=________&vod=false&format=ts: dial tcp 185.102.218.3:80: i/o timeout" 
time="2018-09-01T14:45:28Z" level=info msg="telly is live and on the air!" 
time="2018-09-01T14:45:28Z" level=info msg="Broadcasting from http://0.0.0.0:6077/" 
time="2018-09-01T14:45:28Z" level=info msg="EPG URL: http://0.0.0.0:6077/epg.xml"

Notice a few things:

If I copy the URL exactly as-is from the error message, and paste it into VLC, it works.

chazlarson commented 6 years ago

Are the Docker container and VLC on the same machine? If not, what happens if you try to retrieve the M3U outside telly on the same machine? [with curl or wget, perhaps]

lellimecnar commented 6 years ago

I tried wget, and it just says:

Connecting to api.vaders.tv (api.vaders.tv)|185.102.218.3|:80... failed: Connection timed out.

It retries a few times, but it just times out every time.

chazlarson commented 6 years ago

It would appear that there's a connectivity problem between that machine and the Vaders servers, or Vaders is actively blocking connections from that machine. Is that machine perhaps at OVH or Hetzner or something like that? Vaders typically blocks connections from datacenters.

lellimecnar commented 6 years ago

Yep, it's OVH... Any chance of using a VPN or a proxy?

robbiet480 commented 6 years ago

Proxy support is in the forthcoming version of telly. VPN support is at the OS level, outside of telly's control. I've made a note to add a fat warning if we are unable to contact your provider to suggest it may be due to blocking like this.