API: proxy for rdflib
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'
Updated by Bernhard Koschiček-Krombholz 3 months ago
- Tracker changed from Feature to Bug
- Status changed from Assigned to Closed
- Target version changed from 7.17.0 to 7.16.0
- Found in version set to 7.15.0
If OpenAtlas lies behind a proxy, add the following to instance/production.py :
API_PROXY = 'http://proxy.example:8899'