Android server dropping connection to client

Hi,

As the title suggests, I'm using an Android server to host a USB device, which I am picking up on a Windows 10 64 Bit Client.

It used to work fine, until around a month ago, and now it keeps dropping the connection.

I tried using a different Android Tablet (Amazon Fire) and that is working fine.
I can also ping the tablet in question from the command prompt on the PC and it pings no problem.

If I connect the Fire tablet at the same time, it recognises that as Android2.local.:7575 and works fine.

I've disabled the Antivirus on the Android tablet just in case, although it used to work with the AV on, but no change.

Any ideas?

The Client log is as follows:
14:36:59 INFO :VirtualHere Client 4.3.0 starting (Compiled: Oct 7 2017 20:02:03)
14:36:59 INFO :Using config at C:\Users\HG1\AppData\Roaming\vhui.ini
14:36:59 INFO :IPC available at \\.\pipe\vhclient
14:36:59 INFO :Auto-find (Bonjour) on
14:36:59 INFO :Auto-find (Bonjour SSL) on
14:37:13 INFO :Server ping timeout, shutting down connection 1...
14:37:13 INFO :Connection 1 socket closed (rx)
14:37:43 INFO :Server ping timeout, shutting down connection 2...
14:37:43 INFO :Connection 2 socket closed (rx)
14:38:13 INFO :Server ping timeout, shutting down connection 3...
14:38:13 INFO :Connection 3 socket closed (rx)
14:38:44 INFO :Server ping timeout, shutting down connection 4...
14:38:44 INFO :Connection 4 socket closed (rx)
14:39:19 INFO :Could not connect to Android.local.:7575
14:39:49 INFO :Could not connect to Android.local.:7575
14:40:19 INFO :Could not connect to Android.local.:7575
14:40:49 INFO :Could not connect to Android.local.:7575
14:46:45 INFO :Server ping timeout, shutting down connection 9...
14:46:45 INFO :Connection 9 socket closed (rx)
14:47:19 INFO :Could not connect to Android.local.:7575
14:47:49 INFO :Could not connect to Android.local.:7575
14:48:20 INFO :Could not connect to Android.local.:7575
14:48:50 INFO :Could not connect to Android.local.:7575
14:49:20 INFO :Could not connect to Android.local.:7575
14:49:50 INFO :Could not connect to Android.local.:7575
14:50:20 INFO :Could not connect to Android.local.:7575
14:50:50 INFO :Could not connect to Android.local.:7575
14:51:20 INFO :Could not connect to Android.local.:7575
14:51:47 INFO :Could not connect to Android.local.:7575
14:52:17 INFO :Could not connect to Android.local.:7575
14:53:12 INFO :Server ping timeout, shutting down connection 21...
14:53:12 INFO :Connection 21 socket closed (rx)
14:53:42 INFO :Server ping timeout, shutting down connection 22...
14:53:42 INFO :Connection 22 socket closed (rx)
14:54:12 INFO :Server ping timeout, shutting down connection 23...
14:54:12 INFO :Connection 23 socket closed (rx)
14:54:42 INFO :Server ping timeout, shutting down connection 24...
14:54:42 INFO :Connection 24 socket closed (rx)
14:55:12 INFO :Server ping timeout, shutting down connection 25...
14:55:12 INFO :Connection 25 socket closed (rx)
14:55:42 INFO :Server ping timeout, shutting down connection 26...
14:55:42 INFO :Connection 26 socket closed (rx)
14:56:12 INFO :Server ping timeout, shutting down connection 27...
14:56:12 INFO :Connection 27 socket closed (rx)
14:56:42 INFO :Server ping timeout, shutting down connection 28...
14:56:42 INFO :Connection 28 socket closed (rx)
14:57:18 INFO :Could not connect to Android.local.:7575
14:57:48 INFO :Could not connect to Android.local.:7575
14:58:14 INFO :Server ping timeout, shutting down connection 31...
14:58:14 INFO :Connection 31 socket closed (rx)
14:58:43 INFO :Server ping timeout, shutting down connection 32...
14:58:43 INFO :Connection 32 socket closed (rx)

