PlayMe icon indicating copy to clipboard operation
PlayMe copied to clipboard

Can't search; 405

Open benny-burkhart opened this issue 9 years ago • 10 comments

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.

benny-burkhart avatar May 22 '16 22:05 benny-burkhart

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

fordprefect480 avatar May 23 '16 03:05 fordprefect480

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?

benny-burkhart avatar Jun 12 '16 22:06 benny-burkhart

I'm getting this error too :(

blighter avatar Dec 15 '16 17:12 blighter

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

blighter avatar Dec 15 '16 18:12 blighter

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 avatar May 18 '17 06:05 chenoww

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 avatar May 19 '17 07:05 chenoww

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

chenoww avatar May 20 '17 06:05 chenoww

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.

fordprefect480 avatar May 22 '17 03:05 fordprefect480

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.

chenoww avatar May 23 '17 03:05 chenoww

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 :)

overflew avatar Jun 28 '17 07:06 overflew