Globotix / NUS-MindPoint-Interface

Intermediary node to interface between NUS Digital Twin Platform and Mindpoint Robotics API
1 stars 0 forks source link

Timeout error from pika #1

Open JohnTGZ opened 2 years ago

JohnTGZ commented 2 years ago

Error message is shown here: https://stackoverflow.com/questions/56859006/server-closes-after-pika-exceptions-streamlosterror-stream-connection-lost

JohnTGZ commented 2 years ago

Possible problem from running amqp in a separate thread from the I/O thread: https://stackoverflow.com/questions/60776108/rabbit-mq-streamlosterror-with-python-pika-library

JohnTGZ commented 2 years ago

Possible fix is to use: channel.waitForConfirmsOrDie(5_000);