rurza / NepTunes-Issues

This repository is only for issue tracking.
5 stars 0 forks source link

NepTunes unable to Scrobble through a VPN #38

Open Cearul opened 7 years ago

Cearul commented 7 years ago

NepTunes is unable to Scrobble due to my VPN and I am unable to rectify the issue. I am currently using Tunnelblick 3.7.0 (build 4790) with IVPN OpenVPN configurations. Additionally, Little Snitch is running on my computer, but I have allowed any connection to and from NepTunes. The error notification I get from NepTunes says, "An SSL error has occured and a secure connection to the server cannot be made". I can verify that NepTunes works without issue when the VPN is disconnected. I really want to use this app but not at the sacrifice of VPN security.

Thanks in advance.

Cearul commented 7 years ago

Hi Adam,

I thought this exerpt from Console may help identify the issue.

default 11:11:13.362912 -0400 NepTunes TIC TCP Conn Start [92:0x6080001970e0] default 11:11:13.521590 -0400 NepTunes TIC TCP Conn Event [92:0x6080001970e0]: 1 Err(0) default 11:11:13.521618 -0400 NepTunes TIC TCP Conn Connected [92:0x6080001970e0]: Err(0) default 11:11:13.521753 -0400 NepTunes TIC Enabling TLS [92:0x6080001970e0] default 11:11:13.616633 -0400 NepTunes TIC TCP Conn Event [92:0x6080001970e0]: 2 Err(0) error 11:11:13.616686 -0400 NepTunes TIC TCP Conn Missing Error [92:0x6080001970e0]: Generating 3:-9806 default 11:11:13.616738 -0400 NepTunes TIC TCP Conn Cancel [92:0x6080001970e0] default 11:11:13.616780 -0400 NepTunes TIC TCP Conn Destroyed [92:0x6080001970e0] default 11:11:13.617605 -0400 NepTunes TIC TCP Conn Start [93:0x618000196240] default 11:11:13.721540 -0400 NepTunes TIC TCP Conn Event [93:0x618000196240]: 1 Err(0) default 11:11:13.721558 -0400 NepTunes TIC TCP Conn Connected [93:0x618000196240]: Err(0) default 11:11:13.721640 -0400 NepTunes TIC Enabling TLS [93:0x618000196240] default 11:11:13.815928 -0400 NepTunes TIC TCP Conn Event [93:0x618000196240]: 2 Err(0) error 11:11:13.815966 -0400 NepTunes TIC TCP Conn Missing Error [93:0x618000196240]: Generating 3:-9806 default 11:11:13.815980 -0400 NepTunes TIC TCP Conn Cancel [93:0x618000196240] default 11:11:13.816005 -0400 NepTunes TIC TCP Conn Destroyed [93:0x618000196240] default 11:11:13.816845 -0400 NepTunes TIC TCP Conn Start [94:0x618000196240] default 11:11:13.921678 -0400 NepTunes TIC TCP Conn Event [94:0x618000196240]: 1 Err(0) default 11:11:13.921708 -0400 NepTunes TIC TCP Conn Connected [94:0x618000196240]: Err(0) default 11:11:13.921838 -0400 NepTunes TIC Enabling TLS [94:0x618000196240] default 11:11:14.017419 -0400 NepTunes TIC TCP Conn Event [94:0x618000196240]: 3 Err(54) default 11:11:14.017445 -0400 NepTunes TIC TCP Conn Cancel [94:0x618000196240] default 11:11:14.017470 -0400 NepTunes TIC TCP Conn Destroyed [94:0x618000196240] error 11:11:14.017587 -0400 NepTunes HTTP load failed (error code: -1005 [1:54]) error 11:11:14.017642 -0400 NepTunes NSURLConnection finished with error - code -1005 default 11:11:27.565658 -0400 NepTunes [0x7ff45694d200] Releasing session default 11:11:27.565786 -0400 NepTunes [0x7ff456928600] Releasing session

Cearul commented 7 years ago

So I've found a workaround. I can have NepTunes scrobble whilst using a VPN by allowing NepTunes to handshake with Last.fm and then connecting my VPN. I'd still like to see if this could be resolved with future releases but thankfully I can continue to use your fantastic app!

rurza commented 7 years ago

You mean just log in without VPN?

Cearul commented 7 years ago

Basically, yes.

My computer is set up to launch NepTunes and my VPN as soon as it's turned on. What was happening was that my VPN was connecting before I would eventually put music on and begin scrobbling, so the initial connection would never establish. It would continually error. So I just decided to leave the VPN off for a while and scrobble. When I decided to connect again I noticed that NepTunes was continuing to scrobble despite being behind a VPN.

So I surmise that once initially connected NepTunes can continue to connect with the Last.fm API even after a VPN connection is established. But it definitely does not work if the VPN is connected first, then NepTunes.