[root@eithadpv111 ~]# curl -iLvk -u admin:admin -H "X-Requested-By: ambari" -X GET http://somehost.abc.com:8080/api/v1/check * About to connect() to .......... port 8080 (#0) * Trying xxx.xx.xx.xxx... connected * Connected to proxy-abc.something.com (xxx.xx.xx.xxx) port 8080 (#0) * Server auth using Basic with user 'admin' > GET /api/v1/check HTTP/1.1 > Authorization: Basic YWRtaW46YWRtaW4= > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: somehost.abc.com:8080 > Accept: */* > < HTTP/1.1 500 Server Error HTTP/1.1 500 Server Error < X-Frame-Options: DENY X-Frame-Options: DENY < X-XSS-Protection: 1; mode=block X-XSS-Protection: 1; mode=block < Content-Type: text/plain;charset=ISO-8859-1 Content-Type: text/plain;charset=ISO-8859-1 < Content-Length: 48 Content-Length: 48 < Server: Jetty(8.1.17.v20150415) Server: Jetty(8.1.17.v20150415) < { "status": 500, "message": "Server Error" * Connection #0 to host .......... left intact * Closing connection #0