Having trouble cloning over HTTPS, getting HTTP Error 417, using Gunicorn
LHP
bugs+kallithea at lhpmail.us
Mon Jan 25 04:59:17 UTC 2021
Hello list,
I've been trying to resolve this for the past few days and the only
remedy was to enable ssh. This isn't a lasting solution as in some
cases, depending on network, only ports 80,443 are available. Here's
the tcpdump:
POST /xxxxxxxxx/Scripts/git-upload-pack HTTP/1.1 Host: xxxxxxxxxxxx
X-Host: xxxxxxxxxxxxx X-Real-IP: 10.0.9.9 X-Forwarded-For: xxxxxxxxxx,
10.0.9.9 X-Forwarded-Proto: https Proxy-host: 127.0.0.1:5000
X-Url-Scheme: https Connection: close Content-Length: 180 authorization:
Basic c2VydmVyczpqRDg5QWNpQlNtNW0mVA== user-agent: git/2.28.0
accept-encoding: deflate, gzip content-type:
application/x-git-upload-pack-request accept:
application/x-git-upload-pack-result 00a4want
2500470a1a1820ff8c10632864d9a2a207968759 multi_ack_detailed no-done
side-band-64k thin-pack include-tag ofs-delta deepen-since deepen-not
agent=git/2.28.0 000cdeepen 20000HTTP/1.1 417 Expectation Failed Server:
gunicorn/20.0.4 Date: Mon, 25 Jan 2021 04:48:54 GMT Connection: close
Content-Length: 48 Content-Type: text/plain; charset=UTF-8 417
Expectation Failed Expectation failed.
Gunicorn logs, with loglevel debug:
Jan 25 04:47:22 kallithea-server daemon.debug gunicorn.kallithea.error:
[23679] GET /xxxxxxxxxxxxxx/Scripts/info/refs Jan 25 04:47:22
kallithea-server daemon.info gunicorn.kallithea.access: [23679]
127.0.0.1 - - [25/Jan/2021:04:47:22 +0000] "GET
/xxxxxxxxxxxxxx/Scripts/info/refs?service=git-upload-pack HTTP/1.1" 401
436 "-" "git/2.28.0" Jan 25 04:47:23 kallithea-server daemon.debug
gunicorn.kallithea.error: [23679] GET /xxxxxxxxxxxxxx/Scripts/info/refs
Jan 25 04:47:23 kallithea-server daemon.info gunicorn.kallithea.access:
[23679] 127.0.0.1 - lhorace [25/Jan/2021:04:47:23 +0000] "GET
/xxxxxxxxxxxxxx/Scripts/info/refs?service=git-upload-pack HTTP/1.1" 401
436 "-" "git/2.28.0" Jan 25 04:48:52 kallithea-server daemon.debug
gunicorn.kallithea.error: [23679] GET /xxxxxxxxxxxxxx/Scripts/info/refs
Jan 25 04:48:52 kallithea-server daemon.info gunicorn.kallithea.access:
[23679] 127.0.0.1 - - [25/Jan/2021:04:48:52 +0000] "GET
/xxxxxxxxxxxxxx/Scripts/info/refs?service=git-upload-pack HTTP/1.1" 401
436 "-" "git/2.28.0" Jan 25 04:48:52 kallithea-server daemon.debug
gunicorn.kallithea.error: [23676] GET /xxxxxxxxxxxxxx/Scripts/info/refs
Jan 25 04:48:53 kallithea-server daemon.info gunicorn.kallithea.access:
[23676] 127.0.0.1 - servers [25/Jan/2021:04:48:53 +0000] "GET
/xxxxxxxxxxxxxx/Scripts/info/refs?service=git-upload-pack HTTP/1.1" 200
351 "-" "git/2.28.0" Jan 25 04:48:54 kallithea-server daemon.debug
gunicorn.kallithea.error: [23678] POST
/xxxxxxxxxxxxxx/Scripts/git-upload-pack Jan 25 04:48:54 kallithea-server
daemon.info gunicorn.kallithea.access: [23678] 127.0.0.1 - servers
[25/Jan/2021:04:48:54 +0000] "POST
/xxxxxxxxxxxxxx/Scripts/git-upload-pack HTTP/1.1" 417 48 "-"
"git/2.28.0" Jan 25 04:49:31 kallithea-server daemon.debug
gunicorn.kallithea.error: [23678] GET /xxxxxxxxxxxxxx/Scripts/info/refs
Jan 25 04:49:31 kallithea-server daemon.info gunicorn.kallithea.access:
[23678] 127.0.0.1 - - [25/Jan/2021:04:49:31 +0000] "GET
/xxxxxxxxxxxxxx/Scripts/info/refs?service=git-upload-pack HTTP/1.1" 401
436 "-" "git/2.28.0" Jan 25 04:49:32 kallithea-server daemon.debug
gunicorn.kallithea.error: [23676] GET /xxxxxxxxxxxxxx/Scripts/info/refs
Jan 25 04:49:33 kallithea-server daemon.info gunicorn.kallithea.access:
[23676] 127.0.0.1 - servers [25/Jan/2021:04:49:33 +0000] "GET
/xxxxxxxxxxxxxx/Scripts/info/refs?service=git-upload-pack HTTP/1.1" 200
351 "-" "git/2.28.0" Jan 25 04:49:33 kallithea-server daemon.debug
gunicorn.kallithea.error: [23678] POST
/xxxxxxxxxxxxxx/Scripts/git-upload-pack Jan 25 04:49:34 kallithea-server
daemon.info gunicorn.kallithea.access: [23678] 127.0.0.1 - servers
[25/Jan/2021:04:49:34 +0000] "POST
/xxxxxxxxxxxxxx/Scripts/git-upload-pack HTTP/1.1" 417 48 "-" "git/2.28.0"
Git arguments:
git clone --depth 2 https://xxxxxxx:xxxxx@xxxxxxx/xxxxxxx/Scripts
Is there a separate log file I can enable and take a look at, to try to
determine why this is failing here?
Best Regards.
More information about the kallithea-general
mailing list