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

AsyncModbusTcpClient can't connect to non-local server (pymodbus 3.4.0) #1698

Closed
scotty007 opened this issue Jul 25, 2023 · 3 comments · Fixed by #1700
Closed

AsyncModbusTcpClient can't connect to non-local server (pymodbus 3.4.0) #1698

scotty007 opened this issue Jul 25, 2023 · 3 comments · Fixed by #1700

Comments

@scotty007
Copy link

The source_address parameter of AsyncModbusTcpClient.__init__() is not passed to ModbusBaseClient.__init__(), so the default ("127.0.0.1", 0) is used, which causes an Invalid argument error when connecting to a non-local Modbus server.

  • Python: 3.10.9
  • OS: Ubuntu 22.04.2 LTS
  • Pymodbus: 3.4.0
@janiversen
Copy link
Collaborator

Yes solved on dev, and we will release 3.4.1 very soon.

@janiversen
Copy link
Collaborator

Please test with current dev and confirm that it works.

We are planning to release 3.4.1 within a week, and if confirmed this will be included.

@scotty007
Copy link
Author

Current dev branch works. Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants