admin管理员组文章数量:1346287
I'm connecting to a Google Compute VM, creating a tmux
session, running a Python script, and detaching from the session. The script connects to an exchange's websocket feed and sends POST requests to the exchange.
After detaching from the tmux
session and closing my local shell to terminate the SSH connection, the script runs correctly for a few hours (I can confirm by manually checking the exchange on my local). However, after 2-4 hours, the websocket feed disconnects, but the POST requests continue to be sent.
Initially, I checked the logs and saw the error invalid ssh key entry - expired key
, so adding a --ssh-key-expire-after
flag seemed to resolve this issue. Now, instead, I'm seeing the error Error watching metadata: context canceled
. What does this mean, and how can I go about fixing it?
本文标签: google cloud platformGCP closes websocket feed but continues sending REST requestsStack Overflow
版权声明:本文标题:google cloud platform - GCP closes websocket feed but continues sending REST requests - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743810867a2543038.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论