quanted / cts_app

cts repo
3 stars 3 forks source link

Deploy CTS to new Kubernetes production server #218

Closed popenc closed 1 year ago

popenc commented 1 year ago
popenc commented 1 year ago

NOTE: Setting most recent cts_app deployment to v1.3.2. This has already been scanned for our current production server.

popenc commented 1 year ago

Getting an error making requests to TESTWS, which looks to be happening on all the kubernetes deployments but not on qed.epa.gov or ceam dev:

connection exception: HTTPSConnectionPool(host='comptox.epa.gov', port=443): Max retries exceeded with url: /dashboard/web-test/BCF?smiles=CC%28%3DO%29OC1%3DCC%3DCC%3DC1C%28O%29%3DO&method=gc (Caused by SSLError(SSLError(1, '[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1129)')))

popenc commented 1 year ago

Actually getting this same error on ceam dev as well after retesting, including local, but qed.epa.gov is working. Currently testing changes on our end to see if this can be resolved, but it's looking like they (comptox.epa.gov) may need to make some updates on their end.

popenc commented 1 year ago

Resolved SSL error for TESTWS requests by modifying calculator_test.py request to their API using this workaround: https://github.com/urllib3/urllib3/issues/2653#issuecomment-1165418616