-
Notifications
You must be signed in to change notification settings - Fork 22
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
Proxy support #41
Comments
hi @rvennam-lbg we will implement proxy support and inform you once it's ready. |
Thanks @mfranczak would be keen to test if you require any support with that. |
Hi @rvennam-lbg we've just published docker image with proxy support. To deploy proper version please change in dynatrace-gcp-function.yaml:
Please let us know if it works for you. |
Thanks, @mswiatkowska we will be testing this in the next couple of days and will get back to you. |
@mswiatkowska I am still seeing issues but the requests do hit the proxy now but fail to get the token. The proxy logs only show 200 responses so requests are being forwarded.
When trying exec and executing local_tests.py seeing the below errror
|
Hi @rvennam-lbg , thanks for you feedback. |
Hi @mswiatkowska I deployed the latest image and found out the communication for the Our requirement is anything external like Dynatrace URL will use the proxies and all Is there any additional configuration needed to enable this setting ? |
I accidentally clicked on close and re-opened this again. Looks like the aiohttp libs being used currently does not support the Issue : aio-libs/aiohttp#4431 |
Hi @rvennam-lbg |
Hello, we are SaaS |
Hi @mswiatkowska, We use SaaS and deploy this on a private cluster with no egress for external connectivity so the proxy requirement for DT URL. We do leverage the GCP VPC native routing for all the Thanks, @benj5656 for keeping an eye on this. |
Hi @rvennam-lbg, it looks like PR in aiohttp lib is going to be merged. If they provided support for |
Hi @mswiatkowska, Thanks for your response It would be great if the aiohttp supports the Once a new release of the library is available, we can test with those changes after you are able to build using the new release. |
hi @mswiatkowska I see the PR is not merged yet, any possibility to get it merged or provide any alternate solution. If yes, by when? |
Hi @rohit-varshney, yes, we saw that PR in aiohttp lib is still not merged. We will provide our solution in two weeks. I'll inform you when we release changes. |
thanks for the confirmation @mswiatkowska, any possibility of the early release of this feature? |
hi @mswiatkowska sorry for bugging you again, but would like to know if you are still on track for this and will be able to deliver the feature in said time? |
Hi @rohit-varshney, @Dawid-Kaszubski is working on this right now, so we should provide the solution this week. Hope we will able to give you an update tomorrow. |
Hi @rohit-varshney, feature is currently on PR. It should be available soon. |
hi thanks @mswiatkowska @Dawid-Kaszubski , please let me know once this is merged. And, also could you please let me know where we need to configure our Squid/Proxy URL? |
Hi @rohit-varshney, PR is merged. To use proxy for dynatrace connections you need to set two env variables: |
Hey @Dawid-Kaszubski, Thanks for getting this in so quickly. I'm running into some issues running the code with the proxy settings enabled. The environment variables exist
However the run_docker.py script fails in due to an exception raised in the fast_check lib. 2021-03-05 09:26:57.480281 : Unable to get Dynatrace token metadata. Error details: exception block:
If i execute the local_test.py script the gcp function respects the environment variables and is able to connect to both the Dynatrace tenant and google apis successfully. Do you have any suggestions to help me debug this futher? Many thanks |
Does the kubernetes deployment respect proxy environment variables ?
We tried deploying the code adding the environment variables for
https_proxy
andno_proxy
as we have an air-gapped install and all traffic should go via our proxy including the traffic for thexxxx..live.dynatrace.com
but the app does not seem to use the variables.The text was updated successfully, but these errors were encountered: