viceice commented on issue #15067: URL: https://github.com/apache/lucene/issues/15067#issuecomment-3190968631
oh, interesting, the redirect only happens for simple get requests. git clone is not redirected <details> <summary> GIT_CURL_VERBOSE=1 git clone --progress --verbose --depth 1 https://gitbox.apache.org/repos/asf/lucene.git </summary> ```sh > GIT_CURL_VERBOSE=1 git clone --progress --verbose --depth 1 https://gitbox.apache.org/repos/asf/lucene.git Cloning into 'lucene'... 10:40:01.411541 http.c:877 == Info: Couldn't find host gitbox.apache.org in the .netrc file; using defaults 10:40:01.415048 http.c:877 == Info: Host gitbox.apache.org:443 was resolved. 10:40:01.415075 http.c:877 == Info: IPv6: 2a01:4f9:3080:3e9e::2 10:40:01.415079 http.c:877 == Info: IPv4: 135.181.246.12 10:40:01.415106 http.c:877 == Info: Trying 135.181.246.12:443... 10:40:01.466076 http.c:877 == Info: Connected to gitbox.apache.org (135.181.246.12) port 443 10:40:01.531051 http.c:877 == Info: found 438 certificates in /etc/ssl/certs 10:40:01.531792 http.c:877 == Info: GnuTLS ciphers: NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-VERS-SSL3.0 10:40:01.531837 http.c:877 == Info: ALPN: curl offers h2,http/1.1 10:40:01.583879 http.c:877 == Info: SSL connection using TLS1.3 / ECDHE_RSA_AES_256_GCM_SHA384 10:40:01.584954 http.c:877 == Info: server certificate verification OK 10:40:01.584976 http.c:877 == Info: server certificate status verification SKIPPED 10:40:01.585026 http.c:877 == Info: common name: *.apache.org (matched) 10:40:01.585047 http.c:877 == Info: server certificate expiration date OK 10:40:01.585052 http.c:877 == Info: server certificate activation date OK 10:40:01.585059 http.c:877 == Info: certificate public key: RSA 10:40:01.585079 http.c:877 == Info: certificate version: #3 10:40:01.585106 http.c:877 == Info: subject: CN=*.apache.org 10:40:01.585113 http.c:877 == Info: start date: Thu, 15 Aug 2024 00:00:00 GMT 10:40:01.585118 http.c:877 == Info: expire date: Mon, 15 Sep 2025 23:59:59 GMT 10:40:01.585130 http.c:877 == Info: issuer: C=GB,ST=Greater Manchester,L=Salford,O=Sectigo Limited,CN=Sectigo RSA Domain Validation Secure Server CA 10:40:01.585155 http.c:877 == Info: ALPN: server accepted h2 10:40:01.585225 http.c:877 == Info: using HTTP/2 10:40:01.585279 http.c:877 == Info: [HTTP/2] [1] OPENED stream for https://gitbox.apache.org/repos/asf/lucene.git/info/refs?service=git-upload-pack 10:40:01.585301 http.c:877 == Info: [HTTP/2] [1] [:method: GET] 10:40:01.585306 http.c:877 == Info: [HTTP/2] [1] [:scheme: https] 10:40:01.585308 http.c:877 == Info: [HTTP/2] [1] [:authority: gitbox.apache.org] 10:40:01.585313 http.c:877 == Info: [HTTP/2] [1] [:path: /repos/asf/lucene.git/info/refs?service=git-upload-pack] 10:40:01.585315 http.c:877 == Info: [HTTP/2] [1] [user-agent: git/2.49.0] 10:40:01.585333 http.c:877 == Info: [HTTP/2] [1] [accept: */*] 10:40:01.585354 http.c:877 == Info: [HTTP/2] [1] [accept-encoding: deflate, gzip, br, zstd] 10:40:01.585359 http.c:877 == Info: [HTTP/2] [1] [accept-language: C, *;q=0.9] 10:40:01.585362 http.c:877 == Info: [HTTP/2] [1] [pragma: no-cache] 10:40:01.585365 http.c:877 == Info: [HTTP/2] [1] [git-protocol: version=2] 10:40:01.585392 http.c:824 => Send header, 0000000246 bytes (0x000000f6) 10:40:01.585412 http.c:836 => Send header: GET /repos/asf/lucene.git/info/refs?service=git-upload-pack HTTP/2 10:40:01.585416 http.c:836 => Send header: Host: gitbox.apache.org 10:40:01.585419 http.c:836 => Send header: User-Agent: git/2.49.0 10:40:01.585436 http.c:836 => Send header: Accept: */* 10:40:01.585440 http.c:836 => Send header: Accept-Encoding: deflate, gzip, br, zstd 10:40:01.585442 http.c:836 => Send header: Accept-Language: C, *;q=0.9 10:40:01.585444 http.c:836 => Send header: Pragma: no-cache 10:40:01.585446 http.c:836 => Send header: Git-Protocol: version=2 10:40:01.585448 http.c:836 => Send header: 10:40:01.635968 http.c:824 <= Recv header, 0000000013 bytes (0x0000000d) 10:40:01.636010 http.c:836 <= Recv header: HTTP/2 200 10:40:01.636020 http.c:824 <= Recv header, 0000000040 bytes (0x00000028) 10:40:01.636023 http.c:836 <= Recv header: expires: Fri, 01 Jan 1980 00:00:00 GMT 10:40:01.636050 http.c:824 <= Recv header, 0000000018 bytes (0x00000012) 10:40:01.636057 http.c:836 <= Recv header: pragma: no-cache 10:40:01.636061 http.c:824 <= Recv header, 0000000053 bytes (0x00000035) 10:40:01.636064 http.c:836 <= Recv header: cache-control: no-cache, max-age=0, must-revalidate 10:40:01.636070 http.c:824 <= Recv header, 0000000059 bytes (0x0000003b) 10:40:01.636073 http.c:836 <= Recv header: content-type: application/x-git-upload-pack-advertisement 10:40:01.636076 http.c:824 <= Recv header, 0000000037 bytes (0x00000025) 10:40:01.636081 http.c:836 <= Recv header: date: Fri, 15 Aug 2025 08:40:01 GMT 10:40:01.636087 http.c:824 <= Recv header, 0000000016 bytes (0x00000010) 10:40:01.636091 http.c:836 <= Recv header: server: Apache 10:40:01.636094 http.c:824 <= Recv header, 0000000002 bytes (0x00000002) 10:40:01.636099 http.c:836 <= Recv header: 10:40:01.636987 http.c:877 == Info: Connection #0 to host gitbox.apache.org left intact POST git-upload-pack (181 bytes) 10:40:01.637320 http.c:877 == Info: Couldn't find host gitbox.apache.org in the .netrc file; using defaults 10:40:01.637330 http.c:877 == Info: Found bundle for host: 0x5fb8e42df5c0 [can multiplex] 10:40:01.637337 http.c:877 == Info: Re-using existing connection with host gitbox.apache.org 10:40:01.637377 http.c:877 == Info: [HTTP/2] [3] OPENED stream for https://gitbox.apache.org/repos/asf/lucene.git/git-upload-pack 10:40:01.637405 http.c:877 == Info: [HTTP/2] [3] [:method: POST] 10:40:01.637410 http.c:877 == Info: [HTTP/2] [3] [:scheme: https] 10:40:01.637413 http.c:877 == Info: [HTTP/2] [3] [:authority: gitbox.apache.org] 10:40:01.637416 http.c:877 == Info: [HTTP/2] [3] [:path: /repos/asf/lucene.git/git-upload-pack] 10:40:01.637438 http.c:877 == Info: [HTTP/2] [3] [user-agent: git/2.49.0] 10:40:01.637444 http.c:877 == Info: [HTTP/2] [3] [accept-encoding: deflate, gzip, br, zstd] 10:40:01.637447 http.c:877 == Info: [HTTP/2] [3] [content-type: application/x-git-upload-pack-request] 10:40:01.637450 http.c:877 == Info: [HTTP/2] [3] [accept: application/x-git-upload-pack-result] 10:40:01.637452 http.c:877 == Info: [HTTP/2] [3] [accept-language: C, *;q=0.9] 10:40:01.637457 http.c:877 == Info: [HTTP/2] [3] [git-protocol: version=2] 10:40:01.637460 http.c:877 == Info: [HTTP/2] [3] [content-length: 181] 10:40:01.637482 http.c:824 => Send header, 0000000318 bytes (0x0000013e) 10:40:01.637502 http.c:836 => Send header: POST /repos/asf/lucene.git/git-upload-pack HTTP/2 10:40:01.637507 http.c:836 => Send header: Host: gitbox.apache.org 10:40:01.637509 http.c:836 => Send header: User-Agent: git/2.49.0 10:40:01.637511 http.c:836 => Send header: Accept-Encoding: deflate, gzip, br, zstd 10:40:01.637513 http.c:836 => Send header: Content-Type: application/x-git-upload-pack-request 10:40:01.637534 http.c:836 => Send header: Accept: application/x-git-upload-pack-result 10:40:01.637539 http.c:836 => Send header: Accept-Language: C, *;q=0.9 10:40:01.637542 http.c:836 => Send header: Git-Protocol: version=2 10:40:01.637544 http.c:836 => Send header: Content-Length: 181 10:40:01.637546 http.c:836 => Send header: 10:40:01.688215 http.c:824 <= Recv header, 0000000013 bytes (0x0000000d) 10:40:01.688249 http.c:836 <= Recv header: HTTP/2 200 10:40:01.688257 http.c:824 <= Recv header, 0000000040 bytes (0x00000028) 10:40:01.688261 http.c:836 <= Recv header: expires: Fri, 01 Jan 1980 00:00:00 GMT 10:40:01.688289 http.c:824 <= Recv header, 0000000018 bytes (0x00000012) 10:40:01.688315 http.c:836 <= Recv header: pragma: no-cache 10:40:01.688344 http.c:824 <= Recv header, 0000000053 bytes (0x00000035) 10:40:01.688369 http.c:836 <= Recv header: cache-control: no-cache, max-age=0, must-revalidate 10:40:01.688378 http.c:824 <= Recv header, 0000000052 bytes (0x00000034) 10:40:01.688385 http.c:836 <= Recv header: content-type: application/x-git-upload-pack-result 10:40:01.688390 http.c:824 <= Recv header, 0000000037 bytes (0x00000025) 10:40:01.688395 http.c:836 <= Recv header: date: Fri, 15 Aug 2025 08:40:01 GMT 10:40:01.688398 http.c:824 <= Recv header, 0000000016 bytes (0x00000010) 10:40:01.688402 http.c:836 <= Recv header: server: Apache 10:40:01.688405 http.c:824 <= Recv header, 0000000002 bytes (0x00000002) 10:40:01.688409 http.c:836 <= Recv header: 10:40:01.740502 http.c:877 == Info: Connection #0 to host gitbox.apache.org left intact POST git-upload-pack (235 bytes) 10:40:01.746468 http.c:877 == Info: Couldn't find host gitbox.apache.org in the .netrc file; using defaults 10:40:01.746501 http.c:877 == Info: Found bundle for host: 0x5fb8e42df5c0 [can multiplex] 10:40:01.746531 http.c:877 == Info: Re-using existing connection with host gitbox.apache.org 10:40:01.746583 http.c:877 == Info: [HTTP/2] [5] OPENED stream for https://gitbox.apache.org/repos/asf/lucene.git/git-upload-pack 10:40:01.746618 http.c:877 == Info: [HTTP/2] [5] [:method: POST] 10:40:01.746623 http.c:877 == Info: [HTTP/2] [5] [:scheme: https] 10:40:01.746627 http.c:877 == Info: [HTTP/2] [5] [:authority: gitbox.apache.org] 10:40:01.746630 http.c:877 == Info: [HTTP/2] [5] [:path: /repos/asf/lucene.git/git-upload-pack] 10:40:01.746633 http.c:877 == Info: [HTTP/2] [5] [user-agent: git/2.49.0] 10:40:01.746636 http.c:877 == Info: [HTTP/2] [5] [accept-encoding: deflate, gzip, br, zstd] 10:40:01.746639 http.c:877 == Info: [HTTP/2] [5] [content-type: application/x-git-upload-pack-request] 10:40:01.746643 http.c:877 == Info: [HTTP/2] [5] [accept: application/x-git-upload-pack-result] 10:40:01.746666 http.c:877 == Info: [HTTP/2] [5] [accept-language: C, *;q=0.9] 10:40:01.746672 http.c:877 == Info: [HTTP/2] [5] [git-protocol: version=2] 10:40:01.746679 http.c:877 == Info: [HTTP/2] [5] [content-length: 235] 10:40:01.746727 http.c:824 => Send header, 0000000318 bytes (0x0000013e) 10:40:01.746754 http.c:836 => Send header: POST /repos/asf/lucene.git/git-upload-pack HTTP/2 10:40:01.746759 http.c:836 => Send header: Host: gitbox.apache.org 10:40:01.746762 http.c:836 => Send header: User-Agent: git/2.49.0 10:40:01.746765 http.c:836 => Send header: Accept-Encoding: deflate, gzip, br, zstd 10:40:01.746768 http.c:836 => Send header: Content-Type: application/x-git-upload-pack-request 10:40:01.746790 http.c:836 => Send header: Accept: application/x-git-upload-pack-result 10:40:01.746797 http.c:836 => Send header: Accept-Language: C, *;q=0.9 10:40:01.746799 http.c:836 => Send header: Git-Protocol: version=2 10:40:01.746802 http.c:836 => Send header: Content-Length: 235 10:40:01.746806 http.c:836 => Send header: 10:40:01.797771 http.c:824 <= Recv header, 0000000013 bytes (0x0000000d) 10:40:01.797805 http.c:836 <= Recv header: HTTP/2 200 10:40:01.797815 http.c:824 <= Recv header, 0000000040 bytes (0x00000028) 10:40:01.797819 http.c:836 <= Recv header: expires: Fri, 01 Jan 1980 00:00:00 GMT 10:40:01.797843 http.c:824 <= Recv header, 0000000018 bytes (0x00000012) 10:40:01.797867 http.c:836 <= Recv header: pragma: no-cache 10:40:01.797876 http.c:824 <= Recv header, 0000000053 bytes (0x00000035) 10:40:01.797882 http.c:836 <= Recv header: cache-control: no-cache, max-age=0, must-revalidate 10:40:01.797887 http.c:824 <= Recv header, 0000000052 bytes (0x00000034) 10:40:01.797890 http.c:836 <= Recv header: content-type: application/x-git-upload-pack-result 10:40:01.797895 http.c:824 <= Recv header, 0000000037 bytes (0x00000025) 10:40:01.797899 http.c:836 <= Recv header: date: Fri, 15 Aug 2025 08:40:01 GMT 10:40:01.797902 http.c:824 <= Recv header, 0000000016 bytes (0x00000010) 10:40:01.797906 http.c:836 <= Recv header: server: Apache 10:40:01.797909 http.c:824 <= Recv header, 0000000002 bytes (0x00000002) 10:40:01.797914 http.c:836 <= Recv header: remote: Enumerating objects: 8652, done. remote: Counting objects: 100% (8652/8652), done. remote: Compressing objects: 100% (7065/7065), done. 10:40:04.634827 http.c:877 == Info: Connection #0 to host gitbox.apache.org left intact remote: Total 8652 (delta 3082), reused 3295 (delta 945), pack-reused 0 Receiving objects: 100% (8652/8652), 55.27 MiB | 23.74 MiB/s, done. Resolving deltas: 100% (3082/3082), done. Updating files: 100% (7373/7373), done. ``` </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org