-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitlab registry - error parsing HTTP 404 response body: invalid character #1025
Comments
Hey, for me it seems that you use different approaches to get your network working. This could lead to your problem. Why do you use |
Exact same problem here
|
Hi @solidnerd, I am using the This is the error I get when I change the network to an external network such as Update:
If I add a link in gitlab to postgresql,
then this goes away. I agree with you though that with networks, it should not be like this but I can't explain it. The passwords and settings are correct, same as for the postgresql container setup. To be honest, I'm more concerned about why my TCP connection is refused though. Do you happen to use letsencrypt-companion & nginx-proxy with gitlab-registry working? UPDATE 2:
The only big thing is I still cannot login with docker.
nginx log:
registry log:
maybe something wrong with the nginx configuration? (similar to #876 and somewhat like this issue) I'll try change some of the settings and see what happens. Similar issues: docker forum 404, gitlab forum, similar issue gitlab forum, similar issue on gitlab forum, gitlab issue 983 Wonder if someone has a working configuration with docker-letsencrypt-companion and nginx-proxy? |
This is my expanded nginx configuration for $REGISTRY_DOMAIN IN the nginx-proxy server:
This is what I get when I send a curl request
|
I gave up on Gitlab-registry in the end and just using gitlab for now. Will come back and see if this is magically fixed in some future release. |
Almost one year later: I encountered the exact same issue and found the reason for it.
This has to point to the GITLAB domain itself - not the domain of the registry ... After changing it and restarting the registry daemon it works fine. Anyway I still encounter the issue stated here, since the domain itself is not properly written after a reconfigure ...: https://gitlab.com/gitlab-org/gitlab-ce/issues/26265 |
Hello, I'm facing the same issue using traefik in front of gitlab and registry.
|
I'm using letsencrypt, nginx-proxy and gitlab with gitlab-registry.
I can't open the gitlab-registry page of a project without getting a 500 error. Gitlab is
working fine and the url https://$REGISTR_DOMAIN/v2/ seems to work when sent a curl request except that it is not authorised. ie
https://$REGISTR_DOMAIN/v2/
doesn't have a tcp connection refused which is why I can't understand why gitlab is having that problem.This is the error in
/home/git/gitlab/log/production.log
of the gitlab container.This is the relevant parts of the docker-compose.yml
Anyone have any idea or have a working configuration?
Perhaps it's some problem with the certificates but they do exist.
The text was updated successfully, but these errors were encountered: