XBMC Connect broken

Since latest few dev versions XBMC connect seems to be broken.
NzbDrone Ver. 2.0.0.1576

When I do a test nothing happens and eventually it fails, happens with previous 3 dev versions also.
I already deleted connection and re-added without luck.

I don’t see anything in xbmc debug log with latest dev, in previous version i saw something like this
01:27:58 T:2872083536 DEBUG: webserver: request received for /jsonrpc/654687463416987435

Now in current version it is this
01:27:58 T:2872083536 DEBUG: webserver: request received for /jsonrpc

/edit
Tested it also with CouchPotato and there it works so XBMC setup is fine.

Please provide relevent debug logs from drone.

i get this with mine when you hit test.

Task Error: Verion received from XBMC is invalid, please correct your settings.

NzbDrone.Core.Notifications.Xbmc.InvalidXbmcVersionException: Verion received from XBMC is invalid, please correct your settings.
at NzbDrone.Core.Notifications.Xbmc.XbmcService.Execute(TestXbmcCommand message) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\otifications\Xbmc\XbmcService.cs:line 118
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TCommand](Command command) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Messaging\Commands\CommandExecutor.cs:line 137
at NzbDrone.Core.Messaging.Commands.CommandExecutor.<>c__DisplayClass9`1.b__5() in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Messaging\Commands\CommandExecutor.cs:line 86
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

@mspec could you enable trace logging and retry? It should log the response from XBMC.

Here you are Markus.

@markus101
Sorry for the missing files but my results are the same as @mspec

Okay, need some more information, this appears to be an issue with how XBMC is setup as it is closing the connection.

I need the following:

The OS - Flavour and version

Which port is XBMC listening on?

Is a username configured?

Is a password configured?

Is it a complex password?

Are drone and XBMC on the same machine?

What’s the host address you’re using to connect to XBMC (hostname or IP)?

Are drone and XBMC on the same system?

Is there a firewall running on the XBMC machine?

Is there a firewall on the drone machine?

xbmc - 13.1

port - 8080 (default)

password - yes

complex - no its only 4 lower case letters

xbmc and drone on same machine - Yes

host address - Currently set to 192.168.1.100 , have also tried 127.0.01 with same result

firewall - Yes but is configured to allow access to xbmc, drone, sab and, Maraschino as well as xammp (port 80)

For me it works maybe 5% of the time but 95% of the time the error is there in the log as per my previous post

.

here is some more log.

Could you try:

  1. no password set in XBMC

  2. password, but no firewall

  3. no password, no firewall

I’m pretty sure its something with Windows or XBMC for Windows, because I never see this on my OpenELEC machine. I’ve had others report that disabling the password fixed their issue (might not be the same one).

have removed password and test completed ok , will see how that goes.

yeah passwords can mess with xbmc and the notifications i haven’t had one on there in a while but i remember that i used to have issues with having a password set in xbmc currently i have all my shares set on everyone (in windows) so no password to access the shared drives on the network but seeing as i am the only one using the shares it is not really an issue :slight_smile:

I do have one Openelec Machine and One Windows 8.1 machine and both recieve notifications just fine using this method the windows firewall is on my current server is just simply running Windows 7 x64 so maybe because i am just using a desktop OS for the server (at least until my new one is complete) the security restrictions are less well restrictive

I am not sure how it will go when i start running my new server with either Windows Server 2012 or perhaps a linux distro if i am brave enough…

@markus101 said:
Could you try:

  1. no password set in XBMC
  2. password, but no firewall
  3. no password, no firewall
    I’m pretty sure its something with Windows or XBMC for Windows, because I never see this on my OpenELEC machine. I’ve had others report that disabling the password fixed their issue (might not be the same one).

------> I also run OpenELEC but still have this issue.

@markus101 said:
Okay, need some more information, this appears to be an issue with how XBMC is setup as it is closing the connection.
I need the following:

The OS - Flavour and version
------> OpenELEC 4.0.4

Which port is XBMC listening on?
------> default 8080

Is a username configured?
------> yes, xbmc

Is a password configured?
------> yes, xbmc

Is it a complex password?
------> no

Are drone and XBMC on the same machine?
------> no

What’s the host address you’re using to connect to XBMC (hostname or IP)?
------> 10.0.0.30

Are drone and XBMC on the same system?
------> no

Is there a firewall running on the XBMC machine?
------> no

Is there a firewall on the drone machine?
------> no

@schumi2004 what OS is drone running on?

If you remove the password does the issue persist?

drone is running on a synology. It worked before until after a certain commit. To bad I can’t tell precise which commit

Removing username pass from xbmc instance makes it work again.

Hi guys, i have the same issue since the same update.
NZBDRONE on asustor NAS (works very well!!) latest version
XBMC gotham running on NUC with windows 8.1
I didn’t change the setup that worked previously.
I’m also password protected.
I have this message in my log:

Unable to send OnGrab notification to: XBMC: The remote server returned an error: (404) Not Found.

System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00346] in /asustor/cross/as-3xx/trunk/source/mono-3.4.0/mcs/class/System/System.Net/HttpWebRequest.cs:1733
at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00165] in /asustor/cross/as-3xx/trunk/source/mono-3.4.0/mcs/class/System/System.Net/HttpWebRequest.cs:1501

Any idea?

Many thanks!

@renocz thats a symptom, not the cause, but there does seem to be an issue with XBMC + drone, removing the password gets it working again.

FYI:

The OS - Flavour and version = Mac OS X Mavericks 10.9.4

Which port is XBMC listening on? = 8080

Is a username configured? = Yes (plain letters)

Is a password configured? = Yes

Is it a complex password? = No (plain letters and numbers)

Are drone and XBMC on the same machine? = Yes

What’s the host address you’re using to connect to XBMC (hostname or IP)? = Tried both

Are drone and XBMC on the same system? = Yes

Is there a firewall running on the XBMC machine? = No

Is there a firewall on the drone machine? = Irrelevant

It worked with same version of XBMC, same OS, Same everything except that i updated nzbDrone. Believe my previous version was 2.0.0.1581. Removing password from XBMC web server worked.

Thank you markus101! I know it works without password but it’s still strange…if i can help you debug it please let me know.

Cheers,

Renaud