"No URL provided …" for cache needs to be supplemented with raw URL string constructed from config.toml
Description
This could be considerd a typebug as well. In this internal support case, a customer had Path = '…/'
in their config.toml
, which lead to the construction of a wholly invalid URL, when prepended to the StorageDomain
as documented.
Proposal
Before our Go code arrives at if c.URL != "", the URL is constructed from the various config.toml
entries and validated in some basic sense, correct? If so, that validation should be logged (at least on debug
level).
If a cache URL problem occurs after that point, we provide more useful messages, for example regarding the credentials.
Alternatively
Should we rename the config key Path
to Subdomain
, so that we don't have to explain that it's "prepended"?
Links to related issues and merge requests / references
Edited by Katrin Leinweber