Replies: 1 comment 2 replies
-
I'd suggest, try setting |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey! I'm using Kamal for some time now and i'm loving it, however one thing is ocassionally popping up and I'm not able to deal with it in any way.
I'm running Kamal via github action and, for some deploy action runs, the
kamal deploy
command fails withERROR (Errno::ECONNRESET): Exception while executing on host x.x.x.x: Connection reset by peer - recvfrom(2)
error. From what I've managed to find on the internet, generally speaking that's because some command is taking too much time to complete without any output which makes ssh client consider the connection idle and kills the connection. In my case, i noticed that it's mostly happening when I'm having a change in my app's Gemfile which expires bundle install Dockerfile step and makes the process of deployment longer - which in turn makes the connection timing out.I tried several ways of fixing that, including creating a
~/.ssh/config
with content similar to that, i tried settingsshkit.pool_idle_timeout
to something big like 1800, i tried addingverbose
flag to my deploy commands to make them produce more output more often and i tried couple of other solutions i can't even remember now but still, the issue persists.Does anyone have any idea what can i do to overcome this? Thank you in advance for any clues 🙏
Last couple of lines from the output:
Beta Was this translation helpful? Give feedback.
All reactions