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

Correctly add the https agent to axios #1154

Merged
merged 2 commits into from
Aug 20, 2021
Merged

Correctly add the https agent to axios #1154

merged 2 commits into from
Aug 20, 2021

Conversation

scagood
Copy link
Contributor

@scagood scagood commented Aug 2, 2021

According to the axios Request Config the agent needs to be passed using httpsAgent.

This is a follow up to #1146 (comment)

@jsdevel
Copy link
Collaborator

jsdevel commented Aug 18, 2021

@scagood please update with the latest from master. i had to migrate to github actions.

@jsdevel jsdevel merged commit 65c5eec into vpulim:master Aug 20, 2021
@sm2017
Copy link

sm2017 commented Sep 4, 2021

There is a bug in version Version 0.41.0, I am using Version 0.39.0 and it works well today I upgraded to latest version and found that there is a bug in my app, after inspecting I figured out that #1154 is a bad PR, I am using https-proxy-agent package to send requests via a http proxy, the code works with proxy in version 0.39.0 but not latest (I am not testing 0.41.0 but I think the issue is here)

@sm2017
Copy link

sm2017 commented Jan 22, 2022

@jsdevel @scagood please fix proxy bug

@scagood
Copy link
Contributor Author

scagood commented Jan 22, 2022

@sm2017 This is more likely another issue with using axios, so you may want to start there (https://github.com/axios/axios/issues?q=is%3Aissue+is%3Aopen+https-proxy-agent) before making a PR to fix this.

@sm2017
Copy link

sm2017 commented Jan 23, 2022

@scagood It was working before

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.

3 participants