You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! Currently trying to communicate with some Typhoon HIL realtime digital simulators using Modbus. I've been able to do so with a ModbusTCPClient (with the server on the HIL device), but am unable to receive a connection from the HIL device as a server (with the HIL device running a TCP Client).
This has happened both using custom code and the included examples in commit 28eb319 on dev.
Operating system: Kubuntu 24.04
Python Version: 3.12.3
Hardware setup: A laptop with a USB Ethernet adapter connected via a switch to several Typhoon HIL 404's. The relevant configuration:
I'm able to start the server (I have tried both server_async.py and server_sync.py) with the --host argument not set and set to 192.168.11.125, both as a normal user and as root. In both cases, the Typhoon HIL attempts to connect with a TCP SYN that goes unanswered by the server on my laptop. There are also occasional ARP messages sent by the HIL that are responded to by my laptop, and pinging the running HIL device from the laptop produces a response (i.e. they can definitely "see" one another on the network).
Running a client example while the server example(s) are running (both on the laptop) produces output as expected.
Is there any reason I'm not seeing that a server would simply ignore a connection request from a client?
The text was updated successfully, but these errors were encountered:
Resolved it. The default firewall in (K)Ubuntu appears to deny incoming connections by default. Disabling ufw allows me to connect as expected. Not an issue with the library, but perhaps consider a note in the example docs about firewalls for the ignorant like myself?
Hi there! Currently trying to communicate with some Typhoon HIL realtime digital simulators using Modbus. I've been able to do so with a
ModbusTCPClient
(with the server on the HIL device), but am unable to receive a connection from the HIL device as a server (with the HIL device running a TCP Client).This has happened both using custom code and the included examples in commit 28eb319 on
dev
.Operating system: Kubuntu 24.04
Python Version: 3.12.3
Hardware setup: A laptop with a USB Ethernet adapter connected via a switch to several Typhoon HIL 404's. The relevant configuration:
I'm able to start the server (I have tried both
server_async.py
andserver_sync.py
) with the--host
argument not set and set to192.168.11.125
, both as a normal user and as root. In both cases, the Typhoon HIL attempts to connect with a TCP SYN that goes unanswered by the server on my laptop. There are also occasional ARP messages sent by the HIL that are responded to by my laptop, and pinging the running HIL device from the laptop produces a response (i.e. they can definitely "see" one another on the network).Running a client example while the server example(s) are running (both on the laptop) produces output as expected.
Is there any reason I'm not seeing that a server would simply ignore a connection request from a client?
The text was updated successfully, but these errors were encountered: