Comments (3)
I came across an InvalidAuthToken
exception today, using HEAD of the dict-access branch:
2015-07-19 14:17:08,443 - INFO Resetting dropped connection: internal-tuner.pandora.com
2015-07-19 14:17:08,865 - WARNING /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
2015-07-19 14:17:12,166 - ERROR Unhandled exception in Core (urn:uuid:b2c5aed8-4483-48ca-8dcf-6154cbf85616):
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop
response = self._handle_receive(message)
File "/usr/local/lib/python2.7/dist-packages/pykka/actor.py", line 294, in _handle_receive
return callee(_message['args'], _message['kwargs'])
File "/var/lib/git/mopidy/mopidy/listener.py", line 49, in on_event
getattr(self, event)(_kwargs)
File "/var/lib/git/mopidy/mopidy/core/actor.py", line 87, in reached_end_of_stream
self.playback._on_end_of_track()
File "/var/lib/git/mopidy/mopidy/core/playback.py", line 223, in _on_end_of_track
self._change_track(next_tl_track)
File "/var/lib/git/mopidy/mopidy/core/playback.py", line 199, in _change_track
self._play(on_error_step=on_error_step)
File "/var/lib/git/mopidy/mopidy/core/playback.py", line 319, in _play
backend.playback.change_track(tl_track.track).get() and
File "/usr/local/lib/python2.7/dist-packages/pykka/future.py", line 299, in get
exec('raise exc_info[0], exc_info[1], exc_info[2]')
File "/usr/local/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop
response = self._handle_receive(message)
File "/usr/local/lib/python2.7/dist-packages/pykka/actor.py", line 294, in _handle_receive
return callee(_message['args'], **message['kwargs'])
File "/var/lib/git/mopidy-pandora/mopidy_pandora/actor.py", line 74, in change_track
pandora_track = self._next_track(track_uri.station_token)
File "/var/lib/git/mopidy-pandora/mopidy_pandora/actor.py", line 60, in _next_track
self.tracks = iter(self.backend.api.get_playlist(station_token))
File "/var/lib/git/mopidy-pandora/mopidy_pandora/pydora.py", line 39, in get_playlist
return super(MopidyPandoraAPIClient, self).get_playlist(station_token)
File "/var/lib/git/pydora/pandora/client.py", line 120, in get_playlist
includeTrackLength=True))
File "/var/lib/git/pydora/pandora/client.py", line 93, in call
self._authenticate()
File "/var/lib/git/pydora/pandora/client.py", line 82, in _authenticate
returnCapped=True)
File "/var/lib/git/pydora/pandora/transport.py", line 168, in call
return self._parse_response(result)
File "/var/lib/git/pydora/pandora/transport.py", line 158, in _parse_response
raise PandoraException.from_code(result["code"], result["message"])
InvalidAuthToken: Invalid Auth Token
2015-07-19 14:17:12,194 - WARNING Tried to communicate with dead actor.
2015-07-19 14:17:12,203 - INFO New MPD connection from [::ffff:127.0.0.1]:53566
I'm not sure why the re-authentication routines would also raise this exception, but it looks to be happening.
from pydora.
This happened after about 90 minutes of continuous playback. Is it not perhaps necessary to also reset the start_time
attribute of the APITransport
instance every time a re-authentication is done?
from pydora.
Yeah I noticed it again too. I'm going to try resetting all transport parameters when partner login happens to see if that fixes it.
from pydora.
Related Issues (20)
- Broken pipe on play station HOT 5
- Unicode Encode Error HOT 1
- Inquiry: How to use a library on project? HOT 4
- Becoming an approved pandora developer HOT 2
- Continuous Song Cycling HOT 3
- Continuous skipping of tracks HOT 10
- Break pycrypto dependency HOT 3
- I Need Help HOT 5
- Remote VLC Backend HOT 1
- Issues with creating a new station HOT 3
- Dropping Python 2.x - 3.4 Support HOT 3
- Search for station, select it, and get station HOT 12
- Add docs and examples HOT 3
- Unable to login HOT 1
- Help understand ads in Pandora and Login timeout (refresh) HOT 2
- PyDora pydora-configure configuration script error HOT 1
- Error: pandora.errors.InvalidAuthToken: Invalid Auth Token HOT 17
- Pydora fails to start HOT 2
- Error: pandora.errors.InvalidAuthToken: Invalid Auth Token HOT 1
- Instructions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydora.