Quinn Casey

Gitlab

2023

GitLab Registry Fix: "received unexpected HTTP status: 500 Internal Server Error" March 2023

Another GitLab FOSS/CE issue today, this one occurred when pushing a large image (1.5 GB) to my self-hosted GitLab’s container registry. ... 8d54056fe8e1: Retrying in 6 seconds 8d54056fe8e1: Retrying in 5 seconds 8d54056fe8e1: Retrying in 4 seconds 8d54056fe8e1: Retrying in 3 seconds 8d54056fe8e1: Retrying in 2 seconds 8d54056fe8e1: Retrying in 1 second received unexpected HTTP status: 500 Internal Server Error The key factor here is my GitLab registry domain (registry.quinncasey.com) is behind a Cloudflare proxied CNAME. Fix This seems to have occurred because Cloudflare limits HTTP POST requests to 100MB for freeloaders like me. However even capital E Enterprise users only get 500MB, which also would have triggered this issue. Turn off Cloudflare proxy for your registry domain. If, like me, you use a wildcard for all subdomains (*.quinncasey.com), add another CNAME record for just the registry and toggle off the cloud icon. There might be another way around this without exposing your IP but I haven’t found it yet and this works just fine.

#gitlab
Hook execution failed: Failed to open TCP connection to 172.31.0.2:443 March 2023

I got this error today in GitLab FOSS/CE running in docker compose when testing a webhook. This solution helped me, specifically removing the hostname: from the compose config. version: '3.6' services: web: image: 'gitlab/gitlab-ce:latest' restart: unless-stopped # hostname: 'git.quinncasey.com' environment: ... This might break things cascading down from this one config option, but time will tell.

#gitlab

email

github

telegram
Bluesky Streamline Icon: https://streamlinehq.comBluesky
bluesky

discord
PGP:B670795930CF07B9DE5F8FD7020CCCFCB93DA9A5

© 2025 Quinn Casey - This site does not track.
Cooked up fresh daily. Last rendered Wed 14 May 2025 @ 21:24 UTC