rgit icon indicating copy to clipboard operation
rgit copied to clipboard

Repository Not Found when running Git Clone

Open MTGmonket opened this issue 6 months ago • 2 comments

Steps to reproduce: Run git clone https://git.mtgmonkey.net/server-configuration.git and watch the error. This fails with the http and git prefixes as well

Relevant nix config: This is my rgit docker config This is the reverse proxy I have it behind

What have I misconfigured?

MTGmonket avatar Jun 16 '25 21:06 MTGmonket

UPDATE: It now just says repository not found. I have updated the configuration to use the binary rather than the docker image.

MTGmonket avatar Jun 17 '25 14:06 MTGmonket

This, https://git.mtgmonkey.net/server-configuration.git/tree/services/ferron.nix , is the reverse proxy I have it behind

$ curl --verbose https://git.mtgmonkey.net/server-configuration.git/tree/services/ferron.nix
* Host git.mtgmonkey.net:443 was resolved.
* IPv6: (none)
* IPv4: 173.249.5.230
*   Trying 173.249.5.230:443...
* GnuTLS ciphers: NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-VERS-SSL3.0
* ALPN: curl offers h2,http/1.1
* found 140 certificates in /etc/ssl/certs/ca-certificates.crt
* found 423 certificates in /etc/ssl/certs
* SSL connection using TLS1.3 / ECDHE_RSA_AES_256_GCM_SHA384
*   server certificate verification OK
*   server certificate status verification SKIPPED
*   common name: mtgmonkey.net (matched)
*   server certificate expiration date OK
*   server certificate activation date OK
*   certificate public key: EC/ECDSA
*   certificate version: #3
*   subject: CN=mtgmonkey.net
*   start date: Mon, 03 Nov 2025 14:48:16 GMT
*   expire date: Sun, 01 Feb 2026 14:48:15 GMT
*   issuer: C=US,O=Let's Encrypt,CN=E7
* ALPN: server accepted h2
* Connected to git.mtgmonkey.net (173.249.5.230) port 443
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://git.mtgmonkey.net/server-configuration.git/tree/services/ferron.nix
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: git.mtgmonkey.net]
* [HTTP/2] [1] [:path: /server-configuration.git/tree/services/ferron.nix]
* [HTTP/2] [1] [user-agent: curl/8.11.1]
* [HTTP/2] [1] [accept: */*]
> GET /server-configuration.git/tree/services/ferron.nix HTTP/2
> Host: git.mtgmonkey.net
> User-Agent: curl/8.11.1
> Accept: */*
> 
* Request completely sent off
< HTTP/2 404 
< cache-control: max-age=0, private, must-revalidate, no-transform
< content-type: text/plain;charset=utf-8
< set-cookie: i_like_gitea=3e34567a1603db6d; Path=/; HttpOnly; Secure; SameSite=Lax
< set-cookie: _csrf=3oSEE7fRptmS9J4FReG40lMbYlY6MTc2MzMxNDMyMzM1MjM2MTcxMQ; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< date: Sun, 16 Nov 2025 17:32:03 GMT
< content-length: 11
< server: Ferron
< 
Not found.
* Connection #0 to host git.mtgmonkey.net left intact
$

UPDATE: It now just says repository not found.

Yes, reproducable. And good luck with reconfiguring your reverse proxy.

stappersg avatar Nov 16 '25 17:11 stappersg