-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH Connection Timeouts During Full Deployment #857
Comments
This response from IA worked for me: To keep your SSH connection alive for a longer time without being disconnected, you can configure both the client-side and server-side settings. 1. Client-Side ConfigurationYou can configure your local machine to send keep-alive packets to the server to prevent the connection from being dropped.
2. Server-Side ConfigurationIf the issue is caused by server settings, you can adjust the server-side SSH configuration.
These changes should help keep your SSH connection alive for a longer period. If both client-side and server-side settings are configured, it increases the chances of maintaining the connection. |
Please reopen. I have encountered this issue. I'm building a Next.js application that takes over 300 seconds to build, and after the build process, the error occurs.
I have tried the above SSH configurations and also restarted the SSH service using the following commands.
I would have to re-run |
I'm experiencing intermittent SSH connection timeouts during the full
kamal deploy
process, specifically in thepull
method. Interestingly, runningkamal build pull
separately works fine, but the same operation fails during the full deployment.Environment
Steps to Reproduce
kamal app remove && kamal deploy --verbose
pull
method with a timeout errorkamal build pull
separatelyError Message
Additional Information
kamal build pull
separatelyforward_agent: true
Questions
kamal build pull
but fail duringkamal deploy
?Attempted Solutions
Any assistance in resolving this issue or suggestions for further debugging would be greatly appreciated.
The text was updated successfully, but these errors were encountered: