This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Not being able to make a request behind a proxy #9689
Unanswered
Elias-Yuri-Maximo
asked this question in
Q&A
Replies: 1 comment
-
The For bot requests, the runtime running the bot is responsible for making the requests. To my knowledge neither .Net nor NodeJS don't have built-in ways of configuring http agents with proxy settings and don't respect system-level proxy settings out of the box. I see a couple of ways to work around this issue:
Helpful links: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am working behind a proxy, and I am trying to make an HTTP request using my bot. I have tested the endpoint and the parameters on postman, and It works fine. But when using the bot, It keeps giving me the following error request :
"reason: getaddrinfo ENOTFOUND"
I tried configuring proxies on NPM configs, environment variables and the request headers, but no success with that.
My question is: When I am making the request in the bot, where does the proxy configuration is inherited from? does it come from the my OS variables, or NPM? Or is there a way to configure them through headers? I haven't found any similar thread on the internet yet...
Beta Was this translation helpful? Give feedback.
All reactions