Public bug reported:

I tried:

$ lxc remote add images images.linuxcontainers.org
error: Get https://images.linuxcontainers.org:8443/1.0: Forbidden

I am in a network environment where I must use a proxy. So this led me
to think that lxd needed to be configured to use a proxy. I do have
http_proxy and https_proxy set in my environment, but as lxd is also a
daemon it seems reasonable to me to expect it to be configured elsewhere
also, as lxd isn't necessary started with that environment.

It turns out that "error: Get
https://images.linuxcontainers.org:8443/1.0: Forbidden" actually refers
to my proxy's response, which doesn't allow through that port.

"lxc remote add images images.linuxcontainers.org:443" worked instead,
at least for image listing.

I have two thoughts about this.

First, since port 443 is more likely to work in more environments, it
might be an idea to arrange for the quick start documentation to use
this.

Second, could it be made clearer that the error message comes from the
proxy explicitly? Initially I assumed that it wasn't hitting the proxy
at all, and was instead somehow translating an ICMP firewall refusal or
something.

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1545807

Title:
  Error message origin from image downloads aren't clear

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1545807/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to