Skip to content

RuntimeError: b' ISO : An error occurred during recv TCP : Connection timed out' #475

@vporet

Description

@vporet

Hello,

I need to use snap7 on a linux docker, I've crashed my RPI and I don't want to use it again.

I've build and run the docker without problems but after API.connect("192.168.1.232",0,2), I've got : RuntimeError: b' ISO : An error occurred during recv TCP : Connection timed out'.

I'm sure that PLC is ok because it's ran before my old RPI crash

I did simply this :

import snap7
API = snap7.client.Client()
API.connect("192.168.1.232",0,2)

and after many second : RuntimeError: b' ISO : An error occurred during recv TCP : Connection timed out'.

I can ping my PLC from the docker.

Thanks for help

Vincent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions