Token refresh POST request is missing proxy argument.
On this line
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
Updated by Anonymous almost 2 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp_ansible|d6a3d709599e69425ff9cb7c9108d75341212aa8.