0 votes


Your answer really helped me and it worked pretty well. However, when I tried to run it again this afternoon, I got 

SSLError: HTTPSConnectionPool(host='datalab.noao.edu', port=443): Max retries exceeded with url: (a very long and meesy "url") (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

I looked for a few answers on StackOverflow and GitHub but those are essentially about setting verify=False in the request, which is unrelated to my problem (the package is not included).

Thank you.

asked Jan 7 by anonymous | 44 views

1 Answer

0 votes
Best answer

Thanks for reaching out. Can you please provide a bit more detail when you see this error?

In case you are running queries from your local computer, using either the 'datalab' command-line tool, or the queryClient Python module installed on your local machine, can you please verify that you have the latest version installed?

datalab version

It should be show "Task Version:  2.20.0" or higher. If not, please update your version via:

pip install --ignore-installed --no-cache-dir noaodatalab

But if your situation is different, please tell us a bit more details so we can try to reproduce the error.

answered Jan 7 by datalab (12,980 points)
Thank you so much! Yes, it is because of the version of my packages. Now I have all of them updated and the code works.
Uhm is there a similar commend to fix 'certificate verify failed: certificate has expired (_ssl.c:1125)''?

290 questions

290 answers


1,922 users

Welcome to Data Lab Help Desk, where you can ask questions and receive answers from other members of the community.