Remote working but no library

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
NVivas Offline
Junior Member
Posts: 2
Joined: Oct 2011
Reputation: 0
Post: #106
CodeItAway Wrote:Thank you. This was the problem for me too. I was using the CM based GingerVillian rom with the kernel which ships with the rom on my Desire.
I am now using the Gingerbread-HAVS-AXI-CFS manu kernel, which can be found here.

I can confirm that that particular kernel works! Puzzled!Tongue
find quote
clambert Offline
Member
Posts: 64
Joined: Dec 2010
Reputation: 0
Location: East Coast USA
Post: #107
Found this thread after having similar issues. I'm running CM 7.1 Final with Incredikernel 2.6.38.8 on my original HTC Incredible.

I'll try another kernel and see how things go when I get some free time. Right now I just want to chill and watch some TV. Smile

Glad i found this thread though. It was driving me nuts. Good to know I have company.

XBMC Box
Shuttle XS35GT w/ 2 GB RAM (No HDD)
Openelec 3.2.2 / XBMC 12.2 Frodo
OS Running on: USB Stick
find quote
clambert Offline
Member
Posts: 64
Joined: Dec 2010
Reputation: 0
Location: East Coast USA
Post: #108
clambert Wrote:Found this thread after having similar issues. I'm running CM 7.1 Final with Incredikernel 2.6.38.8 on my original HTC Incredible.

I'll try another kernel and see how things go when I get some free time. Right now I just want to chill and watch some TV. Smile

Glad i found this thread though. It was driving me nuts. Good to know I have company.

Just to touch back on this... I seem to be experiencing no issues with the default CM7 kernel for the Incredible. It definitely seems like the kernel has something to do with the problem.

Thanks for the heads up people. Smile

XBMC Box
Shuttle XS35GT w/ 2 GB RAM (No HDD)
Openelec 3.2.2 / XBMC 12.2 Frodo
OS Running on: USB Stick
find quote
Headcase_Fargon Offline
Senior Member
Posts: 163
Joined: Aug 2011
Reputation: 0
Post: #109
Latest CM7 nightly (Android 2.3.7) with Tiamat SBC kernel and I get this same issue. I'll try flashing the original CM7 kernel and see if that helps.
find quote
Mr. 47 Offline
Junior Member
Posts: 1
Joined: Oct 2011
Reputation: 0
Post: #110
I registered just to let you know about a temporary fix (sorry, didn't read through the 11 pages, so if it was already posted - I apologize).

I'm not the one who found it, I stumbled upon the fix on XBMC Remote development site, I think.

Anyway - the issue is with Gingerbread's implementation of network socket functions which are used by the remote. For some reason, when you use an IP address in the XBMC Remote, it will try to resolve it's ARPA notation through DNS instead of connecting directly. Why is it doing so, I have no idea, and it doesn't happen on Honeycomb, and hopefully also fixed on ICS.

For now, though, there are two workarounds:
1. Use the hostname (it's the cleanest solution, but unfortunately doesn't work for me).
2. Edit the hosts file on your rooted phone. The file /system/etc/hosts contains DNS resolutions which the phone tries to use before contacting a DNS server. Add the following line to it (supposing the IP address of your computer running XBMC is 192.168.0.111) :
Code:
192.168.0.111 [i]xbmchostname[/i]
Now you can use the hostname on your phone, and it will work. In fact, to my surprise (I still haven't figured that out, but what the hell), if you'll use the IP address after that it will work as well. So theoretically, you can write anything you want instead of xbmchostname, and it'll work (just don't write something real like google.com, or else you won't be able to access that from the phone).

P.S.: Editing system files is for advanced users, and you do so on your own responsibility.
find quote
XmemphistoX Offline
Member
Posts: 53
Joined: Aug 2010
Reputation: 0
Post: #111
I've always had this problem using MIUI. Went back to a sense rom using an EVO4g and it works again.

Tried your host file work around and it still does not work for me. Only when I swap my rom to something else will it work.

[Image: widget]
find quote
Headcase_Fargon Offline
Senior Member
Posts: 163
Joined: Aug 2011
Reputation: 0
Post: #112
Host hack didn't do anything for me on Cyanogenmod either.
find quote
ericq Offline
Junior Member
Posts: 4
Joined: Apr 2009
Reputation: 0
Post: #113
Adding my XBMC host to the Android hosts file worked for me!

I have a Samsung I9100 (Galaxy S2). Running Default rom and Cyyanogenmod 7.1.0 and this fix it on both roms. Also does this works on the X10 running 2.3.3 stock rom.

Thnx MR. 47 i finaly can use the remote again after a year!

Mr. 47 Wrote:I registered just to let you know about a temporary fix (sorry, didn't read through the 11 pages, so if it was already posted - I apologize).

I'm not the one who found it, I stumbled upon the fix on XBMC Remote development site, I think.

Anyway - the issue is with Gingerbread's implementation of network socket functions which are used by the remote. For some reason, when you use an IP address in the XBMC Remote, it will try to resolve it's ARPA notation through DNS instead of connecting directly. Why is it doing so, I have no idea, and it doesn't happen on Honeycomb, and hopefully also fixed on ICS.

For now, though, there are two workarounds:
1. Use the hostname (it's the cleanest solution, but unfortunately doesn't work for me).
2. Edit the hosts file on your rooted phone. The file /system/etc/hosts contains DNS resolutions which the phone tries to use before contacting a DNS server. Add the following line to it (supposing the IP address of your computer running XBMC is 192.168.0.111) :
Code:
192.168.0.111 [i]xbmchostname[/i]
Now you can use the hostname on your phone, and it will work. In fact, to my surprise (I still haven't figured that out, but what the hell), if you'll use the IP address after that it will work as well. So theoretically, you can write anything you want instead of xbmchostname, and it'll work (just don't write something real like google.com, or else you won't be able to access that from the phone).

P.S.: Editing system files is for advanced users, and you do so on your own responsibility.
find quote
XELOR Offline
Junior Member
Posts: 45
Joined: Jul 2009
Reputation: 0
Post: #114
Mr. 47 Wrote:I registered just to let you know about a temporary fix (sorry, didn't read through the 11 pages, so if it was already posted - I apologize).

I'm not the one who found it, I stumbled upon the fix on XBMC Remote development site, I think.

Anyway - the issue is with Gingerbread's implementation of network socket functions which are used by the remote. For some reason, when you use an IP address in the XBMC Remote, it will try to resolve it's ARPA notation through DNS instead of connecting directly. Why is it doing so, I have no idea, and it doesn't happen on Honeycomb, and hopefully also fixed on ICS.

For now, though, there are two workarounds:
1. Use the hostname (it's the cleanest solution, but unfortunately doesn't work for me).
2. Edit the hosts file on your rooted phone. The file /system/etc/hosts contains DNS resolutions which the phone tries to use before contacting a DNS server. Add the following line to it (supposing the IP address of your computer running XBMC is 192.168.0.111) :
Code:
192.168.0.111 [i]xbmchostname[/i]
Now you can use the hostname on your phone, and it will work. In fact, to my surprise (I still haven't figured that out, but what the hell), if you'll use the IP address after that it will work as well. So theoretically, you can write anything you want instead of xbmchostname, and it'll work (just don't write something real like google.com, or else you won't be able to access that from the phone).

P.S.: Editing system files is for advanced users, and you do so on your own responsibility.

Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!
Thank you!

Just like ericq I haven't been able to figure this out! It never dawned on me that the hosts file I use to block all the ads on my droid was affecting this. I appriciate you posting your solution.
find quote
nevereven Offline
Junior Member
Posts: 7
Joined: Nov 2011
Reputation: 0
Post: #115
:sad:Evo 4G with CM7.1 and latest tiamat kernel. Like many others, remote has been working, but nothing else. I changed from an IP address to a host name, and now it sometimes works for a few seconds.
Settings:
Host:HTPC
Port:33149
username: xbmc
password *****
EventServer port:9777
WiFi only checked
Access Point: (empty, what goes here?)
Mac Address: <MAC address of HTPC>
Socket read timeout: 100000
Wait after WOL:40
WOL port: 9
Windows firewall is off.
No ports are forwarded on my router since this should all be internal.

If I put http://HTPC:33149 in my android browser, it asks for a user name and password, then I can get a list of movies and start one playing.

In XBMC remote, if I keep pressing "try again to connect", I can sometimes connect and see a list of movies. When I press back,I've usually been disconnected.

I've been trying for many days to get this working. Thanks for any help...

Here's my log filtering on "xbmc". I took out some repetitive lines to get my post under 10k characters.

Code:
I/ActivityThread( 5905): Pub org.xbmc.android.provider.remote: org.xbmc.android.remote.business.provider.HostProvider
I/HostFactory( 5905): XBMC Host = HTPC
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/ActivityManager(  189): Displayed org.xbmc.android.remote/.presentation.activity.HomeActivity: +968ms
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=SetResponseFormat(WebHeader;true;WebFooter;true;Header; ;Footer; ;OpenTag;<li>;CloseTag;
I/org.xbmc.android.remote.business.InfoManager( 5905): *** getSystemInfo: 320ms
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/ClientFactory( 5905): Found XBMC at Git commit e9e9099!
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/org.xbmc.android.remote.business.InfoManager( 5905): *** getSystemInfo: 59ms
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/org.xbmc.android.remote.business.InfoManager( 5905): *** getSystemInfo: 62ms
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/org.xbmc.android.remote.business.InfoManager( 5905): *** getSystemInfo: 71ms
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
I/HostFactory( 5905): XBMC Host = HTPC
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=QueryVideoDatabase(SELECT idMovie, c00, c07, strPath, strFileName, c15, c11, c14, ROUND(c05, 2), playCount FROM movie, files, path WHERE movie.idFile=files.idFile AND path.idPath=files.idPath ORDER BY CASE WHEN c10 IS NULL OR c10 = '' THEN lower(c00) ELSE lower(c10) END ASC)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
I/ActivityManager(  189): Displayed org.xbmc.android.remote/.presentation.activity.MovieLibraryActivity: +601ms
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
I/org.xbmc.android.remote.business.VideoManager( 5905): *** getMovies: 872ms
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.prefetch(Client.java:236)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCoverFromMicroHTTPd(Client.java:167)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCover(Client.java:79)
W/System.err( 5905):     at org.xbmc.httpapi.client.VideoClient.getCover(VideoClient.java:238)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread.download(DownloadThread.java:123​)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread$1.run(DownloadThread.java:87)
W/System.err( 5905):     at org.xbmc.android.remote.business.AbstractThread.run(AbstractThread.java:61)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.prefetch(Client.java:236)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCoverFromMicroHTTPd(Client.java:174)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCover(Client.java:79)
W/System.err( 5905):     at org.xbmc.httpapi.client.VideoClient.getCover(VideoClient.java:238)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread.download(DownloadThread.java:123​)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread$1.run(DownloadThread.java:87)
W/System.err( 5905):     at org.xbmc.android.remote.business.AbstractThread.run(AbstractThread.java:61)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.prefetch(Client.java:236)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCoverFromMicroHTTPd(Client.java:167)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCover(Client.java:79)
W/System.err( 5905):     at org.xbmc.httpapi.client.VideoClient.getCover(VideoClient.java:238)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread.download(DownloadThread.java:123​)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread$1.run(DownloadThread.java:87)
W/System.err( 5905):     at org.xbmc.android.remote.business.AbstractThread.run(AbstractThread.java:61)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.prefetch(Client.java:236)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCoverFromMicroHTTPd(Client.java:174)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCover(Client.java:79)
W/System.err( 5905):     at org.xbmc.httpapi.client.VideoClient.getCover(VideoClient.java:238)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread.download(DownloadThread.java:123​)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread$1.run(DownloadThread.java:87)
W/System.err( 5905):     at org.xbmc.android.remote.business.AbstractThread.run(AbstractThread.java:61)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCoverFromMicroHTTPd(Client.java:195)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCover(Client.java:79)
W/System.err( 5905):     at org.xbmc.httpapi.client.VideoClient.getCover(VideoClient.java:238)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread.download(DownloadThread.java:123​)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread$1.run(DownloadThread.java:87)
W/System.err( 5905):     at org.xbmc.android.remote.business.AbstractThread.run(AbstractThread.java:61)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.prefetch(Client.java:236)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCoverFromMicroHTTPd(Client.java:167)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCover(Client.java:79)
W/System.err( 5905):     at org.xbmc.httpapi.client.VideoClient.getCover(VideoClient.java:238)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread.download(DownloadThread.java:123​)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread$1.run(DownloadThread.java:87)
W/System.err( 5905):     at org.xbmc.android.remote.business.AbstractThread.run(AbstractThread.java:61)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCoverFromMicroHTTPd(Client.java:195)
W/System.err( 5905):     at org.xbmc.httpapi.client.Client.getCover(Client.java:79)
W/System.err( 5905):     at org.xbmc.httpapi.client.VideoClient.getCover(VideoClient.java:238)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread.download(DownloadThread.java:123​)
W/System.err( 5905):     at org.xbmc.android.remote.business.DownloadThread$1.run(DownloadThread.java:87)
W/System.err( 5905):     at org.xbmc.android.remote.business.AbstractThread.run(AbstractThread.java:61)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/ClientFactory( 5905): Found XBMC at Git commit e9e9099!
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
I/org.xbmc.android.remote.business.InfoManager( 5905): *** getSystemInfo: 109ms
I/Connection( 5905): http://HTPC:33149/xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying( ; ; ;true)
find quote
pr0fan3 Offline
Junior Member
Posts: 1
Joined: Dec 2011
Reputation: 0
Post: #116
I've solved the issue on my Galaxy S2 with Gingerbread 2.3.3 and XBMC Dharma 10.1. I disabled DNS Relay on my router and I redundantly manually entered the DNS servers on my Wifi Connection. Not entirely sure how this resolved the issue, but I reverted to DNS Relay On and automatic DNS assignment by my router, and the issue returned. So awesome to have my library back.
find quote
Post Reply