-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential NAT issue #81
Comments
Hi, I don't think the NAT can cause any kind of alteration in the network packets. |
Hi, thanks for your reply. I've verified its connecting to the correct server. when i get a connected callback from my tcp socket, that is when i initiate polling (we have a setup on the actual subnet without nat, that is working). There does seem to be some sort of connection delay to the PLC simulator when we're connecting through nat, I start polling right away but get timeouts for my first few requests before the MBAP errors. Perhaps I'm not handling the timeouts correctly and that's offsetting the rest of the data? would you mind having a look at my read function to see if i've misinterpreted the instructions? this is c++ in unreal
|
We are running a PLC simulator in a VM on a hardcoded IP address. We use NAT to bridge the host pc (which is running our modbus application), and the vm.
When I connect I receive a handful of timeouts and then it starts spitting out NMBS_ERROR_INVALID_TCP_MBAP error non stop. The logic triggering the error is the transaction id in the recv_res_header function
Any help appreciated, thanks
The text was updated successfully, but these errors were encountered: