Skip to content

Conversation

@jo-basevi
Copy link
Collaborator

For telemetry we are using a persistent session on Gadi to forward post requests to the ACCESS-NRI services django instance. With the current setup, it requires verify=False to be set in request.post() to the persistent session, however this raises a warning:

</path/to/env>/site-packages/urllib3/connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host '<persistent-session-name>.ps.gadi.nci.org.au'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings

A fix to this with persistent session sending the correct host might be complicated, or not quite possible on NCI (see https://unix.stackexchange.com/questions/426542/how-to-make-ssh-port-fowarding-for-https)

@coveralls
Copy link

Coverage Status

coverage: 60.384% (+0.2%) from 60.21%
when pulling 2c8c168 on ACCESS-NRI:telemetry-silence-warning
into 33045e5 on payu-org:master.

@jo-basevi jo-basevi marked this pull request as draft October 14, 2025 21:52
@jo-basevi jo-basevi closed this Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants