"Host name may not be null" in app

Need help? Post your questions here.

Moderator: moderators

"Host name may not be null" in app

Postby Zmegolaz » Tue Dec 27, 2011 9:59 am

Hi,

I'm having some problems with the app.
If i'm at home on my own wifi it works great, but not from anywhere else. I know this sounds like a typical port forwarding problem, but the thing is that if I use my phone's (or any computer's) web browser and access the same address+port it works.
I have done some trouble shooting and confirmed with wireshark that the packets do reach the server when I klick "test connection", and it responds with the status "ok".
It would be great to know what the error message really means, which host name is missing?

Playback Application and version: Android app, version 3.3, on Galaxy Nexus with ICS 4.0.1.
Subsonic Version: 4.6 (build 2583) – December 6, 2011
Server Version: jetty-6.1.x, java 1.6.0_26, Windows Server 2008 R2 (141.1 MB / 193.4 MB)
Java Memory Limit: 200 MB
Output from ffmpeg -i: I don't have ffmpeg on the server.
Last ten log file lines:
Code: Select all
[12/27/11 10:09:17 AM CET]    INFO   PlayerDao   Created player 6.
[12/27/11 10:16:31 AM CET]    WARN   JaudiotaggerParser   Error when parsing tags in I:\MP3\What.cd\King Crimson - 1981 - Discipline - AAC\01 - Elephant Talk.aac
[12/27/11 10:16:31 AM CET]    WARN   JaudiotaggerParser   Failed to find cover art tag in I:\MP3\What.cd\King Crimson - 1981 - Discipline - AAC\01 - Elephant Talk.aac
[12/27/11 10:17:14 AM CET]    WARN   JaudiotaggerParser   Error when parsing tags in I:\MP3\What.cd\ATB - 801 - 2009 - Future Memories [Limited Edition] [K710, 0196968KON] [AAC]\0101 - L.A. Nights.aac
[12/27/11 10:17:14 AM CET]    WARN   CoverArtController   Failed to create thumbnail for I:\MP3\Hela_Album_Non-scene\The_Killers\The Killers - Hot Fuss\01 - Jenny Was A Friend Of Mine.mp3
[12/27/11 10:17:14 AM CET]    WARN   CoverArtController   Failed to create thumbnail for I:\MP3\Hela_Album_Non-scene\The_Killers\The Killers - Hot Fuss\01 - Jenny Was A Friend Of Mine.mp3
[12/27/11 10:26:55 AM CET]    INFO   PlayerDao   Created player 7.

Thanks,
/ Zmegolaz
Zmegolaz
 
Posts: 7
Joined: Tue Dec 27, 2011 9:13 am

Re: "Host name may not be null" in app

Postby Zmegolaz » Fri Dec 30, 2011 8:38 am

Noone has any idea?
I should also mention that I get the same error message when I try the Subsonic demo server.

/ Zmegolaz
Zmegolaz
 
Posts: 7
Joined: Tue Dec 27, 2011 9:13 am

Re: "Host name may not be null" in app

Postby torgull » Mon Jan 09, 2012 10:05 pm

Hey
I've got the same problem after updating from gingerbread to ICS android 4.0.3 on my HTC sensation. On WiFi no problems , but I can't connect on 3g. It is very very frustrating.

I have a license for subsonic but I am not able to use it now!

Please fix this


Using latest version of android app and latest version of subsonic. Nothing in log files about connection errors .
I tried to add a error screenshot but the forum is not accepting PNG files.
Running VM Subsonic standalone, v4.6 on Debian with ESXi5.1 as host. 512mb memory limit
torgull
 
Posts: 17
Joined: Fri Oct 21, 2011 10:55 am

Re: "Host name may not be null" in app

Postby bushman4 » Tue Jan 10, 2012 1:38 pm

The Subsonic Android App is not currently built for ICS.

There is a beta that someone else has built that reportedly works...

viewtopic.php?f=5&t=8497&hilit=ICS

HTH,

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 874
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: "Host name may not be null" in app

Postby torgull » Wed Jan 11, 2012 3:54 pm

ok thanks.
i will post in that topic
Running VM Subsonic standalone, v4.6 on Debian with ESXi5.1 as host. 512mb memory limit
torgull
 
Posts: 17
Joined: Fri Oct 21, 2011 10:55 am

Re: "Host name may not be null" in app

Postby brimur » Tue Jan 17, 2012 4:40 pm

If anyone else is affected by this then just go to Settings -> More -> Mobile Networks -> APN, select your APN and remove Proxy and/or Port.

Solution courtesy of atka
brimur
 
Posts: 3
Joined: Tue Jan 17, 2012 3:41 pm

Re: "Host name may not be null" in app

Postby torgull » Tue Jan 17, 2012 5:19 pm

thanks!!!!!

its working again.
i deleted proxy and port. subsonic works on 3G and my normal internet is still working :)

:mrgreen: :mrgreen: :mrgreen:
Running VM Subsonic standalone, v4.6 on Debian with ESXi5.1 as host. 512mb memory limit
torgull
 
Posts: 17
Joined: Fri Oct 21, 2011 10:55 am

Cannot access my server from Android phone. Not java 1.7!

Postby almahix » Fri Mar 23, 2012 1:27 am

I am running jre 1.6, windows 7 x64 on the pc, and the subsonic server is said to be running. On my Samsung Galaxy Nexus LTE I have Android 4.0.4. The subsonic app apparently sees the default server, but not my server.

I cannot get my pc and my android to communicate. The website view has all of the correct paths for music and playlists. When I originally configured this pc there was no problem connection to my server and accessing data.

Now when accessing Open subsonic in browser, all I get is an error on the pc that says:
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/index.view

When attempting to access anything from Android device, I get the error message:
Didn't understand the reply. Please check the server address.

Nothing has changed on the pc or the phone since I had everything working. This issue has been occurring for approximately one week. Please advise. I enjoy listening to subsonic in my car. I live in a remote area and have better cellular data than over the air broadcasting. Thanks!
almahix
 
Posts: 11
Joined: Wed Oct 27, 2010 12:19 am

Re: Cannot access my server from Android phone. Not java 1.7

Postby Hellscream » Wed Apr 18, 2012 9:02 am

I have similar problem with subsonic apk for my Samaung Gallaxy S II.
With latest apk for android i get error (host name can not be null) when i try to connect with 3G. Thats strange because everything is configured properly, with WiFi works fine.
I have Android 4.0.3 and i didnt have any problems with previous version.
I also test this apk on SE Xperia Arc S with Android 2.3 with same carrier and everything works fine with 3G and WiFi connection.
Im confused.
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Re: "Host name may not be null" in app

Postby Zmegolaz » Wed Apr 18, 2012 9:04 am

This doesn't work for me. :(

Nothing works when I remove the proxy settings.
My guess is that this depends on your operator, if you really need to go through the proxy or if it's optional.

I can see that the requests reach my server even when using the proxy, but maybe the proxy is modifying something. I will try to compare the packets when I get home.
Zmegolaz
 
Posts: 7
Joined: Tue Dec 27, 2011 9:13 am

Re: "Host name may not be null" in app

Postby BKKKPewsey » Wed Apr 18, 2012 12:40 pm

Have merged two threads as they appear to be the same problem
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: "Host name may not be null" in app

Postby FUNKILL » Fri Apr 20, 2012 12:54 pm

Zmegolaz wrote:This doesn't work for me. :(

Nothing works when I remove the proxy settings.
My guess is that this depends on your operator, if you really need to go through the proxy or if it's optional.


U tried to restart your Phone. I had same problem. It worked after a rebbot of Phone.
FUNKILL
 
Posts: 5
Joined: Fri Apr 20, 2012 12:46 pm

Re: "Host name may not be null" in app

Postby Hellscream » Thu Apr 26, 2012 8:54 am

Zmegolaz wrote:This doesn't work for me. :(

Nothing works when I remove the proxy settings.
My guess is that this depends on your operator, if you really need to go through the proxy or if it's optional.

I can see that the requests reach my server even when using the proxy, but maybe the proxy is modifying something. I will try to compare the packets when I get home.

I had the same problem on OS 2.3 everything is OK, on OS 4.0.3 get that terrible error "host name may not be null" but after I remove proxy work like a charm.My guess is that proxy is optional for my carrier.
I use android SS 3.9.9 on SGS II v4.0.3 rooted, pure ICS 7.3 custom rom
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Re: "Host name may not be null" in app

Postby oggie » Thu May 03, 2012 1:43 pm

I'm also seeing the same error when on 3g. It works fine over multiple wifi systems.

This used to work over 3g, but it no longer does. I can't remember which version used to work.

ICS 4.0.3 on HTC Sensation.
oggie
 
Posts: 35
Joined: Sun Dec 18, 2011 2:41 am

Re: "Host name may not be null" in app

Postby oggie » Thu May 03, 2012 5:16 pm

I just noticed in another thread that there is an issue with java 1.7.

I was running 1.7 on my server. Once I configured subsonic to run with 1.6, I can now connect over 3g.
oggie
 
Posts: 35
Joined: Sun Dec 18, 2011 2:41 am

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 24 guests