0 votes
120 views

I am working on jupyterlab. After using

client = SparclClient()

i get the following error:


---------------------------------------------------------------------------
ServerConnectionError                     Traceback (most recent call last)
Cell In[3], line 1
----> 1 client = SparclClient()

File /data0/sw/anaconda3/lib/python3.10/site-packages/sparcl/client.py:195, in SparclClient.__init__(self, email, password, url, verbose, show_curl, connect_timeout, read_timeout)
    193     if urlparse(url).hostname in _pat_hosts:
    194         msg += "Did you enable VPN?"
--> 195     raise ex.ServerConnectionError(msg) from None  # disable chaining
    197 self.apiversion = float(verstr)
    199 expected_api = SparclClient.KNOWN_GOOD_API_VERSION

ServerConnectionError: [SRVCONER] Could not connect to https://astrosparcl.datalab.noirlab.edu/sparc/version/. HTTPSConnectionPool(host='astrosparcl.datalab.noirlab.edu', port=443): Max retries exceeded with url: /sparc/version/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1007)')))Did you enable VPN?

Any Idea why? it worked fine yesterday

by lukask99 (120 points) | 120 views

1 Answer

0 votes
Thanks for pointing this out! We've gone ahead and renewed the cert, astrosparcl should be working now.
by ajacques (820 points)
Thanks very much! it works now :)

443 questions

459 answers

463 comments

657 users

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

Categories