Project

Profile

Help

Issue #8051

closed

Token refresh POST request is missing proxy argument.

Added by rochacbruno over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 88
Quarter:

Description

On this line

https://github.com/pulp/pulp_ansible/blob/97e705403fb981113a79ee4c5bd592f50ef3283f/pulp_ansible/app/downloaders.py#L160

async with self.session.post(url, data=form_payload, raise_for_status=True) as response:

A POSt request is made to refresh token but the request is missing the proxy argument when it is provided on remote.

All requests must use the proxy like this https://github.com/pulp/pulp_ansible/blob/97e705403fb981113a79ee4c5bd592f50ef3283f/pulp_ansible/app/downloaders.py#L132

async with self.session.get(self.url, headers=headers, proxy=self.proxy) as response:

Galaxy Related Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1913816

and https://issues.redhat.com/browse/AAH-248

Also available in: Atom PDF