Skip to content
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

Invalid Port #184

Open
dannythk opened this issue Jul 9, 2019 · 0 comments
Open

Invalid Port #184

dannythk opened this issue Jul 9, 2019 · 0 comments

Comments

@dannythk
Copy link

dannythk commented Jul 9, 2019

Trying to use the following registries.yml:

registries:
yorktownRegistry:
url: https://registry.yorktown.io
port: 5000
refresh-rate: 5m
skip-tls-validation: true

I get the following error:
level=error msg="Failed to retrieve an updated list of repositories for https://registry.yorktown.io:5000" Error="Get https://registry.yorktown.io:5000https//registry.yorktown.io:5000/v2/_catalog?last=securityproxy&n=100: invalid URL port "5000https"" file=registry.go line=82 source=app

It seems like the URL generated is not correct. https://registry.yorktown.io:5000/v2_catalog?last=securityproxy&n=100 works as expected. But the generated URL concatenated the URL twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant