On this page
Help Center/ CodeArts Repo/ FAQs/ Uploading and Downloading Code/ Client Disconnects When a File Is Pushed

Client Disconnects When a File Is Pushed

Updated on 2025-03-27 GMT+08:00

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.

  1. Find the local Git installation directory and modify the ssh_config file in etc/ssh.
  2. Add ServerAliveInterval 60 to the last line of the file and save the file.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback