Actions
Bug #2057
closedAPI: proxy for rdflib
Start date:
2023-09-07
Estimated time:
Found in version:
Description
There is a problem with RDF export (timeout), if OpenAtlas server is behind a proxy (ARZ servers and GitHub actions).
Since the rdflib uses urlib.requests the proxy has to be declared in this way:
import os
os.environ['http_proxy'] = 'http://proxy.example:8899'
os.environ['https_proxy'] = 'http://proxy.example:8899'
Source:
https://stackoverflow.com/questions/72821141/forcing-libraries-that-use-requests-library-to-use-my-proxy-explicitly-defined-i
Actions