[LXD] Error: Failed parsing stream: Get "https://cloud-images.ubuntu.com/releases/streams/v1/index.json": remote error: tls: handshake failure

Hi ,

Hi, I have been getting this error while trying to run the command "lxc image list ubuntu: " Same happens when I use the “Images” remote repository. Can someone help me to get this issue resolved. I’m using a http and https proxy on my server.

But I’m able to do a curl on the url https://cloud-images.ubuntu.com/releases/streams/v1/index.json

root@random:~# curl -I https://cloud-images.ubuntu.com/releases/streams/v1/index.json
HTTP/1.1 200 Connection established

HTTP/1.1 200 OK
Date: Thu, 21 Dec 2023 07:55:31 GMT
Server: Apache/2.4.29 (Ubuntu)
Last-Modified: Thu, 21 Dec 2023 07:42:08 GMT
ETag: “6c24-60d003ca3eea2”
Accept-Ranges: bytes
Content-Length: 27684
Vary: Accept-Encoding
Content-Type: application/json

This seems to be a duplicate of [LXD] Error: Failed parsing stream: Get "https://cloud-images.ubuntu.com/releases/streams/v1/index.json": remote error: tls: handshake failure