Client Disconnects When a File Is Pushed
Symptom
If the file to be pushed is too large and the file transfer is not complete within 5 minutes, the connection is disconnected.
Analysis
A request is sent to ELB to push a file. The request timeout of ELB is 5 minutes. If a file is too large and the transmission is not complete within 5 minutes, ELB disconnects the file.
Solution
Keep the SSH connection.
- Find the local Git installation directory and modify the ssh_config file in etc/ssh.
- Add ServerAliveInterval 60 to the last line of the file and save the file.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.