-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ProxyError related issues? #1244
Description
Checklist
- This is a bug report.
- This is a feature request.
- This is a plugin (improvement) request.
- I have read the contribution guidelines.
Description
I'm receiving a number of proxy related errors when trying to use the BBC iPlayer and TVPlayer.com plugins, as follows:
streamlink http://www.bbc.co.uk/iplayer/live/bbcone best --config /home/manager/streamlink.cfg -l debug
[cli][info] Found matching plugin bbciplayer for URL http://www.bbc.co.uk/iplayer/live/bbcone
[plugin.bbciplayer][info] A TV License is required to watch BBC iPlayer streams, see the BBC website for more information: https://www.bbc.co.uk/iplayer/help/tvlicence
error: Unable to open URL: https://session.bbc.co.uk/session?ptrt=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Flive%2Fbbcone (HTTPSConnectionPool(host='session.bbc.co.uk', port=443): Max retries exceeded with url: /session?ptrt=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Flive%2Fbbcone&context=tvandiplayer&userOrigin=tvandiplayer (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',))))
streamlink https://tvplayer.com/watch/channel4 best --config /home/manager/streamlink.cfg -l debug
[cli][info] Found matching plugin tvplayer for URL https://tvplayer.com/watch/channel4
error: Unable to open URL: https://tvplayer.com/account/login (HTTPSConnectionPool(host='tvplayer.com', port=443): Max retries exceeded with url: /account/login (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',))))
My config file is as follows:
http-proxy=http://user:password@uk97.nordvpn.com
https-proxy=https://user:password@uk97.nordvpn.com
hls-segment-threads=5
hds-segment-threads=5
bbciplayer-username=email@gmail.com
bbciplayer-password=password
tvplayer-email=email@gmail.com
tvplayer-password=password
Expected / Actual behavior
I've never had the BBC iPlayer plugin work for me - previously the message about a tv license prevented me from viewing, although now the ProxyError has appeared after it.
That said, the following command for BBC One has always worked, and still does:
streamlink "hds://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hds/uk/pc/llnw/bbc_one_hd.f4m" best --config /home/manager/streamlink.cfg
So its seemingly not my proxy server that's causing an issue, rather something relating to the remote connection.
As mentioned in #1228 I had a version issues which I've since resolved, and prior to this error I was receiving "BadStatusLine" errors when using Python2. I've followed @gravyboat 's guidance there on switching to python3, and this is the result.
Has anyone else encountered errors similar to this? What can I do to diagnose the problem?
Reproduction steps / Explicit stream URLs to test
Environment details
Operating system and version: Lubuntu 16.04
Streamlink and Python version: Streamlink 0.8.1 / Python 3.5.2