-
Notifications
You must be signed in to change notification settings - Fork 19
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
Spotify API Authorisation? #30
Comments
Hi! Your log indicates that it is logging into Spotify fine so that's something. Can you step through and find out more about which call it was making and the URL at the time it failed? From the log it's hard to tell whether it is failing to request a track from Spotify or if it can't find Mongo. |
Thank you for coming back to me. I'll drop everything into Visual Studio and see what I can find, however... |
Looking into it further, if it's the ICallbackClient failing when QueueChanged that means the server has finished a track and moving to the next one. Then the server tries to tell the website to refresh the queue elements on the page to reflect the new queue, and it's this callback that is failing. Check that the config settings for the SpotifyCallbackService are correct in Server/app.config. Also check that your permissions for the Site and its /Services dir are set as per the setup instructions. A StackOverflow post also mentioned a few things worth trying, including enabling some windows features. |
Does the IIS server need to be hosted publicly (for Spotify to authenticate the web service)? I have followed the prerequisite checks, however any search yields no results. In the logs, I can see the following:
Mongo is running
IIS has been set up appropriately
The PlayMe application has been started 'as administrator'
Log exerpt:
Creating Spotify Session
Logging into Spotify with username 'xxx'
Dequeuing next track
Asking AutoPlay for next track
Then
...Interfaces.ICallbackClient|QueueChanged failed with exception The remote server returned an unexpected response: (405) Method not Allowed
This looks as though it might be related to the App not being authorised against my spotify account?
The text was updated successfully, but these errors were encountered: