我正在使用 buildbot 作为我的 CI。它是使用扭曲的 python 构建的。
我的构建 worker 大约在 10 分钟后迷路了。
我的网络很好,但想知道为什么我的 worker 会迷路。
我想知道在什么情况下我们会在 twisted python 中看到这种错误。
错误:
remoteFailed: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.
最佳答案
如果您看到断开连接,并且在 master 和 worker 的 twisted.log 中都没有任何线索,那么您的问题就是网络。
你可能有一些防火墙,它们之间可以关闭长时间运行的 tcp 连接或其他东西。
我建议在双方都运行 tcpdump,看看谁在发送 RST 数据包
关于python - 如何修复 Twisted python 与另一端的连接以不干净的方式丢失?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42536817/