Skip to content
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

Problems in connection TCP #60

Open
yuvalfro opened this issue Feb 16, 2022 · 0 comments
Open

Problems in connection TCP #60

yuvalfro opened this issue Feb 16, 2022 · 0 comments

Comments

@yuvalfro
Copy link

yuvalfro commented Feb 16, 2022

Hi,
I get a lot of connection errors when I try to read\write fields.
I used tcpdump to investigate it and I see that the sunspec client is the one that initiates the disconnection.
Here some lines from the tcpdump logs:

08:49:03.109412 IP DEVICE_IP > SUNSPEC_CLIENT_IP: Flags [P.], seq 4040936281:4040936298, ack 2089094857, win 1901, options [nop,nop,TS val 1574374142 ecr 602893784], length 17: HTTP: HTTP/1.0 200 OK
08:49:03.109763 IP SUNSPEC_CLIENT_IP > DEVICE_IP: Flags [.], ack 17, win 22, options [nop,nop,TS val 602893846 ecr 1574374142], length 0
08:49:03.117102 IP DEVICE_IP > SUNSPEC_CLIENT_IP: Flags [P.], seq 17:139, ack 1, win 1901, options [nop,nop,TS val 1574374152 ecr 602893846], length 122: HTTP
08:49:03.117672 IP SUNSPEC_CLIENT_IP > DEVICE_IP: Flags [.], ack 139, win 22, options [nop,nop,TS val 602893846 ecr 1574374152], length 0
08:49:03.117913 IP DEVICE_IP > SUNSPEC_CLIENT_IP: Flags [P.], seq 139:144, ack 1, win 1901, options [nop,nop,TS val 1574374152 ecr 602893846], length 5: HTTP
08:49:03.118478 IP SUNSPEC_CLIENT_IP > DEVICE_IP: Flags [.], ack 144, win 22, options [nop,nop,TS val 602893847 ecr 1574374152], length 0
08:49:03.118594 IP SUNSPEC_CLIENT_IP > DEVICE_IP: Flags [F.], seq 1, ack 144, win 22, options [nop,nop,TS val 602893847 ecr 1574374152], length 0

I also used modbus poll to check that my system is fine, and I didn't have any problems.

This problem happened before? Any ideas how to solve it?
Is there something in the creation of the client that I'm missing and causing this problem?
I would appreciate any idea\help....

EDIT: I'm running this on Linux computer. Is there a plan to support and check Linux?
I must use pysunspec2 because I need to check maps 701-713.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant