Skip to content

socket.timeout: timed out #9

@slabua

Description

@slabua

What could cause a socket timeout and how to prevent it?
I am also not sure what information could be useful to debug it, if necessary ask for more details.
It happened after about 10-12 hours of execution.
I already tried to change the default timeout but to no avail.

Traceback (most recent call last):
  File "controller.py", line 288, in <module>
    main()
  File "controller.py", line 263, in main
    state = con.receive()  # <- 100 Hz requests
  File "rtde/rtde.py", line 218, in receive
    return self.__recv(Command.RTDE_DATA_PACKAGE, binary)
  File "rtde/rtde.py", line 306, in __recv
    self.__recv_to_buffer(DEFAULT_TIMEOUT)
  File "rtde/rtde.py", line 341, in __recv_to_buffer
    more = self.__sock.recv(4096)
socket.timeout: timed out

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions