# Helm chart repository internal server error

**URL:** <https://forum.gitea.com/t/helm-chart-repository-internal-server-error/4311>\
**Category:** Install/Maintain/Configure\
**Created:** [December 27, 2021, 7:57am UTC](https://forum.gitea.com/t/helm-chart-repository-internal-server-error/4311 "2021-12-27T07:57:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marhag87](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/marhag87/32/1978_2.png) [@marhag87](https://forum.gitea.com/u/marhag87)\
**Post date:** [December 27, 2021, 7:57am UTC](https://forum.gitea.com/t/helm-chart-repository-internal-server-error/4311/1 "2021-12-27T07:57:52Z")

</div>

When I try to add the helm chart repository at [https://dl.gitea.io/charts](https://dl.gitea.io/charts) it usually times out after 10 seconds with error code 500:  
`Error: looks like "https://dl.gitea.io/charts" is not a valid chart repository or cannot be reached: failed to fetch https://dl.gitea.io/charts/index.yaml : 500 Internal Server Error`

---

<div class="post-metadata">

**Author:** ![dachary](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/dachary/32/4990_2.png) [@dachary](https://forum.gitea.com/u/dachary)\
**Post date:** [December 27, 2021, 8:40am UTC](https://forum.gitea.com/t/helm-chart-repository-internal-server-error/4311/2 "2021-12-27T08:40:20Z")

</div>

I do not have a `500 Internal Server Error` from my location.

```auto
$ $ curl -L --verbose https://dl.gitea.io/charts/index.yaml > /dev/null
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 104.21.60.7:443...
* TCP_NODELAY set
* Connected to dl.gitea.io (104.21.60.7) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [2326 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [80 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
* start date: Jul 1 00:00:00 2021 GMT
* expire date: Jun 30 23:59:59 2022 GMT
* subjectAltName: host "dl.gitea.io" matched cert's "*.gitea.io"
* issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x5648ec9bce10)
} [5 bytes data]
> GET /charts/index.yaml HTTP/2
> Host: dl.gitea.io
> user-agent: curl/7.68.0
> accept: */*
> 
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
} [5 bytes data]
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0< HTTP/2 307 
< date: Mon, 27 Dec 2021 08:40:56 GMT
< content-type: text/html; charset=utf-8
< location: https://storage.gitea.io/gitea-artifacts/charts/index.yaml?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=SU5ZZ3Q6D6AFIQSCOO65%2F20211227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211227T084056Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=78158d8cb60e2b675340f916555e7b5bffeb91c96334083a0df5b49ae677b620
< cf-cache-status: DYNAMIC
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=m4T0iow5g2P6XBOnXJPgJ58Wn25LeoucSOH8uGdXFjYi5jmzrC79veedeQLxdewk0IMYaADOC%2B%2Fg%2BHm6ursk9c9MsZkEcIAKJ6QJbq%2FkVaeNMP7JqSR1GYR6YCZybg%3D%3D"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
< cf-ray: 6c413f390bc24156-HAM
< alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400
< 
* Ignoring the response-body
{ [380 bytes data]
100 380 0 380 0 0 1206 0 --:--:-- --:--:-- --:--:-- 1202
* Connection #0 to host dl.gitea.io left intact
* Issue another request to this URL: 'https://storage.gitea.io/gitea-artifacts/charts/index.yaml?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=SU5ZZ3Q6D6AFIQSCOO65%2F20211227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211227T084056Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=78158d8cb60e2b675340f916555e7b5bffeb91c96334083a0df5b49ae677b620'
* Trying 159.223.15.80:443...
* TCP_NODELAY set
* Connected to storage.gitea.io (159.223.15.80) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [15 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [2943 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [79 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [36 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [36 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=storage.gitea.io
* start date: Dec 3 00:00:00 2021 GMT
* expire date: Mar 3 23:59:59 2022 GMT
* subjectAltName: host "storage.gitea.io" matched cert's "storage.gitea.io"
* issuer: C=AT; O=ZeroSSL; CN=ZeroSSL ECC Domain Secure Site CA
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x5648ec9bce10)
} [5 bytes data]
> GET /gitea-artifacts/charts/index.yaml?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=SU5ZZ3Q6D6AFIQSCOO65%2F20211227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211227T084056Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=78158d8cb60e2b675340f916555e7b5bffeb91c96334083a0df5b49ae677b620 HTTP/2
> Host: storage.gitea.io
> user-agent: curl/7.68.0
> accept: */*
> 
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [130 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
} [5 bytes data]
< HTTP/2 200 
< accept-ranges: bytes
< content-security-policy: block-all-mixed-content
< content-type: application/octet-stream
< date: Mon, 27 Dec 2021 08:40:56 GMT
< etag: "ac4edffa8826c960657cacb19fc33479"
< last-modified: Thu, 23 Dec 2021 14:01:07 GMT
< server: Caddy
< server: MinIO
< strict-transport-security: max-age=31536000; includeSubDomains
< vary: Origin
< x-amz-request-id: 16C48FF75AFDB466
< x-content-type-options: nosniff
< x-xss-protection: 1; mode=block
< content-length: 72896
< 
{ [5 bytes data]
100 72896 100 72896 0 0 149k 0 --:--:-- --:--:-- --:--:-- 149k
* Connection #1 to host storage.gitea.io left intact

```
