You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Yea, hostname option should not be an URL with path.
Moreover, I guess the underlying library github.com/google/go-containerregistry may not support this either...
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.
The text was updated successfully, but these errors were encountered: