-
Hi team, I am not able to find anything in the documentation which details assigning a proxy for FalconPy functionality. Is there some way to assign a proxy, or do we need to use some other method?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @EdgeSync - Currently FalconPy is unaware of the existing proxy configuration, and should use whatever proxy is configured for regular TCP or HTTPS traffic from the machine executing the code.
|
Beta Was this translation helpful? Give feedback.
-
hey @jshcodes, thanks for the response. Okay sure - thanks for the input. I wanted to make 100% sure it wasn't a feature somewhere that I missed. I think we can all be guilty of looking at documentation for too long and miss the obvious 😆 In case anyone also requires proxy configuration, you can get around the lack of proxy support in a number of ways, either by wrapping the PyFalcon function calls in an additional proxy library, or by setting the proxy using os.environ["http_proxy"] / os.environ["https_proxy"] variables, or having them already set in your environment variables before running the script. |
Beta Was this translation helpful? Give feedback.
hey @jshcodes, thanks for the response.
Okay sure - thanks for the input. I wanted to make 100% sure it wasn't a feature somewhere that I missed. I think we can all be guilty of looking at documentation for too long and miss the obvious 😆
In case anyone also requires proxy configuration, you can get around the lack of proxy support in a number of ways, either by wrapping the PyFalcon function calls in an additional proxy library, or by setting the proxy using os.environ["http_proxy"] / os.environ["https_proxy"] variables, or having them already set in your environment variables before running the script.