MAJA icon indicating copy to clipboard operation
MAJA copied to clipboard

Precompiled binaries 4.2.1 - download CAMS - Issue with SSL support

Open GuiYome opened this issue 5 years ago • 2 comments

Hello,

Appologize if this is not the right place to post on precompiled binaries.

I successfully downloaded and install precompiled binaries on a CentOS 7 linux server.

I could launch almost all process describe in the README.md of this repo (very helpful, thanks!).

Yet I met some issues with the download of CAMS data.

Here is the command I ran: ./camsdownload -d 20201001 -f 20201001 -a /<my data directory>/CNES_MAJA/CAMS -w /<my data directory>/CNES_MAJA/CAMS/Archive -p s2

And here are the outputs:

Number of days = 1
==================================
Downloading files for date 2020-10-01 00:00:00
==================================
Python socket module was not compiled with SSL support. Aborting...

Making some search on the internet, I found that issue could be that the embeded Python is not built with ssl support (see https://www.programmersought.com/article/5708542317/).

I could work around this by taking the code related to CAMS download and put all that in a docker with a python release that worked fine.

Is that issue only happening for me?

Thanks.

GuiYome avatar Oct 20 '20 12:10 GuiYome

I could not replicate the issue on my end using the embedded python exe. I will forward it to the developers to check if they can reproduce it.

Should you not want to pass by a dedicated docker img, you can just use a conda environment and call cams_download.py (located in /lib) directly using the new python exe.

Kind regards, Peter

petket-5 avatar Oct 22 '20 09:10 petket-5

I had the same issue.

  • Docker with Ubuntu 20.04
  • Maja 4.2.1 pre-compiled binary

With the embedded python: "Python socket module was not compiled with SSL support. Aborting..."
Then I used python 3 shipped with Ubuntu and it works.

Bests! Johann

jprankl avatar Nov 21 '20 18:11 jprankl