Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-30-2017 07:53 AM
Hello
I'm an android developer and I am trying to use appdynamics-gradle-plugin 2.0 to automatically upload the mapping.txt through gradle build.
Unfortunately I get the following error all the time.
Error uploading proguard mapping fileorg.apache.http.conn.HttpHostConnectException: Connection to https://api.eum-appdynamics.com refused
it looks like appdynamics-gradle-plugin 2.0 doesnt work well with proxy. Even thought the proxy is configured through systemProp, it seems to be ignoring the proxy and trying to make direct connection to api-eum-appdynamics.com.
I have checked the connection directly through brower and connection goes through, so it looks like gradle plugin is not considering the proxy settings.
Could someone confirm if there are any parameters that need to be configured in the appdynamics plugin or is this is a known issue?
is there any solution.
11-01-2017 02:25 AM
Hello Hari,
Before we make any suggestions we would like some clarity on the following queries:
Is that you are only not able to upload thisproguard mapping file if proxy is in use but rest of everything is fine?
OR EUM at all is not working for you?
Also if there is no proxy, are you able to upload this same file successfully?
Because if that is the case you are hitting a feature deficiency here and which is already being worked upon by the Eng teams. But for now in order to get this resolved, you have following options to opt from:
1) You can try uploading the file manually from UI as mentioned here: https://docs.appdynamics.com/display/PRO43/Manually+Upload+the+ProGuard+Mapping+File
2) Or As a workaround you can use a curl (or similar) command in your CI/CD process. This is documented here - https://docs.appdynamics.com/display/PRO43/Manually+Upload+the+ProGuard+Mapping+File#ManuallyUploadt....
Note: The rest API does not work with a proxy. But the curl command should:
curl -v -H Content-Type:text/plain --upload-file mapping.txt --user Example+account:Example-License-Key-4e8ec2ae6cfe https://api.eum-appdynamics.com/v2/account/Example+account/com.example.networklogger/1/proguard-mapping
Let me know in case you have any questions.
Thank You,
Chitra
08-14-2018 03:15 AM
Hi Chitra,
Is there any update on this? We are facing the same issue.
Regards
Akhilesh
08-15-2018 01:26 PM
Hi Akhilesh,
This is a feature deficiency; the plugin does not consider the proxy definitions in System Properties. Though Eng is actively working on the fix but as of now the only way ahead would be to use the below workaround.
You can use a curl (or similar) command in your CI/CD process as documented here to upload the file manually:
The rest API does not work with a proxy. But the curl command should:
curl -v -H Content-Type:text/plain --upload-file mapping.txt --user Example+account:Example-License-Key-xxxxxxxxxx https://api.eum-appdynamics.com/v2/account/Example+account/com.example.networklogger/1/proguard-mapping
Thank You,
Chitra
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form