Closed richardmatthias closed 6 years ago
Did Chrome show the failure reason as ERR_PROXY_CONNECTION_FAILED? If so, I guess the problem is that the python script crashed.
So please run python NeteaseMusicProxy.py
and check the outputs.
Also please make sure port 32794 is not taken on your macbook. If it is, you can change the port number at line 223 of NeteaseMusicProxy.py
.
~/NeteaseMusicAbroad$ python NeteaseMusicProxy.py
Traceback (most recent call last):
File "NeteaseMusicProxy.py", line 1, in
Seems like a Twisted issue? Though it looks like I've already installed Twisted on my computer since ~/NeteaseMusicAbroad$ pip install Twisted Requirement already satisfied: Twisted in /Library/Python/2.7/site-packages Requirement already satisfied: zope.interface>=3.6.0 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from Twisted) Requirement already satisfied: constantly>=15.1 in /Library/Python/2.7/site-packages (from Twisted) Requirement already satisfied: incremental>=16.10.1 in /Library/Python/2.7/site-packages (from Twisted) Requirement already satisfied: Automat>=0.3.0 in /Library/Python/2.7/site-packages (from Twisted) Requirement already satisfied: hyperlink>=17.1.1 in /Library/Python/2.7/site-packages (from Twisted) Requirement already satisfied: setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from zope.interface>=3.6.0->Twisted) Requirement already satisfied: six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from Automat>=0.3.0->Twisted) Requirement already satisfied: attrs in /Library/Python/2.7/site-packages (from Automat>=0.3.0->Twisted)
So after looking at the logs, the following solution fixed it for me:
sudo pip install Twisted==16.4.1 sudo pip install requests
Thanks for your awesome tool and your time.
Mac OS 10.11.6, Python 2.7.10, NeteaseMusic version 1.5.8
Songs are still greyed out. Moreover, their message signify that they're blocked by region not by other issues.
Another issue is that music.163.com is not accessible on Chrome during the runtime of the executable (other websites are ok)