So, investigations so far show you might

1. have a version of libssl that is so old that it tries to use SSL3
(instead of TLS1.0 or later) to talk to the server; rightfully,
files.ettus.com:443 doesn't support that
2. you might per chance have installed a package that overrides
python-requests' default CA storage. The number one suspect in this case
would be having installed "certifi" separately to python-requests.

Best regards,
Marcus

On 20.03.20 01:42, Basse Ang wrote:
> hi Marcus,
> 
> Thank you for your reply.
> 
> this is the output:
> 
> Please run:
> 
>  "/usr/lib/uhd/utils/uhd_images_downloader.py"
> No UHD Devices Found
> oai@oai:~$ sudo /usr/lib/uhd/utils/uhd_images_downloader.py
> [INFO] Images destination: /usr/share/uhd/images
> [INFO] No inventory file found at /usr/share/uhd/images/inventory.json.
> Creating an empty one.
> [ERROR] Downloader raised an unhandled exception: [Errno 1] _ssl.c:510:
> error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
> verify failed
> You can run this again with the '--verbose' flag to see more information
> 
> If the problem persists, please email the output to: [email protected]
> <mailto:[email protected]>
> *oai@oai:~$  echo "http_proxy ${http_proxy} https_proxy ${https_proxy}"*
> http_proxy  https_proxy
> 
> *oai@oai:~$  /usr/lib/uhd/utils/uhd_images_downloader.py --help*
> usage: uhd_images_downloader.py [-h] [-t TYPES] [-i INSTALL_LOCATION]
>                                 [-m MANIFEST_LOCATION] [-I
> INVENTORY_LOCATION]
>                                 [-l] [--url-only] [--buffer-size
> BUFFER_SIZE]
>                                 [--download-limit DOWNLOAD_LIMIT]
>                                 [--http-proxy HTTP_PROXY] [-b BASE_URL] [-k]
>                                 [-T] [-y] [-n] [--refetch] [-V] [-q] [-v]
> 
> optional arguments:
>   -h, --help            show this help message and exit
>   -t TYPES, --types TYPES
>                         RegEx to select image sets from the manifest file.
>                         (default: None)
>   -i INSTALL_LOCATION, --install-location INSTALL_LOCATION
>                         Set custom install location for images (default:
> None)
>   -m MANIFEST_LOCATION, --manifest-location MANIFEST_LOCATION
>                         Set custom location for the manifest file
> (default: )
>   -I INVENTORY_LOCATION, --inventory-location INVENTORY_LOCATION
>                         Set custom location for the inventory file
> (default: )
>   -l, --list-targets    Print targets in the manifest file to stdout, and
>                         exit. To get relative paths only, specify an empty
>                         base URL (-b ''). (default: False)
>   --url-only            With -l, only print the URLs, nothing else.
> (default:
>                         False)
>   --buffer-size BUFFER_SIZE
>                         Set download buffer size (default: 8192)
>   --download-limit DOWNLOAD_LIMIT
>                         Set threshold for download limits. Any download
> larger
>                         than this will require approval, either
> interactively,
>                         or by providing --yes. (default: 104857600)
>   --http-proxy HTTP_PROXY
>                         Specify HTTP proxy in the format
>                         http://user:[email protected]:port If this this option is
>                         not given, the environment variable HTTP_PROXY can
>                         also be used to specify a proxy. (default: None)
>   -b BASE_URL, --base-url BASE_URL
>                         Set base URL for images download location (default:
>                         http://files.ettus.com/binaries/cache/)
>   -k, --keep            Keep the downloaded images archives in the image
>                         directory (default: False)
>   -T, --test            Verify the downloaded archives before extracting
> them
>                         (default: False)
>   -y, --yes             Answer all questions with 'yes' (for scripting
>                         purposes). (default: False)
>   -n, --dry-run         Print selected target without actually downloading
>                         them. (default: False)
>   --refetch             Ignore the inventory file and download all images.
>                         (default: False)
>   -V, --version         show program's version number and exit
>   -q, --quiet           Decrease verbosity level (default: 0)
>   -v, --verbose         Increase verbosity level (default: 0)
> 
> *oai@oai:~$  /usr/lib/uhd/utils/uhd_images_downloader.py -V*
> 3.14.1.1-release
> 
> regards
> Bass
> 
> On Thu, Mar 19, 2020 at 1:41 PM Marcus Müller <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Hi Basse,
> 
>     knowing our downloader, this is very likely a problem on your side: Is
>     it possible you have a HTTP proxy set up that does SSL tunneling, but
>     you've forgot to install the CA certificate, so that you don't trust
>     your own proxy?
> 
>     Can you share the full output of
> 
>     echo "http_proxy ${http_proxy} https_proxy ${https_proxy}"
> 
>     and
> 
>     /usr/lib/uhd/utils/uhd_images_downloader.py --help
>     /usr/lib/uhd/utils/uhd_images_downloader.py -V
> 
>     please?
> 
>     Best regards,
>     Marcus
> 
>     On 19.03.20 16:35, Basse Ang wrote:
>     > Hi
>     >
>     > just tried to install UHD into my ubuntu 14 hosts. doing for 2
>     months, I
>     > always ended with this error:
>     >
>     > oai@oai:~$ /usr/lib/uhd/utils/uhd_images_downloader.py
>     > [INFO] Images destination: /usr/share/uhd/images
>     > [INFO] No inventory file found at
>     /usr/share/uhd/images/inventory.json.
>     > Creating an empty one.
>     > [ERROR] Downloader raised an unhandled exception: [Errno 1]
>     _ssl.c:510:
>     > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
>     > verify failed
>     > You can run this again with the '--verbose' flag to see more
>     information
>     > If the problem persists, please email the output to:
>     [email protected] <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>
>     > oai@oai:~$ /usr/lib/uhd/utils/uhd_images_downloader.py --verbose
>     > [INFO] Images destination: /usr/share/uhd/images
>     > [INFO] No inventory file found at
>     /usr/share/uhd/images/inventory.json.
>     > Creating an empty one.
>     > [DEBUG] URLs to download:
>     > usrp1/fpga-6bea23d/usrp1_b100_fw_default-g6bea23d.zip
>     > x3xx/fpga-bb85bdff/x3xx_x310_fpga_default-gbb85bdff.zip
>     > usrp2/fpga-6bea23d/usrp2_n210_fpga_default-g6bea23d.zip
>     > n230/fpga-bb85bdff/n230_n230_fpga_default-gbb85bdff.zip
>     > usrp1/fpga-6bea23d/usrp1_b100_fpga_default-g6bea23d.zip
>     > b2xx/fpga-bb85bdff/b2xx_b200_fpga_default-gbb85bdff.zip
>     > usrp2/fpga-6bea23d/usrp2_n200_fpga_default-g6bea23d.zip
>     > e3xx/fpga-bb85bdff/e3xx_e320_fpga_default-gbb85bdff.zip
>     > n3xx/fpga-bb85bdff/n3xx_n310_fpga_default-gbb85bdff.zip
>     > b2xx/fpga-bb85bdff/b2xx_b205mini_fpga_default-gbb85bdff.zip
>     > x3xx/fpga-bb85bdff/x3xx_x300_fpga_default-gbb85bdff.zip
>     > octoclock/uhd-14000041/octoclock_octoclock_fw_default-g14000041.zip
>     > usrp2/fpga-6bea23d/usrp2_usrp2_fw_default-g6bea23d.zip
>     > usrp2/fpga-6bea23d/usrp2_n200_fw_default-g6bea23d.zip
>     > usrp2/fpga-6bea23d/usrp2_usrp2_fpga_default-g6bea23d.zip
>     > b2xx/uhd-2bdad498/b2xx_common_fw_default-g2bdad498.zip
>     > n3xx/fpga-bb85bdff/n3xx_n320_fpga_default-gbb85bdff.zip
>     > b2xx/fpga-bb85bdff/b2xx_b200mini_fpga_default-gbb85bdff.zip
>     > usrp1/fpga-6bea23d/usrp1_usrp1_fpga_default-g6bea23d.zip
>     > usb/uhd-14000041/usb_common_windrv_default-g14000041.zip
>     > usrp2/fpga-6bea23d/usrp2_n210_fw_default-g6bea23d.zip
>     > n3xx/fpga-bb85bdff/n3xx_n300_fpga_default-gbb85bdff.zip
>     > e3xx/fpga-bb85bdff/e3xx_e310_fpga_default-gbb85bdff.zip
>     > b2xx/fpga-bb85bdff/b2xx_b210_fpga_default-gbb85bdff.zip
>     > [ERROR] Downloader raised an unhandled exception: [Errno 1]
>     _ssl.c:510:
>     > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
>     > verify failed
>     > You can run this again with the '--verbose' flag to see more
>     information
>     > If the problem persists, please email the output to:
>     [email protected] <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>
>     > oai@oai:~$
>     >
>     >
>     > I have already udate my certificate, but it does not help.
>     >
>     > could anyone help me to figure out what should I do?
>     >
>     > Thank you
>     > Bass
> 

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to