-
Notifications
You must be signed in to change notification settings - Fork 103
Description
registry:
hostname: ewr.vultrcr.com/XXXX
...
I'm encountering an issue when setting the hostname configuration to include a / character in the registry URL. Specifically, when I configure the hostname as ewr.vultrcr.com/XXXX, I receive the following error:
time="2024-09-05T09:49:50Z" level=error msg="[RefreshCatalog] Error fetching catalog: Get \"https:///v2/\": http: no Host in request URL" logger=registry.client
It seems like the / character in the hostname may be causing this issue. Could you please confirm if the hostname field supports URLs with paths, or if only the domain name (without /) is allowed?
Steps to Reproduce:
Set hostname: ewr.vultrcr.com/XXXX in the configuration.
Run the registry client and try to refresh the catalog.
Observe the error message.
Expected Behavior:
I expect the catalog to refresh without errors even when the hostname contains a path.