PromyLOPh / pianobar

Console-based pandora.com player
http://6xq.net/pianobar/
Other
1.74k stars 321 forks source link

Login...network error...ssl error #667

Closed pianotuner closed 5 years ago

pianotuner commented 5 years ago

Subject of the issue:

Briefly describe your issue here. I can login via web browser(pandora) using pia vpn. I can login via pianobar w/ free proxy( control_proxy) and even pianobar for windows w/ pia vpn system wide and control proxy but using mxlinux 16.1 and pianobar w/ pia vpn system wide, I cannot..I get network error...ssl error. It was working couple of months back so I dont know if its linux(update) or pia (ciphers, etc.)

Your environment

Steps to reproduce

Tell us how to reproduce this issue. using pia vpn and login w/ pianobar

Expected behaviour

Tell us what should happen. login...network error...ssl error

Actual behaviour

Tell us what happens instead, including a copy of all error messages.

pianotuner commented 5 years ago

login...network error: ssl connect error

pianotuner commented 5 years ago

I been looking for an updated link for newest version that has a walk me through it type tutor. I have tried but got stuck on dependencies. I have read some from 2014 or older that show me exactly what to do but are all the files correct/updated? Thanks

From: "edward-p" notifications@github.com To: "PromyLOPh/pianobar" pianobar@noreply.github.com Cc: "pianotuner" nomansland@shaw.ca, "Author" author@noreply.github.com Sent: Wednesday, August 8, 2018 10:40:15 AM Subject: Re: [PromyLOPh/pianobar] Login...network error...ssl error (#667)

can you try the latest version, since it's easy to build from the source?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .

edward-p commented 5 years ago

I've tried the 2016 version, no such issue, I think there's something wrong with your VPN. Since I'm also living outside of the US, I use a shadowsocks-go for socks5 proxy, and use sockthttp to convert socks5 proxy to a http proxy. Then configure the control_proxy in ~/.config/pianobar/config. Maybe we should add support for socks5 proxy directly, since it's widely used recently. @PromyLOPh

PromyLOPh commented 5 years ago

I’m pretty sure pianobar already accepts a socks server as control_proxy, since libcurl does: https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html

edward-p commented 5 years ago

Yeah, that's pretty cool, thanks for curl!

pianotuner commented 5 years ago

Hey Edward thanks for that...You tried 2016 pianobar with a vpn running system wide ? Pianobar with vpn was fine. windows/pianobar w/ vpn and control proxy fine and also browser login. I ran $ openssl s_client -connect tuner.pandora.com:443 in the terminal and I can connect....ssl handshake bytes read ( 3434 bytes ) and written (447 bytes ) but not w/ vpn...0 bytes read and 289 written. Is pianobar not finding the certificate. What system are you using and pianobar version because I am going to start a new os of some sort and I would like pianobar 2018 and streamtuner2 to work properly. Lars' post is a little beyond me but Im going to try to enlighten myself...I do use a socks5 proxy for "other" downloads provided by vpn but its only in netherlands.

Thank you see attachment if yoou like

From: "edward-p" notifications@github.com To: "PromyLOPh/pianobar" pianobar@noreply.github.com Cc: "pianotuner" nomansland@shaw.ca, "Author" author@noreply.github.com Sent: Wednesday, August 8, 2018 9:55:21 PM Subject: Re: [PromyLOPh/pianobar] Login...network error...ssl error (#667)

I've tried the 2016 version, no such issue, I think there's something wrong with your VPN. Since I'm alse living outside of the US, I use a shadowsocks-go for socks5 proxy, and use sockthttp to convert socks5 proxy to a http proxy. Then configure the control_proxy in ~/.config/pianobar/config . Maybe we should add support for socks5 proxy directly, since it's widely used recently. @PromyLOPh

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .

edward-p commented 5 years ago

@pianotuner I tried with socks5 proxy. If you want to set up a socks5 proxy for pianobar just add a line to ~/.config/pianobar/config like this:

control_proxy = socks5://server_ip:port

control_proxy is a feature that provided by libcurl.

So pianobar support all types of proxy that control_proxy supports here https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html

pianotuner commented 5 years ago

Hello again

This is a different subject. I was wondering what services does pianobar for windows use to make it run properly. I ask because i have a build of windows 10 i like,,,stripped down and smooth. I have pianobar running on another 7/10 but they are untouched. I have read a thread before but cannot seem to find it again something to do with pianobar uses windows media...? to run in windows and I have tried to use player = ds and I am always behind vpn.

Thank you

From: "Lars" notifications@github.com To: "PromyLOPh/pianobar" pianobar@noreply.github.com Cc: "pianotuner" nomansland@shaw.ca, "Author" author@noreply.github.com Sent: Thursday, August 9, 2018 8:34:19 AM Subject: Re: [PromyLOPh/pianobar] Login...network error...ssl error (#667)

I’m pretty sure pianobar already accepts a socks server as control_proxy, since libcurl does: https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .

PromyLOPh commented 5 years ago

The Windows port is not developed here. Head over to https://github.com/thedmd/pianobar-windows/issues