Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

@asermax
Copy link
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???)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant