Closed gaetanquentin closed 6 years ago
Sounds like the server is being unhappy when fetching index.json from the remote server. The fact that proxy is mentioned makes me wonder what the server config looks like. Can you paste lxc config show
?
lxc config show config: core.https_address: '[::]:8443' core.proxy_http: http://10.154.8.58:3128 core.proxy_https: https://10.154.8.58:3128 core.trust_password: true
https_proxy="https://10.154.8.58:3128" wget https://images.linuxcontainers.org/streams/v1/index.json --2018-04-10 17:46:37-- https://images.linuxcontainers.org/streams/v1/index.json Connecting to 10.154.8.58:3128... connected. Proxy request sent, awaiting response... 301 Moved Permanently Location: https://uk.images.linuxcontainers.org/streams/v1/index.json [following] --2018-04-10 17:46:38-- https://uk.images.linuxcontainers.org/streams/v1/index.json Connecting to 10.154.8.58:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 3052 (3,0K) [application/json] Saving to: ‘index.json’
Proxy URLs should be http:// even for https.
Try changing your core.proxy_https to be the same value as core.proxy_http
that's new with 3.0.0? i haven't change this configuration.
it was working fine with 2.21 (have upgraded recently)
That shouldn't have changed, I remember seeing such behavior in the past, but sometimes you're lucky and your proxy can be smart and do TLS as needed. Assuming the proxy in question is squid3 or similar though, the client's connection isn't supposed to be using TLS, if the connection is https, the client will use the CONNECT method over the proxy protocol to get a raw TLS socket with the target.
Did changing core.proxy_https to 'http://10.154.8.58:3128' fix that problem for you?
yes it did. thanks
info
Ubuntu 16.04.4 LTS \n \l snap
steps to reproduce
debug