Server Log from Android Tablet is:
10-14 14:58:14.281 9301 9301 W System : ClassLoader referenced unknown path: /data/app/com.virtualhere.androidserver-1/lib/arm
10-14 14:58:14.434 9301 9322 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
10-14 14:58:14.534 9301 9322 I Adreno-EGL: : EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8909_LA.BR.1.2.7_RB1__release_AU (I4174105d1e)
10-14 14:58:14.534 9301 9322 I Adreno-EGL: OpenGL ES Shader Compiler Version: E031.29.00.00
10-14 14:58:14.534 9301 9322 I Adreno-EGL: Build Date: 06/14/16 Tue
10-14 14:58:14.534 9301 9322 I Adreno-EGL: Local Branch:
10-14 14:58:14.534 9301 9322 I Adreno-EGL: Remote Branch: quic/LA.BR.1.2.7_rb1.22
10-14 14:58:14.534 9301 9322 I Adreno-EGL: Local Patches: NONE
10-14 14:58:14.534 9301 9322 I Adreno-EGL: Reconstruct Branch: NOTHING
10-14 14:58:14.538 9301 9322 I OpenGLRenderer: Initialized EGL, version 1.4
10-14 14:58:14.808 9301 9301 E vhusbd-service: Opening local exception: Connection refused
10-14 14:58:14.870 9301 9350 I vhusbd : Sat Oct 14 14:58:14 2017 LOG_INFO >>> Starting VirtualHere USB Server v3.3.8 (Built: Sep 6 2017, 21:55:28)<<<
10-14 14:58:14.870 9301 9350 I vhusbd : Sat Oct 14 14:58:14 2017 LOG_WARNING Warning, tried finding HOME directory but that also failed, config.ini will be loaded from pwd
10-14 14:58:14.870 9301 9350 I vhusbd : Sat Oct 14 14:58:14 2017 LOG_INFO Creating default configuration config.ini
10-14 14:58:14.881 9301 9350 I vhusbd : Sat Oct 14 14:58:14 2017 LOG_INFO Server licensed to=unlicensed max_devices=1
10-14 14:58:14.882 9301 9350 I vhusbd : Sat Oct 14 14:58:14 2017 LOG_INFO Using large URB's
10-14 14:58:14.882 9301 9350 I vhusbd : Sat Oct 14 14:58:14 2017 LOG_DEBUG TCPServer starting...
10-14 14:58:14.883 9301 9350 I vhusbd : Sat Oct 14 14:58:14 2017 LOG_INFO Listening on all network interfaces at port 7575 (IPv6 dual-stack)
10-14 14:58:14.884 9301 9350 I vhusbd : VirtualHere USB Server is running...press CTRL-C to stop
10-14 14:58:16.806 9301 9301 I ListPopupWindow: Could not find method setEpicenterBounds(Rect) on PopupWindow. Oh well.
10-14 14:58:18.075 9301 9301 V BoostFramework: mAcquireFunc method = public int com.qualcomm.qti.Performance.perfLockAcquire(int,int[])
10-14 14:58:18.075 9301 9301 V BoostFramework: mReleaseFunc method = public int com.qualcomm.qti.Performance.perfLockRelease()
10-14 14:58:18.075 9301 9301 V BoostFramework: mAcquireTouchFunc method = public int com.qualcomm.qti.Performance.perfLockAcquireTouch(android.view.MotionEvent,android.util.DisplayMetrics,int,int[])
10-14 14:58:18.076 9301 9301 V BoostFramework: mIOPStart method = public int com.qualcomm.qti.Performance.perfIOPrefetchStart(int,java.lang.String)
10-14 14:58:18.076 9301 9301 V BoostFramework: mIOPStop method = public int com.qualcomm.qti.Performance.perfIOPrefetchStop()
10-14 14:58:18.082 9301 9301 V BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@f28472f
10-14 14:58:18.083 9301 9301 V BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@730d13c
10-14 14:58:19.591 9301 9301 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.

The app does occasionally appear to freeze on the tablet if I try and exit, again, a recent thing. I have uninstalled and re-installed the app both from Google Play, and Via this site.

Thanks in advance for any help you can offer!

Best regards,

Mark.

#2

Im not sure of you network setup but for this sort of issue, just manually enter the ip address of the android server directly into the virtualhere client by right clicking USB Hubs->Specify Hubs and enter the ip address of you android server. See if that solves the issue.