Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(): portal-sdk binary download not working through a proxy #96

Merged
merged 4 commits into from
Jan 16, 2025

Conversation

vitorpmoreira
Copy link
Contributor

@vitorpmoreira vitorpmoreira commented Jan 15, 2025

What's Changed

The request to download the portal-sdk binary, through axios, is not working. It may be related with this issue.

A work-around that seems to work is to send the httpAgent and httpsAgent ourselves, through the proxy-agent (which is the one that axios also uses) and disabling its internal proxy configuration.

This was validated in a Microshift VM, through a proxy.

Test on a pwsh window with proxy:
image

@vitorpmoreira vitorpmoreira merged commit 8d5c14d into main Jan 16, 2025
1 check passed
@vitorpmoreira vitorpmoreira deleted the fix/122932-axios-download-through-proxy branch January 16, 2025 15:15
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