0 votes
1 view

Dear Support,

Reporting the problem that I cannot access the SPARCL service via the sparclclient python package, receiving the error at the following Jupiter notebook cell:

client = SparclClient(connect_timeout=30, read_timeout=30)

client
Error:
ServerConnectionError Traceback (most recent call last) Cell In[2], line 1 ----> 1 client = SparclClient(connect_timeout=300, read_timeout=5400) 2 client File ~/anaconda3/envs/sparcl_lab/lib/python3.10/site-packages/sparcl/client.py:218, in SparclClient.__init__(self, url, verbose, show_curl, connect_timeout, read_timeout) 216 if urlparse(url).hostname in _pat_hosts: 217 msg += "Did you enable VPN?" --> 218 raise ex.ServerConnectionError(msg) from None # disable chaining 220 self.apiversion = float(verstr) 222 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 NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x77bd91d6bf40>: Failed to establish a new connection: [Errno 111] Connection refused'))Did you enable VPN?

I checked the server via https://www.isitdownrightnow.com/, and it seems to be down. Could you please tell me when the server is expected to be up, if it is expected?

by oleryz (120 points) | 1 view

1 Answer

0 votes
Thank you for your report. We've found that our bot filtering tools are too aggressive and are banning legitimate users. We're working on fixing this issue for the next SPARCL release. In the meantime, there should be a temporary fix in place for you to continue with your regular research. Let us know if you continue to have problems!
ago by ajacques (1.5k points)

515 questions

521 answers

502 comments

693 users

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

Categories