goodev / android-squeezer

Automatically exported from code.google.com/p/android-squeezer
1 stars 0 forks source link

does not connect to server #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install app
2. start scan to get server address (LocalIP:9090)
3. attempt to connect

What is the expected output? What do you see instead?
Connection Failed : Check Settings. 

What version of the product are you using? On what operating system?
1.0.1

Please provide any additional information below.
Logitech Squeezebox Controller App works every time. 

Original issue reported on code.google.com by chas.sni...@gmail.com on 9 May 2014 at 8:13

GoogleCodeExporter commented 9 years ago
I am not able to tell from the description what the problem is, but it could be 
that you do not run your own server. Squeezer does not work with 
MySqueezeBox.com, it requires that you run Logitech Media Server (LMS), on your 
own server. 

I hope this helps, otherwise please post some more info info about your server 
and players, and I will try yo help.

Original comment by kaaho...@gmail.com on 10 May 2014 at 8:25

GoogleCodeExporter commented 9 years ago
I do run LMS, Debian 7.7.3, on Ubuntu. I can connect via HTTP on port 9000, and 
the Logitech Squeezebox Controller app works. I have a Squeezebox v3 and also a 
piCore Player. Check history at itjerk.com.

I have ensured that port 9090 is open on my computer and disabled password 
support in LMS settings. 

Squeeze just doesn't connect. Happy to provide any further details, would love 
to use this product. 

Original comment by chas.sni...@gmail.com on 10 May 2014 at 10:35

GoogleCodeExporter commented 9 years ago
My guess is that it is some setting in the server, which causes the problem, so 
here are a few hints.

Squeezer connects through the SqueezeboxServers command line interface (CLI). 
The standard CLI port is 9090, and can be changed by the web-interface. See the 
attached screenshot. If you have a telnet program installed on a computer, you 
can test the CLI connection like the example on the second screenshot.

You can configure the port number in Squeezer by specifying it with a colon in 
the address.
E.g., if your server is on IP 192.168.0.3 port 9092, enter the address as 
192.168.0.3:9092.

When you say that you can connect via HTTP on port 9000, do you mean from your 
phone? If not this is a good test.

Finally Squeezer actually does support password protected LMS. I would leave 
this off however, until you have a connection.

Original comment by kaaho...@gmail.com on 11 May 2014 at 11:07

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Definitely works on the server itself, but other computers on the subnet cannot 
connect via 9090. turned firewall off, still can't connect. 

$ telnet 127.0.0.1 9090
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
^]

telnet> quit
Connection closed.
one@one-desktop:~/Desktop$ sudo netstat -an | grep  "9090"
tcp        0      0 0.0.0.0:9090            0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:35495         127.0.0.1:9090          TIME_WAIT  
tcp        0      0 127.0.0.1:35497         127.0.0.1:9090          TIME_WAIT  

Original comment by chas.sni...@gmail.com on 11 May 2014 at 3:47

GoogleCodeExporter commented 9 years ago
In that case, I think it's the Advanced/Security/Block Incoming Connections 
setting. (see attached screenshot).

Original comment by kaaho...@gmail.com on 11 May 2014 at 4:17

Attachments:

GoogleCodeExporter commented 9 years ago
See attached. 

Original comment by chas.sni...@gmail.com on 12 May 2014 at 10:05

Attachments:

GoogleCodeExporter commented 9 years ago
Your security setup looks ok.

I have a few questions to help pinpoint the problem.

1. From the screenshot it seems the computer which runs LMS has IP address 
192.168.0.12, Is that correct?
2. Can you connect to 192.168.0.12:9000 from the browser on the same device you 
run Squeezer (probably your phone)?
3. What is the ip address of your phone (system settings/wifi/menu/advanced)?
4 .What is the result of running a scan for servers from squeezer?

Original comment by kaaho...@gmail.com on 13 May 2014 at 7:54

GoogleCodeExporter commented 9 years ago
1. Yes
2. Yes
3. 192.168.0.21
4. 192.168.0.12:9090

Original comment by chas.sni...@gmail.com on 14 May 2014 at 12:45

GoogleCodeExporter commented 9 years ago
Hmm, your configuration seems ok, and both the phone and server is on the 
network, since the scan result is correct, and it connects via the browser.

The netstat shows that the server is indeed listening on port 9090, it doesn't 
say however which program is listening, i.e. if it is LMS.

If I understand correct, connections to port 9090 is only possible from the 
server itself, not from the phone (via Squeezer), and not from other computers. 
This leads me to believe the problem is on the server (not LMS but something 
else on the server). We've had another issue, where the problem was that port 
9090 was used for something else.

If this is not the case, then I'm afraid I'm not able to dig deeper into the 
problem, but I'm sure you will be able to get help from wiki.slimdevices.com 
and/or forums.slimdevices.com/.

Original comment by kaaho...@gmail.com on 17 May 2014 at 8:52

GoogleCodeExporter commented 9 years ago
I have some news. I recently rebuilt my LMS server with Ubuntu 14.04LTS. I no 
longer have issues with Squeezer connecting to it. Chalk it up to something 
somewhere.

Original comment by chas.sni...@gmail.com on 28 Jul 2014 at 3:45

GoogleCodeExporter commented 9 years ago
That's good news, thanks for the update, and happy to hear that you solved your 
problem.

Original comment by kaaho...@gmail.com on 29 Jul 2014 at 8:43

GoogleCodeExporter commented 9 years ago

Original comment by n...@ngo.org.uk on 29 Jul 2014 at 10:15