No longer connecting to hub

All used to work nicely, but now it stopped working. I am not sure what has changed. Only thing I can imagine is a Windows update.

My setup:
Virtualhere Server on RPi2 (vhusbdarm)
Virtualhere Client on Windows 10 (vhui64.exe)

Server seems to be running?
pi@retropie:~ $ ps -ef | grep vh
root 471 1 0 00:44 ? 00:00:00 /usr/sbin/vhusbdarm -b -c /root/config.ini
pi 885 692 0 00:47 pts/0 00:00:00 grep --color=auto vh

Client opens and shows "connecting to USB hub" once in a while. But no connection is happening.

It used to work flawless. Rebooted a few times. Any thoughts?

#2

OK, you will need to reinstall bonjour. Seems windows April 2018 update broke Apple Bonjour.

Steps:

1. Stop and exit the VirtualHere client
2. In Windows -> Apps and Features -> Uninstall Bonjour
3. Run the VirtualHere Client again and Bonjour will install

#3

I had the same issue today with the server running on macOS and a Windows client. Re-installing Bonjour fixed it for me.

#4

I thought I had it fixed by re-installing Bonjour. However, after a restart of the Windows 10 VM caused by more updated, the issue is back.

Server: macOS Mojave 10.14.1 (VirtualBox Host)
Client: Windows 10 Pro 17134.407 (VirtualBox VM)

It looks like one of the most recent Windows updates killed it. I tried removing Bonjour, restarts, re-installing it via VirtualHere Client a couple times but no success so far.

#5

Ok, turns out that the issue is the server dying on macOS.

Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : VirtualHere 3.7.8 caught signal 11 (Segmentation fault: 11) and must exit. Sorry for the inconvenience, please contact mail@virtualhere for help
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : Backtrace:
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x7fff66012b3d: (_sigtramp+0x1d)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x7fff38bc697f: (CFBasicHashRemoveValue+0x3f3)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x7fff38bceba4: (CFRunLoopRemoveSource+0x131)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x100015ab5: (_ZN8wxStringC2EPKc+0xaaf5)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x100015b71: (_ZN8wxStringC2EPKc+0xabb1)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x1000186b4: (_ZN8wxStringC2EPKc+0xd6f4)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x100026eb5: (_ZN8wxStringC2EPKc+0x1bef5)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x10003ac29: (_ZN8wxStringC2EPKc+0x2fc69)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x10003e1fb: (_ZN8wxStringC2EPKc+0x3323b)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x7fff6601b339: (_pthread_body+0x7e)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : 0x7fff6601e2a7: (_pthread_start+0x46)
Nov 14 19:39:39 Mac-Mini vhusbdosx[647] : End backtrace
Nov 14 19:39:39 Mac-Mini com.apple.xpc.launchd[1] (com.virtualhere.vhusbd.3084[647]) : Service exited due to SIGSEGV | sent by vhusbdosx[647]
Nov 14 21:32:34 Mac-Mini vhusbdosx[976] : >>> Starting VirtualHere USB Server v3.7.8 (Built: Oct 14 2018, 16:06:35)<<<
Nov 14 21:32:34 Mac-Mini vhusbdosx[976] : Warning, cannot lookup the exe path, 22 (Invalid argument) (defaulting to HOME)
Nov 14 21:32:43 Mac-Mini vhusbdosx[976] : ...
Nov 14 21:32:45 Mac-Mini vhusbdosx[976] : DEPRECATED USE in libdispatch client: dispatch source activated with no event handler set; set a breakpoint on _dispatch_bug_deprecated to debug

#6

Ok thanks, also can you email me the Virtualhere user reports in Finder->Applications->Utilities->Console

#7

Same issue here on Windows with a Synology NAS as a server.
Was working perfectly and since the latest Windows update it's not responding when trying to attach a device :-(

#8

Did you uninstall bonjour and let the client install bonjour again? I think the update broke bonjour again because i had to reinstall bonjour as well when my pc updated to windows 1903