You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Hi, I managed to fix it, although I dropped Nginx and FastCGI approach and starting to use git-http-server and git-http-backend, I also add a git pull test and fixed node and alpine version, so the image is less likely to break in the future, if you need to use this image for testing I think this will be suitable enough, at least it is for me.
I also pushed an image for the forked version in my docker hub, so anyone can use with catks/gitserver-http:0.1.0
More details can be seen in the fork, although it has the same interface for initializing existing project folders.
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
The text was updated successfully, but these errors were encountered: