Can't access livestreamer http server when using an http-proxy and https-proxy #260

Closed
asermax opened this Issue Jan 9, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@asermax
Contributor

asermax commented Jan 9, 2014

I just tried to use a proxy using both http-proxy and https-proxy since the plugin (the one i'm working on my fork) makes https requests to get streams but then uses http for the stream itself.
The streams fetching and the selected stream opening both seem to work, but when opening the player, it doesn't show anything since it fails to connect to the http server.
I tried using vlc and mpv, and both fail the same way.

Here is the dump when using the --verbose-player for mpv:

kiira@kiira-desktop ~ $ livestreamer http://www.crunchyroll.com/love-chunibyo-and-other-delusions/episode-1-648781 low --http-proxy=http://xxx.xxx.xxx.xxx:xx --https-proxy=http://xxx.xxx.xxx.xxx:xx --verbose-player
[cli][info] Found matching plugin crunchyroll for URL http://www.crunchyroll.com/love-chunibyo-and-other-delusions/episode-1-648781
[plugin.crunchyroll][info] Trying to login using user and password...
[plugin.crunchyroll][info] Success! Credentials: [...]
[cli][info] Starting player: mpv --vo=xv --cache-default=32768 --cache-min=99
Playing: http://127.0.0.1:39136/
[ffmpeg/http] HTTP error 503 Service Unavailable
Failed to open http://127.0.0.1:39136/.


Exiting... (No files played)

My idea (not sure, just a hunch :P): the player is receiving the modified enviroment and trying to go to the local server through the proxy (why???)

@chrippa chrippa closed this in de06a1e Jan 9, 2014

javiercantero pushed a commit to javiercantero/livestreamer that referenced this issue Jan 7, 2017

Merge pull request #260 from beardypig/hls-stream-data
Start playing HLS Streams as soon as any data has been download
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment