-
Notifications
You must be signed in to change notification settings - Fork 128
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
Login not calling callback #81
Comments
Well I wouldn't consider the But yes indeed, you are right, things seem to be broken again :( It looks like the server-side is closing the WebSocket connection shortly after doing the |
I think the key has changed. Calling |
Pretty sure the new key is:
|
…ommands after login_complete
@fuzeman nice work extracting the new key! seems to work for me. |
Good work @fuzeman! It would be cool to know what hash algorithm is being used, or what algorithm you used to generate that key. :) |
Just grabbed a few valid ping + pongs from the web player by inspecting the websocket traffic and created this to find the correct key: https://gist.github.com/fuzeman/77741d3b8bfc2b4b5bf2 |
…login_complete Squashed commit of the following: commit 0498c45 Author: Brandt Abbott <[email protected]> Date: Sat Apr 26 07:36:26 2014 -0600 Issue TooTallNate#81 forgot to remove calls from _onconnect, it was late at night commit 9268e2f Author: Brandt Abbott <[email protected]> Date: Fri Apr 25 23:25:48 2014 -0600 Issue TooTallNate#81 - New flash key. Moved sp_log and sp_user_info commands after login_complete Fixes TooTallNate#81. Closes TooTallNate#82. Conflicts: lib/spotify.js
Same issue is happening again... |
I confirm. |
See #87 |
Hi. I think it's happening again. |
Not sure what is wrong, but something is wrong as of this morning. An invalid login attempt successfully ends up in the callback function I pass to login with an error, but a successful login never gets called. Here is a debug log (the spotify-web reply(["undefined"]) +0ms seems off to me).
The text was updated successfully, but these errors were encountered: