gijzelaerr / python-snap7

A Python wrapper for the snap7 PLC communication library
http://python-snap7.readthedocs.org/
MIT License
643 stars 245 forks source link

An error occurred during send TCP : Connection timed out #294

Closed eazzarito closed 3 years ago

eazzarito commented 3 years ago

Hi, I am developing an application in python - flask that uses snap7 to read some data from plc. When starting the application I always encounter this error : "An error occurred during send TCP : Connection timed out" which causes the execution to terminate with an exception. I've gone around the different forums and tried the different techniques but nothing has led me to solve the problem. Has anyone solved the problem differently? The connection is in vpn.