Skip to content

Push doesn't work -> upstream timed out #13

@moerwald

Description

@moerwald

I can't push the cloned repository. I get the following errors:

git commit -a -m "TEST"; git push
[master 9088ebb] TEST
1 file changed, 0 insertions(+), 0 deletions(-)
Counting objects: 3, done.
Writing objects: 100% (3/3), 254 bytes | 254.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 Gateway Time-out
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

To exclude errors that might be triggert through my Windows git client I attached to the container via docker exec containerName /bin/bash. In the container I cloned the repository and tried to push it again, some error.

docker container logs show:

Initializing repository ./repo1
spawn-fcgi: child spawned successfully: PID: 20
spawn-fcgi: child spawned successfully: PID: 27
spawn-fcgi: child spawned successfully: PID: 28
spawn-fcgi: child spawned successfully: PID: 29
10.0.75.1 - - [19/Feb/2019:08:05:38 +0000] "GET /repo1.git/info/refs?service=git-upload-pack HTTP/1.1" 200 363 "-" "git/2.16.2.windows.1"
10.0.75.1 - - [19/Feb/2019:08:05:38 +0000] "POST /repo1.git/git-upload-pack HTTP/1.1" 200 399 "-" "git/2.16.2.windows.1"
10.0.75.1 - - [19/Feb/2019:08:05:59 +0000] "GET /repo1.git/info/refs?service=git-receive-pack HTTP/1.1" 200 193 "-" "git/2.16.2.windows.1"
10.0.75.1 - - [19/Feb/2019:08:06:59 +0000] "POST /repo1.git/git-receive-pack HTTP/1.1" 499 0 "-" "git/2.16.2.windows.1"
10.0.75.1 - - [19/Feb/2019:08:07:22 +0000] "GET /repo1.git/info/refs?service=git-upload-pack HTTP/1.1" 200 363 "-" "git/2.16.2.windows.1"
10.0.75.1 - - [19/Feb/2019:08:07:22 +0000] "POST /repo1.git/git-upload-pack HTTP/1.1" 200 394 "-" "git/2.16.2.windows.1"
10.0.75.1 - - [19/Feb/2019:08:07:40 +0000] "GET /repo1.git/info/refs?service=git-receive-pack HTTP/1.1" 200 193 "-" "git/2.16.2.windows.1"
2019/02/19 08:08:40 [error] 30#30: *10 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 10.0.75.1, server: _, request: "POST /repo1.git/git-receive-pack HTTP/1.1", upstream: "fastcgi://unix:/var/run/fcgiwrap.socket", host: "localhost:8080"
10.0.75.1 - - [19/Feb/2019:08:08:40 +0000] "POST /repo1.git/git-receive-pack HTTP/1.1" 504 183 "-" "git/2.16.2.windows.1"
10.0.75.1 - - [19/Feb/2019:08:08:50 +0000] "GET /repo1.git/info/refs?service=git-upload-pack HTTP/1.1" 200 363 "-" "git/2.16.2.windows.1"
10.0.75.1 - - [19/Feb/2019:08:08:50 +0000] "POST /repo1.git/git-upload-pack HTTP/1.1" 200 399 "-" "git/2.16.2.windows.1"
127.0.0.1 - - [19/Feb/2019:08:11:55 +0000] "GET /repo1.git/info/refs?service=git-upload-pack HTTP/1.1" 200 363 "-" "git/2.11.3"
127.0.0.1 - - [19/Feb/2019:08:11:55 +0000] "POST /repo1.git/git-upload-pack HTTP/1.1" 200 399 "-" "git/2.11.3"
127.0.0.1 - - [19/Feb/2019:08:12:21 +0000] "GET /repo1.git/info/refs?service=git-receive-pack HTTP/1.1" 200 193 "-" "git/2.11.3"
127.0.0.1 - - [19/Feb/2019:08:13:21 +0000] "POST /repo1.git/git-receive-pack HTTP/1.1" 504 183 "-" "git/2.11.3"
2019/02/19 08:13:21 [error] 30#30: *19 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /repo1.git/git-receive-pack HTTP/1.1", upstream: "fastcgi://unix:/var/run/fcgiwrap.socket", host: "localhost"

Any tips how to fix this issue?

Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions