Jump to content

Can't get 2nd Android phone to connect to server over wifi


mdgentile

Recommended Posts

mdgentile

I can connect to my pc server fine with my One Plus One but no matter what I do can't get my wife's Nexus 5 to do the same. I've tried reinstalling the app a few times and signing in with Emby Connect, but nothing works. It always says 'server unreachable'.

 

Any help is appreciated.

 

Thanks

Link to comment
Share on other sites

mdgentile

I tried all the suggestions in the tutorial with no luck so far.

 

The Nexus 5 cannot reach the server via the local url or the remote, while my phone can.

 

For proxy settings in the APN, the Nexus was already blank, whereas in my phone there was a proxy setting, yet I could connect fine.

 

I'm stumped.

Link to comment
Share on other sites

are you able to connect to the server using the web interface from your nexus 5? that would be good info to help proceed further.

Link to comment
Share on other sites

mdgentile

Same thing on my phone actually, no servers available.

 

I can access from my phone by using the your.Server.Ip.Here:8096/mediabrowser method.

 

I cannot from the Nexus.

Link to comment
Share on other sites

mdgentile

21:53:57.840 [main] INFO App - Application Version: 2.2.18

21:53:57.846 [main] INFO App - Android Version: 5.1

21:53:57.847 [main] INFO App - Device: Nexus 5

21:53:57.848 [main] INFO App - Screen Width: 1080

21:53:57.848 [main] INFO App - Screen Height: 1776

21:53:57.848 [main] INFO App - Density: 3.0

21:53:57.848 [main] INFO App - DensityDpi: 480

21:53:57.852 [main] INFO App - Total Memory Available: 322 MB

21:53:57.853 [main] INFO App - Max Memory usable per Application: 192 MB

21:53:57.853 [main] INFO App - Application object initialized

21:54:02.668 [Thread-1156] DEBUG App - Entering initial connection workflow

21:54:02.670 [Thread-1156] DEBUG App - Testing local device network connection

21:54:02.671 [Thread-1156] DEBUG App - Android device is connected to a network

21:54:02.671 [Thread-1156] DEBUG App - Getting saved servers via credential provider

21:54:02.727 [Thread-1156] DEBUG App - Scanning network for local servers

21:54:02.731 [Thread-1159] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Request packet sent to: 255.255.255.255 (DEFAULT)

21:54:02.743 [Thread-1159] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Request packet sent to: 192.168.2.255; Interface: wlan0

21:54:02.743 [Thread-1159] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Done looping over all network interfaces. Now waiting for a reply!

21:54:03.736 [Thread-1159] DEBUG App - Server discovery timed out waiting for response.

21:54:03.737 [Thread-1159] DEBUG App - Found 0 servers

21:54:03.756 [Thread-1159] DEBUG App - Looping through server list

21:54:03.756 [Thread-1159] DEBUG App - No saved authentication

21:54:03.757 [Thread-1159] INFO App - **** SERVER SELECTION ****

21:54:03.758 [Thread-1159] DEBUG App - Testing local device network connection

21:54:03.758 [Thread-1159] DEBUG App - Android device is connected to a network

21:54:03.758 [Thread-1159] DEBUG App - Getting saved servers via credential provider

21:54:03.769 [Thread-1159] DEBUG App - Scanning network for local servers

21:54:03.770 [Thread-1160] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Request packet sent to: 255.255.255.255 (DEFAULT)

21:54:03.786 [Thread-1160] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Request packet sent to: 192.168.2.255; Interface: wlan0

21:54:03.786 [Thread-1160] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Done looping over all network interfaces. Now waiting for a reply!

21:54:04.786 [Thread-1160] DEBUG App - Server discovery timed out waiting for response.

21:54:04.786 [Thread-1160] DEBUG App - Found 0 servers

21:54:04.809 [main] DEBUG App - Updating header buttons for server selection

21:54:04.810 [main] DEBUG App - Creating server list

21:54:04.810 [main] DEBUG App - 0 servers to display

21:54:25.960 [main] DEBUG App - Showing manual server entry dialog

21:54:25.967 [main] DEBUG App - Dialog visible

21:54:29.811 [main] DEBUG App - Attempting to manually connect to http://:8096

21:54:29.812 [main] DEBUG App - Attempting to connect to server at http://:8096

21:54:29.814 [main] DEBUG App - Adding request to queue: http://:8096/mediabrowser/system/info/public?format=json

21:54:29.866 [main] ERROR App - VolleyError com.android.volley.NoConnectionError: java.net.UnknownHostException: http://:8096/mediabrowser/system/info/public?format=json

com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:157)

com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:112)

caused by com.squareup.okhttp.internal.http.RouteSelector.get(RouteSelector.java:97)

com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:309)

com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:235)

com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:425)

com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:376)

com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:471)

com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:109)

com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:96)

com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:112)

21:54:29.867 [main] DEBUG App - No server available

21:54:29.868 [main] INFO App - **** UNAVAILABLE ***

21:54:57.049 [main] DEBUG App - Showing manual server entry dialog

21:54:57.049 [main] DEBUG App - Dialog visible

Link to comment
Share on other sites

what are you typing into the manual address screen? that error message suggests it's something invalid

Link to comment
Share on other sites

mdgentile

When I first launch I get the Welcome to Emby page, which then prompts me to log in with Emby Connect, which I do.

 

It says connecting but then goes to the server select page, showing no servers and Sign in With MB Connect at the bottom.

 

If I hit Change Server to manually enter, I put the IP of the internal server, which is 192.168.2.20. It just says server unreacahable.

 

Same if I try the external IP.

 

I don't have to do anything on the other phone. As soon as I installed the app it found the server on its own.

 

If I navigate to app.Emby.media and log in, it says no servers are available to connect to. This happens on my phone as well.

Link to comment
Share on other sites

Have you linked your server with emby connect? That could be why the list is empty

Link to comment
Share on other sites

mdgentile

I had not. Never thought of that as it worked on the one phone fine.

 

It is now working on the Nexus and Web Access now works on both phones.

 

Thank you very much!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...