To Whom It May Concern,
I received an HTTPS connection error while attempting to a script using pyincore.
I ran this code:
from pyincore import IncoreClient
from pyincore.analyses.joplincgeanalysis import JoplinCGEModel
client = IncoreClient()
And received this error:
ConnectionError: HTTPSConnectionPool(host='incore2-services.ncsa.illinois.edu', port=443): Max retries exceeded with url: /auth/api/login (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f4be155ecc0>: Failed to establish a new connection: [Errno 113] No route to host'))
I thought it may be an issue with me running an older version of pyincore and so I attempted to update using this command from the environment I installed pyincore into:
$ conda update -c in - core pyincore
and received what seems like the same error:
An HTTP error occurred when trying to retrieve this URL.HTTP errors are often intermittent, and a simple retry will get you on your way.ConnectionError(MaxRetryError("HTTPSConnectionPool(host='incore2.ncsa.illinois.edu', port=443): Max retries exceeded with url: /conda/pyincore/linux-64/current_repodata.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd396477a90>: Failed to establish a new connection: [Errno 113] No route to host'))"))
I see that the website link for incore changed from incore2 to incore. Is the host then still incore2.ncsa.illinois.edu or is it now incore.ncsa.illinois.edu? Nevertheless, am I doing something wrong or is there another better way?
Hi Bradley, what version of pyIncore do you have? You can check by opening a terminal window and typing conda list. To list only the pyincore package, If you are using a mac, you can run conda list | grep pyincore and I believe that you can use conda list | findstr -i "pyincore on windows.
This issue is happening because you have an old version of pyIncore and can't update it through conda. Please uninstall it (pip uninstall pyincore) and then install it again following these steps: https://incore.ncsa.illinois.edu/doc/incore/install_pyincore.html or create a new anaconda environment and install it using those same steps.
Let me know if you need further assistance.
Powered by a free Atlassian Confluence Open Source Project License granted to NCSA OpenSource. Evaluate Confluence today.