HTTP Service not working
#1
I am trying to get the Android Remote working. I followed the wiki and tried a test from the browser with:

176.0.2:8080/xbmcCmds/xbmcHttp?command=GetSystemInfo(120;121)

where the ip address of my xbmc machine is 172.16.0.2

HTTP is enabled in xbmc. Along will allow programs to control xbmc. 8080 is set for the port in Settings.


I am getting File Not Found returned instead of the version number like it is supposed to return. Any idea of the issue?
Reply
#2
im going to assume the ip in your example is a typo (missing the .16 as you stated in teh next line), but the "xbmchttp?" requests have been removed in favor of json requests in current builds.

http://wiki.xbmc.org/?title=JSON-RPC_API

http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v6 < frodo version.
Reply
#3
(2013-11-01, 09:01)el_cabong Wrote: im going to assume the ip in your example is a typo (missing the .16 as you stated in teh next line), but the "xbmchttp?" requests have been removed in favor of json requests in current builds.

http://wiki.xbmc.org/?title=JSON-RPC_API

http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v6 < frodo version.


Yes it was a typo sorry.

Sorry but I know little about json. How would I do this in json?


Would this mean the remote app won't work? Or does it simply mean the wiki needs to be updated?
Reply
#4
Anything using httpapi will not work. If you see examples of this being used in a wiki article and there's no disclaimer on that page stating this is now obsolete, please provide a link to that page so it can be updated accordingly. Thanks.
Reply
#5
(2013-11-01, 20:41)artrafael Wrote: Anything using httpapi will not work. If you see examples of this being used in a wiki article and there's no disclaimer on that page stating this is now obsolete, please provide a link to that page so it can be updated accordingly. Thanks.

Very bottom of this page

http://code.google.com/p/android-xbmcrem..._and_later

I would still like to know how to do the test in json
Reply
#6
Update. I really don't need json string as I am pretty sure http is running. I can control xbmc from my local browser using 127.0.0.1 but I can't connect with the ip address 176.16.0.2, the xmbc PC's IP.. Even if I try from the browser local to the xbmc.

I can ping that address both locally and from another pc on my network.


I am running Windows 7 with a NetGear router. Maybe I need to open up the firewall? Details would be greatly appreciated.
Reply
#7
I got this working. I had to enable Private Network fo XBMC in my firewall settings.

I also got the Android remote app to work too. Very cool!.
Reply

Logout Mark Read Team Forum Stats Members Help
HTTP Service not working0