Initializing forge inside an OpenShift pod with no access to the external network fails with the following error:
File "/usr/local/lib/python3.7/site-packages/kgforge/specializations/stores/nexus/service.py", line 167, in resolve_context
raise ValueError(f"{iri} is not resolvable")
ValueError: https://bluebrainnexus.io/contexts/metadata.json is not resolvable
Sometimes this error appears after a very long delay, when I think forge tries to connect to some external URL and waits for a response.
Here are some details on init and config:
In my app, I run forge = KnowledgeGraphForge(config, token=TOKEN), where config points to the file with the following content:
Initializing forge inside an OpenShift pod with no access to the external network fails with the following error:
Sometimes this error appears after a very long delay, when I think forge tries to connect to some external URL and waits for a response.
Here are some details on init and config:
In my app, I run
forge = KnowledgeGraphForge(config, token=TOKEN)
, whereconfig
points to the file with the following content: