Skip to content
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

Can't search; 405 #31

Open
benny-burkhart opened this issue May 22, 2016 · 10 comments
Open

Can't search; 405 #31

benny-burkhart opened this issue May 22, 2016 · 10 comments

Comments

@benny-burkhart
Copy link

Got two issues that may or may not be related.
a) Attempting a search, after clicking the search button, no results come up, and the loading icon remains present.
b) The service seems to return HTTP status 405:
2016-05-22 22:19:53 ::1 POST /Services/SpotifyCallbackService.svc - 7529 - ::1 - - 405 0 1 2
2016-05-22 22:20:31 ::1 POST /Services/SpotifyCallbackService.svc - 7529 - ::1 - - 405 0 1 0
Ideas & pointers are welcome. Thanks.

@fordprefect480
Copy link
Contributor

Sounds like you're encountering the same issue as this one. Will try to figure this out as soon as I get a chance.

@benny-burkhart
Copy link
Author

Hmmm thanks -- still getting the same 405 though, with the new ReadyToRun.zip from commit 3a26d25.
Is there anything I can do to find out in detail what's going on?

@blighter
Copy link

I'm getting this error too :(

@blighter
Copy link

I found the answer!
http://stackoverflow.com/questions/18004206/protocolexception-unhandled-405-method-not-allowed-with-wcf-bindings-and-endp

You need to add some services to Windows

@chenoww
Copy link

chenoww commented May 18, 2017

I am having the same issue as the original post from benboo, attempting a search, after clicking the search button, no results come up, and the loading icon remains present.

a) The service seems to return HTTP status 405 (although no results):
2017-05-18 01:13:08.4589|DEBUG|PlayMe.Server.MusicService|Getting track history records 1 to 6
2017-05-18 01:13:08.4589|DEBUG|PlayMe.Server.MusicService|Successfully got track history records 1 to 6
2017-05-18 01:13:12.2997|DEBUG|PlayMe.Server.MusicService|User Cheno\wayne searched for 'justin'
b) Config settings for the SpotifyCallbackService are correct in Server/app.config (to the best of my knowledge)
c) Permissions for the Site and its /Services dir are set as per the setup instructions.
d) Added the services to Windows per post from blighter.
e) Mongo is running, IIS has been set up appropriately, The PlayMe application has been started 'as administrator' and everything seems to be working correctly except i have no results when attempting a search for artist/song/track......

Any help would be greatly appreciated and if i can provide any further information to help with the solution please let me know.

Thanks in advance!!!

@chenoww
Copy link

chenoww commented May 19, 2017

In addition to my post above here are a few more bits of info that will hopefully help resolve this issue. My OS that i am running is windows 10. Also, my .NET Framework is v4.5. I do not have the option for v4.0, would this make any difference as to why i am having the no results when attempting a search for artist/album/track?

@chenoww
Copy link

chenoww commented May 20, 2017

Correction about HTTP status code. Here are my log files (sorry bout the wrong info above):
2017-05-20 00:13:43 ::1 GET / - 80 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/51.0.2704.79+Safari/537.36+Edge/14.14393 - 401 2 5 539
2017-05-20 00:13:54 ::1 GET / - 80 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/51.0.2704.79+Safari/537.36+Edge/14.14393 - 401 1 3221225581 41
2017-05-20 00:14:01 ::1 GET / - 80 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/51.0.2704.79+Safari/537.36+Edge/14.14393 - 401 1 3221225581 2
2017-05-20 00:14:15 ::1 GET / - 80 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/51.0.2704.79+Safari/537.36+Edge/14.14393 - 401 1 3221225581 1

@fordprefect480
Copy link
Contributor

fordprefect480 commented May 22, 2017

Hey @chenoww, apologies for my late reply - I'm no longer actively working on this repo however I hear that there may be newer versions in the works by other devs.

As for your issue, have you taken a look at @benboo's findings above? Am almost certain it will run on .NET v4.5 with no problems so we can probably ignore that as a factor.

@chenoww
Copy link

chenoww commented May 23, 2017

No worries, i understand.
If you could point me to the newer versions when they are released by the devs i would greatly appreciate it. Thanks.

@overflew
Copy link

Hi @chenoww - I bumped into the same 405 issue when I tried to setup my new version recently. The Stack Overflow answer is correct - There were 2x 'WCF HTTP activation' Windows features to add. I'm also on Win 10.

The issue I was having was that:

  • The UI didn't update the track playing when one had finished
  • The server console mentioned the 405 error

All working now - plain computer with no VS dev tools installed, and not running the server or IIS under an admin account :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants