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
09-27-2019 04:30 AM - last edited on 09-27-2019 02:23 PM by Ryan.Paredez
Getting empty reply from server when i am doing rest call using curl command:
Command : curl --user <user>@<account >:password "http://<controller url>/controller/rest/applications/<app-name>/metrics"
please provide the solution for this problem. I am using trial version.
following is the output:
* Trying [Redacted for sercurity reasons by ^ @Ryan.Paredez , AppD Community Manager]...
* Connected to cloud2019092621461.saas.appdynamics.com ([Redacted for sercurity reasons by ^ @Ryan.Paredez , AppD Community Manager]) port 443 (#0)
* Server auth using Basic with user 'govind.kumar@cloud2019092621461'
> GET /controller/rest/applications/Java-App/metrics HTTP/1.1
> Host: cloud2019092621461.saas.appdynamics.com:443
> Authorization: Basic [Redacted for sercurity reasons by ^ @Ryan.Paredez , AppD Community Manager]
> User-Agent: curl/7.47.0
> Accept: */*
>
* Empty reply from server
* Connection #0 to host cloud201909262146143.saas.appdynamics.com left intact
Solved! Go to Solution.
09-29-2019 06:53 PM
Hiya,
Try using https instead of http in your URL for the controller.
Mark
09-30-2019 12:09 AM
What will be curl command ?
09-30-2019 12:23 PM
curl --user <user>@<account >:password "https://<controller url>/controller/rest/applications/<app-name>/metrics"
09-30-2019 10:17 PM
It's working now.
Thnaks to AppDynamics & Mark.Byrne.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form