Unable to connect on mobile

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Unable to connect on mobile

Postby mychickensonfire » Wed Jun 26, 2013 1:06 pm

I am able to stream music over wifi but not mobile. Various other threads suggest it is router and firewall related, however I have been unable to resolve it. Can you please confirm whether you think the problem is on my side.

- I have forwarded the port 4040 and have checked via a website that the port is open. I also turned off my firewall and it made no difference.
- If I type my IP address and port in my phone browser it connects to subsonic
- If I select open in browser from the settings menu for my server it connects
- If I select test connection from the settings menu for my server it does not find the server
- My wife's iphone works fine via mobile using iSub

Any other ideas anyone could suggest would be appreciated.
mychickensonfire
 
Posts: 7
Joined: Wed Jun 26, 2013 12:48 pm

Re: Unable to connect on mobile

Postby daneren2005 » Wed Jun 26, 2013 8:11 pm

Can you send me a log after trying to connect? I can look and see what error message it is giving at least.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Unable to connect on mobile

Postby mychickensonfire » Thu Jun 27, 2013 4:18 am

Thanks for the response. Hopefully below is what you're after.

--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
06-27 08:16:35.870 I/ActivityThread(28365): Pub github.daneren2005.dsub.provider.DSubSearchProvider: github.daneren2005.dsub.provider.DSubSearchProvider
06-27 08:16:36.120 I/MainActivity(28365):
06-27 08:16:36.370 I/FileUtil(28365): Deserialized object from /data/data/github.daneren2005.dsub/cache/downloadstate.ser
06-27 08:16:36.390 I/CacheCleaner(28365): File system : 4.64 GB of 12.26 GB available
06-27 08:16:36.390 I/CacheCleaner(28365): Cache limit : 1.95 GB
06-27 08:16:36.390 I/CacheCleaner(28365): Cache size before : 30.69 MB
06-27 08:16:36.390 I/CacheCleaner(28365): Minimum to delete : 0 B
06-27 08:16:36.390 I/CacheCleaner(28365): Deleted : 0 B
06-27 08:16:36.390 I/DownloadServiceLifecycleSupport(28365): Deserialized currentPlayingIndex: -1, currentPlayingPosition: 0
06-27 08:16:36.420 I/DownloadServiceLifecycleSupport(28365): Serialized currentPlayingIndex: -1, currentPlayingPosition: 0
06-27 08:16:36.430 I/FileUtil(28365): Serialized object to /data/data/github.daneren2005.dsub/cache/downloadstate.ser
06-27 08:16:36.490 E/ (28365): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
06-27 08:16:36.490 I/ (28365): Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl
06-27 08:16:36.550 I/ (28365): Loaded EGL implementation /system/lib//egl/libEGL_tegra_impl
06-27 08:16:36.590 I/ (28365): Loading GLESv2 implementation /system/lib//egl/libGLESv2_tegra_impl
06-27 08:16:36.600 I/DownloadServiceLifecycleSupport(28365): Headset event for: h2w
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
06-27 08:16:35.870 I/ActivityThread(28365): Pub github.daneren2005.dsub.provider.DSubSearchProvider: github.daneren2005.dsub.provider.DSubSearchProvider
06-27 08:16:36.120 I/MainActivity(28365):
06-27 08:16:36.370 I/FileUtil(28365): Deserialized object from /data/data/github.daneren2005.dsub/cache/downloadstate.ser
06-27 08:16:36.390 I/CacheCleaner(28365): File system : 4.64 GB of 12.26 GB available
06-27 08:16:36.390 I/CacheCleaner(28365): Cache limit : 1.95 GB
06-27 08:16:36.390 I/CacheCleaner(28365): Cache size before : 30.69 MB
06-27 08:16:36.390 I/CacheCleaner(28365): Minimum to delete : 0 B
06-27 08:16:36.390 I/CacheCleaner(28365): Deleted : 0 B
06-27 08:16:36.390 I/DownloadServiceLifecycleSupport(28365): Deserialized currentPlayingIndex: -1, currentPlayingPosition: 0
06-27 08:16:36.420 I/DownloadServiceLifecycleSupport(28365): Serialized currentPlayingIndex: -1, currentPlayingPosition: 0
06-27 08:16:36.430 I/FileUtil(28365): Serialized object to /data/data/github.daneren2005.dsub/cache/downloadstate.ser
06-27 08:16:36.490 E/ (28365): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
06-27 08:16:36.490 I/ (28365): Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl
06-27 08:16:36.550 I/ (28365): Loaded EGL implementation /system/lib//egl/libEGL_tegra_impl
06-27 08:16:36.590 I/ (28365): Loading GLESv2 implementation /system/lib//egl/libGLESv2_tegra_impl
06-27 08:16:36.600 I/DownloadServiceLifecycleSupport(28365): Headset event for: h2w
06-27 08:17:17.310 I/RESTMusicService(28365): Using URL
06-27 08:17:17.990 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x0 a=-1}
06-27 08:17:17.990 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x0 a=-1}
06-27 08:17:17.990 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x0 a=-1}
06-27 08:17:17.990 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x0 a=-1}
06-27 08:17:17.990 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x3a98 a=-1}
06-27 08:17:17.990 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x5 a=-1}
06-27 08:17:18.060 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x14 a=-1}
06-27 08:17:18.080 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x1 a=-1}
06-27 08:17:18.080 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x7d0 a=-1}
06-27 08:17:18.400 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x3 a=-1}
06-27 08:17:18.400 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x3 a=-1}
06-27 08:17:18.400 W/Resources(28365): Converting to string: TypedValue{t=0x10/d=0x1e a=-1}
06-27 08:17:21.920 I/RESTMusicService(28365): Using URL
06-27 08:17:38.040 W/RESTMusicService(28365): Got IOException (1), will retry
06-27 08:17:38.040 W/RESTMusicService(28365): java.net.SocketTimeoutException
06-27 08:17:38.040 W/RESTMusicService(28365): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491)
06-27 08:17:38.040 W/RESTMusicService(28365): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
06-27 08:17:38.040 W/RESTMusicService(28365): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
06-27 08:17:38.040 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.executeWithRetry(RESTMusicService.java:982)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getResponseForURL(RESTMusicService.java:915)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getEntityForURL(RESTMusicService.java:892)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReaderForURL(RESTMusicService.java:881)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReader(RESTMusicService.java:876)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReader(RESTMusicService.java:860)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.ping(RESTMusicService.java:169)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.service.CachedMusicService.ping(CachedMusicService.java:71)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.activity.SettingsActivity$6.doInBackground(SettingsActivity.java:388)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.activity.SettingsActivity$6.doInBackground(SettingsActivity.java:376)
06-27 08:17:38.040 W/RESTMusicService(28365): at github.daneren2005.dsub.util.ModalBackgroundTask$3.run(ModalBackgroundTask.java:79)
06-27 08:17:38.660 W/RESTMusicService(28365): Got IOException (1), will retry
06-27 08:17:38.660 W/RESTMusicService(28365): java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
06-27 08:17:38.660 W/RESTMusicService(28365): at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:552)
06-27 08:17:38.660 W/RESTMusicService(28365): at libcore.io.IoBridge.recvfrom(IoBridge.java:516)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
06-27 08:17:38.660 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.executeWithRetry(RESTMusicService.java:982)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getResponseForURL(RESTMusicService.java:915)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getEntityForURL(RESTMusicService.java:892)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReaderForURL(RESTMusicService.java:881)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReader(RESTMusicService.java:876)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getRandomSongs(RESTMusicService.java:550)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.service.CachedMusicService.getRandomSongs(CachedMusicService.java:203)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.util.ShufflePlayBuffer.refill(ShufflePlayBuffer.java:97)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.util.ShufflePlayBuffer.access$000(ShufflePlayBuffer.java:38)
06-27 08:17:38.660 W/RESTMusicService(28365): at github.daneren2005.dsub.util.ShufflePlayBuffer$1.run(ShufflePlayBuffer.java:61)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:322)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:149)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:150)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
06-27 08:17:38.660 W/RESTMusicService(28365): at java.lang.Thread.run(Thread.java:856)
06-27 08:17:38.660 W/RESTMusicService(28365): Caused by: libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
06-27 08:17:38.660 W/RESTMusicService(28365): at libcore.io.Posix.recvfromBytes(Native Method)
06-27 08:17:38.660 W/RESTMusicService(28365): at libcore.io.Posix.recvfrom(Posix.java:131)
06-27 08:17:38.660 W/RESTMusicService(28365): at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)
06-27 08:17:38.660 W/RESTMusicService(28365): at libcore.io.IoBridge.recvfrom(IoBridge.java:513)
06-27 08:17:38.660 W/RESTMusicService(28365): ... 33 more
06-27 08:18:07.740 W/RESTMusicService(28365): Got IOException (2), will retry
06-27 08:18:07.740 W/RESTMusicService(28365): java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
06-27 08:18:07.740 W/RESTMusicService(28365): at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:552)
06-27 08:18:07.740 W/RESTMusicService(28365): at libcore.io.IoBridge.recvfrom(IoBridge.java:516)
06-27 08:18:07.740 W/RESTMusicService(28365): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
06-27 08:18:07.740 W/RESTMusicService(28365): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
06-27 08:18:07.740 W/RESTMusicService(28365): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
06-27 08:18:07.740 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.executeWithRetry(RESTMusicService.java:982)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getResponseForURL(RESTMusicService.java:915)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getEntityForURL(RESTMusicService.java:892)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReaderForURL(RESTMusicService.java:881)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReader(RESTMusicService.java:876)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReader(RESTMusicService.java:860)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.ping(RESTMusicService.java:169)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.service.CachedMusicService.ping(CachedMusicService.java:71)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.activity.SettingsActivity$6.doInBackground(SettingsActivity.java:388)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.activity.SettingsActivity$6.doInBackground(SettingsActivity.java:376)
06-27 08:18:07.740 W/RESTMusicService(28365): at github.daneren2005.dsub.util.ModalBackgroundTask$3.run(ModalBackgroundTask.java:79)
06-27 08:18:07.740 W/RESTMusicService(28365): Caused by: libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
06-27 08:18:07.740 W/RESTMusicService(28365): at libcore.io.Posix.recvfromBytes(Native Method)
06-27 08:18:07.740 W/RESTMusicService(28365): at libcore.io.Posix.recvfrom(Posix.java:131)
06-27 08:18:07.740 W/RESTMusicService(28365): at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)
06-27 08:18:07.740 W/RESTMusicService(28365): at libcore.io.IoBridge.recvfrom(IoBridge.java:513)
06-27 08:18:07.740 W/RESTMusicService(28365): ... 26 more
06-27 08:18:27.611 W/RESTMusicService(28365): Got IOException (3), will retry
06-27 08:18:27.611 W/RESTMusicService(28365): java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
06-27 08:18:27.611 W/RESTMusicService(28365): at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:552)
06-27 08:18:27.611 W/RESTMusicService(28365): at libcore.io.IoBridge.recvfrom(IoBridge.java:516)
06-27 08:18:27.611 W/RESTMusicService(28365): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
06-27 08:18:27.611 W/RESTMusicService(28365): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
06-27 08:18:27.611 W/RESTMusicService(28365): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
06-27 08:18:27.611 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.executeWithRetry(RESTMusicService.java:982)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getResponseForURL(RESTMusicService.java:915)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getEntityForURL(RESTMusicService.java:892)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReaderForURL(RESTMusicService.java:881)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReader(RESTMusicService.java:876)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReader(RESTMusicService.java:860)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.ping(RESTMusicService.java:169)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.service.CachedMusicService.ping(CachedMusicService.java:71)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.activity.SettingsActivity$6.doInBackground(SettingsActivity.java:388)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.activity.SettingsActivity$6.doInBackground(SettingsActivity.java:376)
06-27 08:18:27.611 W/RESTMusicService(28365): at github.daneren2005.dsub.util.ModalBackgroundTask$3.run(ModalBackgroundTask.java:79)
06-27 08:18:27.611 W/RESTMusicService(28365): Caused by: libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
06-27 08:18:27.611 W/RESTMusicService(28365): at libcore.io.Posix.recvfromBytes(Native Method)
06-27 08:18:27.611 W/RESTMusicService(28365): at libcore.io.Posix.recvfrom(Posix.java:131)
06-27 08:18:27.611 W/RESTMusicService(28365): at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)
06-27 08:18:27.611 W/RESTMusicService(28365): at libcore.io.IoBridge.recvfrom(IoBridge.java:513)
06-27 08:18:27.611 W/RESTMusicService(28365): ... 26 more
06-27 08:18:49.361 W/RESTMusicService(28365): Got IOException (4), will retry
06-27 08:18:49.361 W/RESTMusicService(28365): java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
06-27 08:18:49.361 W/RESTMusicService(28365): at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:552)
06-27 08:18:49.361 W/RESTMusicService(28365): at libcore.io.IoBridge.recvfrom(IoBridge.java:516)
06-27 08:18:49.361 W/RESTMusicService(28365): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
06-27 08:18:49.361 W/RESTMusicService(28365): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
06-27 08:18:49.361 W/RESTMusicService(28365): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
06-27 08:18:49.361 W/RESTMusicService(28365): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.executeWithRetry(RESTMusicService.java:982)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getResponseForURL(RESTMusicService.java:915)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getEntityForURL(RESTMusicService.java:892)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReaderForURL(RESTMusicService.java:881)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReader(RESTMusicService.java:876)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.getReader(RESTMusicService.java:860)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.service.RESTMusicService.ping(RESTMusicService.java:169)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.service.CachedMusicService.ping(CachedMusicService.java:71)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.activity.SettingsActivity$6.doInBackground(SettingsActivity.java:388)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.activity.SettingsActivity$6.doInBackground(SettingsActivity.java:376)
06-27 08:18:49.361 W/RESTMusicService(28365): at github.daneren2005.dsub.util.ModalBackgroundTask$3.run(ModalBackgroundTask.java:79)
06-27 08:18:49.361 W/RESTMusicService(28365): Caused by: libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
06-27 08:18:49.361 W/RESTMusicService(28365): at libcore.io.Posix.recvfromBytes(Native Method)
06-27 08:18:49.361 W/RESTMusicService(28365): at libcore.io.Posix.recvfrom(Posix.java:131)
06-27 08:18:49.361 W/RESTMusicService(28365): at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)
06-27 08:18:49.361 W/RESTMusicService(28365): at libcore.io.IoBridge.recvfrom(IoBridge.java:513)
06-27 08:18:49.361 W/RESTMusicService(28365): ... 26 more


Mod Edit: Removed some sensitive information from log
mychickensonfire
 
Posts: 7
Joined: Wed Jun 26, 2013 12:48 pm

Re: Unable to connect on mobile

Postby daneren2005 » Thu Jun 27, 2013 7:05 pm

Hmm, I'm not really sure to be honest. I tried googling that error and for the most part it seems like it is supposed to be associated with the request being cancelled by the client instead of being closed by the server, but that makes no sense in these cases.

Some questions:

1) Is it a Galaxy S2? I found this phone coming up with this error more then anything else.
2) Are you using a custom ROM? They always seem to have something wrong...
3) Does the standard Subsonic client do the same thing? I haven't changed any of the base connection code, so if works on the main client chances are it's a bad install.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Unable to connect on mobile

Postby mychickensonfire » Fri Jun 28, 2013 2:30 am

It's an unmodified LG P880.

The standard subsonic client also has the same problem.

Oddly enough, I have a similar problem with running the plex media client on this phone. Unfortunately it's not a very common phone so I haven't found people with exact same problem.

I think I'll just blame the phone. I tend to use ios stuff anyway as I use airplay speakers for playing music. I only really bought the app because I like subsonic and wanted to support people working with it.

Thanks for your help anyway, I appreciate it.
mychickensonfire
 
