PDA

View Full Version : [APPLETV] Web server not working?


Zedlic
2008-10-02, 20:55
Hello.

I'm trying to update my XBMC library through the Web server with:

curl --get "http://192.168.1.33:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=XBMC.updatelibrary(video)"

but it says "couldn't connect to host". Seems like the web server isn't running even though it's turned on in XBMC settings. Is there anything in the AppleTV that prevents the web server from running, and is there any way to fix it?

Thanks.

d4rk
2008-10-02, 21:18
Are you able to SSH in? If you are, try ports between 8081-8085 for the web browser. If that doesn't work, get a hold of your log file ~/Library/Logs/xbmc.log and paste (http://pastebin.com) it.

Zedlic
2008-10-02, 21:54
I've been trying to paste this into Pastebin for the last 15 minutes but it always fails with:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1906703 bytes) in /home/pastebin/lib/geshi/geshi.php on line 2077

seems like the file's too big for pastebin, but in that case I'm not sure what part to paste. Any advice?

Edit: Funny, I tried connecting again and it worked fine. Exactly the same command as I pasted above. Guess something happened to kickstart the server. Thanks anyway for the help.

d4rk
2008-10-02, 22:01
Can you try http://rafb.net/paste/ ? If not, preferably some other free hosting providers.

Zedlic
2008-10-02, 23:37
Can you try http://rafb.net/paste/ ? If not, preferably some other free hosting providers.

I'll just paste the edit above in case you missed it:

Edit: Funny, I tried connecting again and it worked fine. Exactly the same command as I pasted above. Guess something happened to kickstart the server. Thanks anyway for the help.