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

Established connection was aborted by host #22

Open
mjkl-gh opened this issue Apr 11, 2022 · 4 comments
Open

Established connection was aborted by host #22

mjkl-gh opened this issue Apr 11, 2022 · 4 comments

Comments

@mjkl-gh
Copy link

mjkl-gh commented Apr 11, 2022

Unfortunately, I am writing this issue at the office away from the machine on which this happened. Therefore, the only information i got is from my own memory. However, I am quite sure it was caused by something on my laptop.

What would happen is if I tried to read an input or holding register I would get the message "Established connection was aborted by host"
If I would set the action to poll (interval of 2000) and then reconnect, it would read the first 2 intervals fine and then return the same error.

Any idea on what might cause this?

@thoblerone
Copy link

Hi there,
it's hard to tell guess without further details. Did you run both master and slave programs on the same computer? Or maybe did you run both any single component from this project against some "real" data device or program?

Assuming you have used this projects master and slave, even on different computers, when you read the registers in the master program and get the error message, what do you see in the in the log window of the slave?

@mjkl-gh
Copy link
Author

mjkl-gh commented Apr 29, 2022

Hi there, it's hard to tell guess without further details. Did you run both master and slave programs on the same computer? Or maybe did you run both any single component from this project against some "real" data device or program?

Assuming you have used this projects master and slave, even on different computers, when you read the registers in the master program and get the error message, what do you see in the in the log window of the slave?

I ran it against a "Real" Wago PFC100 which is a Linux-based PLC programmed using their custom Codesys flavor: E-Cockpit. Unfortunately, I don't have any remote access and will not visit the site in the foreseeable future. So yeah I know it is not a lot to go on.

@mjkl-gh
Copy link
Author

mjkl-gh commented Apr 29, 2022

Just tried something else

Using both this project's master and slave the error doesn't seem to occur. Which is quite weird.

Using a different client (Universal Robot UR3) which was the intended us on site did not generate any errors

@fahara02
Copy link

hi i am facing same issue with a uno modbus slave . any solution yet?

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

3 participants