Posts: 7
Joined: Wed Jun 26, 2013 12:48 pm

Re: Unable to connect on mobile

Postby daneren2005 » Fri Jun 28, 2013 3:41 am

Yah, I'm thinking it is probably a problem with the phone then. It might even be a mix of the server and the phone where the server is sending wrong responses and most phones can just move on without dieing, but yours doesn't have a good fallback. I'm sorry I haven't been much of a help :?
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Unable to connect on mobile

Postby CM-14 » Mon Jul 08, 2013 3:16 am

This weekend I moved my Subsonic server to a different machine and I am having the same problem. Wifi is fine, but can't connect over 3G. I am using the same router I always have and all the same settings. This is killing me. I have and older HTC Incredible.
CM-14
 
Posts: 22
Joined: Wed Jan 09, 2013 11:06 pm

Re: Unable to connect on mobile

Postby alphawave7 » Mon Jul 08, 2013 6:24 am

CM-14 wrote:This weekend I moved my Subsonic server to a different machine and I am having the same problem. Wifi is fine, but can't connect over 3G. I am using the same router I always have and all the same settings. This is killing me. I have and older HTC Incredible.


Your open port needs to be assigned to the new server's IP (which should be fixed).
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Re: Unable to connect on mobile

Postby CM-14 » Mon Jul 08, 2013 3:06 pm

alphawave7 wrote:
CM-14 wrote:This weekend I moved my Subsonic server to a different machine and I am having the same problem. Wifi is fine, but can't connect over 3G. I am using the same router I always have and all the same settings. This is killing me. I have and older HTC Incredible.


Your open port needs to be assigned to the new server's IP (which should be fixed).



Thanks for the info. Any chance you could provide a quick tutorial? The first time I set it up, everything worked "out of the box" and I didn't have to make any changes that I remember. I am using an extra older laptop running XP as my new Subsonic server. I really appreicate any help. Thanks again.
CM-14
 
Posts: 22
Joined: Wed Jan 09, 2013 11:06 pm

Re: Unable to connect on mobile

Postby mr_nobody » Mon Jul 08, 2013 4:12 pm

Start at the Setting up the Router section here:

http://monroeworld.com/android/subsonic/

[edit]: I very much doubt it worked automatically before...port forwarding always needs to be set up...
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 22 guests