TLS issue with image launch

Hi, I am new to lxc. Trying to launch a container. I am getting a tls error.

lxc launch images:centos/7/amd64 mycentos7
Creating mycentos7
Error: Failed container creation: Get https://images.linuxcontainers.org/streams/v1/index.json: proxyconnect tcp: tls: oversized record received with length 20527

Output from lxc info as follows:
api_status: stable
api_version: “1.0”
auth: trusted
public: false
auth_methods:

  • tls
    environment:
    addresses: []
    architectures:
    • x86_64
    • i686
      certificate: |
      -----BEGIN CERTIFICATE-----
      MIICATCCAYegAwIBAgIRAKX81iDRPseJSW8FxDFvm7swCgYIKoZIzj0EAwMwNzEc
      MBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEXMBUGA1UEAwwOcm9vdEByMmQy
      LTIwMTgwHhcNMTkwMTI1MjAwNTQ4WhcNMjkwMTIyMjAwNTQ4WjA3MRwwGgYDVQQK
      ExNsaW51eGNvbnRhaW5lcnMub3JnMRcwFQYDVQQDDA5yb290QHIyZDItMjAxODB2
      MBAGByqGSM49AgEGBSuBBAAiA2IABOLgsjlTWeXI6QNmeBMMZ3Z37WwZ6iI43bE7
      pl2bWsgN0Gw1bN2KT2igk/35VJR3ae2JOcrOoNwRh9QDyLqJEnIm2IBMBU3wsVcH
      14cDSmAQAPOS4RZHP4N1FnfXh1/LB6NXMFUwDgYDVR0PAQH/BAQDAgWgMBMGA1Ud
      JQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwIAYDVR0RBBkwF4IJcjJkMi0y
      MDE4hwQKIjcJhwTAqHoBMAoGCCqGSM49BAMDA2gAMGUCMQDWNNgqOzfZYif9q2Dr
      kWtK+swRbowGivBVeuTremGCZeEBZMYgk3yzR8S4ECcYwIICMDgfY4TPc4pyy1Fl
      YbK/4yps8m80aCIezJpzZgKbrwh9EZGqF8iqu3mWs4MNEMAnyQ==
      -----END CERTIFICATE-----
      certificate_fingerprint: 05ea0f18cdbb68fe55639f17c426abc474842f0dcb230b974a3debf0a6fa7d0a
      driver: lxc
      driver_version: 3.1.0
      kernel: Linux
      kernel_architecture: x86_64
      kernel_version: 3.10.0-957.1.3.el7.x86_64
      server: lxd
      server_pid: 11430
      server_version: “3.9”
      storage: dir
      storage_version: “1”
      server_clustered: false
      server_name: xyz
      project: default

Any help would be appreciated.

Thanks

Please ignore this. It was a proxy configuration problem.

Thanks

Hi!

Actually it was good that you reported it. This specific message should come up in Google when someone else searches for it.
If a future reader is benefited from reading this, please create an account and say thanks to @nandesh.

(You are using LXD instead of plain LXC. The lxc commands are for LXD, the lxc-create commands are for LXC. I changed the category of this thread to reflect it.).