Server keepalive timeout, shutting down connection

Hi Team,

OS: Ubuntu 20.04 LTS
Virtual Machine: VMWare Vcenter

I have an Ubuntu desktop version running on VMWare Vcenter. I have installed anywhereusb so that it can connect to the USB key connected to the DIGI8.

The configuration of AWUSBmanager is as follows:

root@ServerA:~# cat /root/.AnywhereUSB/awusb.ini
[Settings]
ManualHubs=xxx.xxx.xxx.xx:<port number>
ClientId=<server_hostname>
[General]
AutoMinimize=0
HideUnathorized=0
AutoRegisterHubCert=1
AutoRefreshLookupPeriod=30
BonjourLookupTimeout=4
AutoFind=0
MainFrameWidth=728
MainFrameHeight=433
MainFrameX=552
MainFrameY=27
[Transport]
KeepAlivePeriod=10
KeepAliveTimeout=30
[AutoConnect]
AW08-012404.2=1

I run the awusbmanager interface in the server via the command awusbmanager which will open the dashboard to connect to the USB attached. I have enabled autoconnect as well, as that it automatically connects to the USB when the service is restarted.

After doing all these I started to see timeout issues reported in the log file /root/.AnywhereUSB/awusb.log

2024-11-27 09:15:07 INFO  :Using client cert /root/.AnywhereUSB/awusb_client_cert.pem
2024-11-27 09:15:07 INFO  :xxx.xxx.xxx.xx:xxxxx connected as connection 96 (secure)
2024-11-27 09:15:46 WARN  :Server keepalive timeout, shutting down connection 96... (10, 35) 10/30

Can someone help me how to get this timeout issues resolved?

Thanks,
Scott

can you ping from this machine to the IP of the AW08-G300 hub?
Is it in the same subnet?
Maybe this is an issue with the virtual network interface of your VM?

You are using a fixed static IP xxx.xxx.xxx.xx:xxxxx to connect to the AW08 hub.
Is the AW08 configured with a static IP or does it get a DHCP IP which might change after some time?

Hello @thomas.kuhlmann,

Thanks for looking into this.

The server is sitting in a secured network and we have disabled ping from the server to the AWUSB hub.

The server and the hub is on a different subnet.

AWUS and server has static IP.

The latest log is provided below:

2025-02-05 23:56:45 WARN  :Server keepalive timeout, shutting down connection 5... (10, 35) 10/30
2025-02-05 23:57:13 INFO  :Using client cert /root/.AnywhereUSB/awusb_client_cert.pem
2025-02-05 23:57:13 INFO  :<IP of the AWUSB Hub>:<PORT> connected as connection 6 (secure)

When I check the AnywhereUSB dashboard in the server, I can see the below:

AnywhereUSB Plus Hubs > AW08-012404 > Group 2 (In use by you) > the USB I connected (In use by you).

But it does not look good to me. When I restart AnywhereUSB in the server, the section “In use by you” will be changed to the ClientID (the hostname of the server) by itself and my application will starts to work as normal.

Am I doing something wrong here?

Thanks

Hello Scott,
the timeout issues seen by the Manager might mean there is an issue with the network connection to the hub (unreliable) or the hub does disconnect the client for some configuration reason (network, or access USB group SSL). You should run latest firmware on the hub and latest driver+Manager.
Before you resolve by “restarting” the hub, can you access the hub web interface from the same (or a different) machine and check the system logs for corresponding messages and to create a support report? provide the failure description, the support report from the hub, the support file/log from the Manager and your serial number to Digi Technical Support for analysis: Submit a Support Case

unreliable network might also be due to using VMware and the bridging config used there