MaayanLab / sigcom-lincs

Signature Commons LINCS Repo
3 stars 3 forks source link

Is https://ldp3.cloud/ down? #73

Closed dburkhardt closed 1 year ago

dburkhardt commented 1 year ago

Suddenly, I'm getting SSL errors when I try to access the SIGCOM LINCS API.

image

When I try running code from the tutorials, I'm faced with SSL Errors too:

import requests
import json

API_URL = "https://ldp3.cloud/metadata-api/libraries/find"

payload = {
    "filter": {
        "where": {
            "meta": {
                "fullTextSearch": "proteomics"
            }
        },
        "limit": 2
    }
}

res = requests.post(API_URL, json=payload)
results = res.json()

print(json.dumps(results, indent=2))

raises

File ~/cellarityenv/lib/python3.9/site-packages/requests/adapters.py:563, in HTTPAdapter.send(self, request, stream, timeout, verify, cert, proxies)
    559         raise ProxyError(e, request=request)
    561     if isinstance(e.reason, _SSLError):
    562         # This branch is for urllib3 v1.22 and later.
--> 563         raise SSLError(e, request=request)
    565     raise ConnectionError(e, request=request)
    567 except ClosedPoolError as e:

SSLError: HTTPSConnectionPool(host='ldp3.cloud', port=443): Max retries exceeded with url: /metadata-api/entities/find (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
dburkhardt commented 1 year ago

When I try to access without HTTPS, I find that the domain has expired.

image
AviMaayan commented 1 year ago

Please use this newer site: https://maayanlab.cloud/sigcom-lincs/#/API

dburkhardt commented 1 year ago

Ahh you're exactly right! I didn't realize there are two tutorials for the API access, and I was using the old ones. The funny thing is they worked last night, but stopped working tomorrow.

You might want to delete the following outdated tutorials: