[lpar2rrd@xoruxibm stor2rrd]$ curl -v -k -i https://10.10.1.10:3033/api/rest/ApiConnection/Login -X POST -d '' -u admin:KTQ3PUo= -H 'content-type: application/json' -H 'x-dell-api-version: 2.0' * About to connect() to 10.10.1.10 port 3033 (#0) * Trying 10.10.1.10... * Connected to 10.10.1.10 (10.10.1.10) port 3033 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * skipping SSL peer certificate verification * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA * Server certificate: * subject: CN=vtrial.damain.loc,O=Dell Inc,L=Eden Prairie,ST=Minnesota,C=US * start date: Jul 21 14:26:59 2018 GMT * expire date: Jul 13 14:26:59 2048 GMT * common name: vtrial.damain.loc * issuer: CN=vtrial.damain.loc,O=Dell Inc,L=Eden Prairie,ST=Minnesota,C=US * Server auth using Basic with user 'admin' > POST /api/rest/ApiConnection/Login HTTP/1.1 > Authorization: Basic YWRtaW46S1RRM1BVVThSekZaTERNb1V3bz0= > User-Agent: curl/7.29.0 > Host: 10.10.1.10:3033 > Accept: */* > content-type: application/json > x-dell-api-version: 2.0 > Content-Length: 0 > < HTTP/1.1 401 Unauthorized HTTP/1.1 401 Unauthorized < Server: Apache-Coyote/1.1 Server: Apache-Coyote/1.1 * Authentication problem. Ignoring this. < WWW-Authenticate: Basic realm="Enterprise Manager" WWW-Authenticate: Basic realm="Enterprise Manager" < WWW-Authenticate: Negotiate WWW-Authenticate: Negotiate < Content-Type: text/html;charset=utf-8 Content-Type: text/html;charset=utf-8 < Content-Length: 1044 Content-Length: 1044 < Date: Thu, 16 Aug 2018 08:07:23 GMT Date: Thu, 16 Aug 2018 08:07:23 GMT * HTTP error before end of send, stop sending < JBoss Web/7.2.0.Final - JBWEB000064: Error report

JBWEB000065: HTTP Status 401 -


JBWEB000309: type JBWEB000067: Status report

JBWEB000068: message

JBWEB000069: description JBWEB000121: This request requires HTTP authentication.


JBoss Web/7.2.0.Fina* Closing connection 0 l

[lpar2rrd@xoruxibm stor2rrd]$ [lpar2rrd@xoruxibm stor2rrd]$ curl -v -k -i https://10.10.1.10:3033/api/rest/ApiConnection/Login -X POST -d '' -u admin:password -H 'content-type: application/json' -H 'x-dell-api-version: 2.0' * About to connect() to 10.10.1.10 port 3033 (#0) * Trying 10.10.1.10... * Connected to 10.10.1.10 (10.10.1.10) port 3033 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * skipping SSL peer certificate verification * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA * Server certificate: * subject: CN=vtrial2.damain.loc,O=Dell Inc,L=Eden Prairie,ST=Minnesota,C=US * start date: Jul 21 14:26:59 2018 GMT * expire date: Jul 13 14:26:59 2048 GMT * common name: vtrial.damain.loc * issuer: CN=veeamtrial.damain.loc,O=Dell Inc,L=Eden Prairie,ST=Minnesota,C=US * Server auth using Basic with user 'admin' > POST /api/rest/ApiConnection/Login HTTP/1.1 > Authorization: Basic YWRtaW46UXdlcnR5MTIz > User-Agent: curl/7.29.0 > Host: 10.10.1.10:3033 > Accept: */* > content-type: application/json > x-dell-api-version: 2.0 > Content-Length: 0 > < HTTP/1.1 400 Bad Request HTTP/1.1 400 Bad Request < Server: Apache-Coyote/1.1 Server: Apache-Coyote/1.1 < Set-Cookie: JSESSIONID=qWpmQiAb39joHXg4QrPl9BAz; Path=/api; Secure Set-Cookie: JSESSIONID=qWpmQiAb39joHXg4QrPl9BAz; Path=/api; Secure < Content-Type: text/html;charset=utf-8 Content-Type: text/html;charset=utf-8 < Content-Length: 1199 Content-Length: 1199 < Date: Thu, 16 Aug 2018 08:10:57 GMT Date: Thu, 16 Aug 2018 08:10:57 GMT < Connection: close Connection: close < JBoss Web/7.2.0.Final - JBWEB000064: Error report

JBWEB000065: HTTP Status 400 - java.io.EOFException: No content to map to Object due to end of input


JBWEB000309: type JBWEB000067: Status report

JBWEB000068: message java.io.EOFException: No content to map to Object due to end of input

JBWEB000069:* Closing connection 0 description JBWEB000120: The request sent by the client was syntactically incorrect.


JBoss Web/7.2.0.Final

[lpar2rrd@xoruxibm stor2rrd]$ [lpar2rrd@xoruxibm stor2rrd]$ ./bin/config_check.sh compellent01 ========================= STORAGE: compellent01: COMPELLENT ========================= TCP connection to "10.10.1.10" on port "3033" is ok /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/compellent_apitest.pl "admin" XXXXX "10.10.1.10" "3033" ERROR: Login to API failed : JBoss Web/7.2.0.Final - JBWEB000064: Error report

JBWEB000065: HTTP Status 400 - java.io.EOFException: No content to map to Object due to end of input


JBWEB000309: type JBWEB000067: Status report

JBWEB000068: message java.io.EOFException: No content to map to Object due to end of input

JBWEB000069: description JBWEB000120: The request sent by the client was syntactically incorrect.


JBoss Web/7.2.0.Final

: Cookie is not defined! : URL: https://10.10.1.10:3033/api/rest/ApiConnection/Login $VAR1 = \bless( { '_content' => '', '_uri' => bless( do{\(my $o = 'https://10.10.1.10:3033/api/rest/ApiConnection/Login')}, 'URI::https' ), '_headers' => bless( { 'x-dell-api-version' => '2.0', 'content-type' => 'application/json; charset=utf-8', 'accept' => 'application/json', 'authorization' => 'Basic YWRtaW46UXdlcnR5MTIz', '::std_case' => { 'x-dell-api-version' => 'X-Dell-Api-Version' } }, 'HTTP::Headers' ), '_method' => 'POST' }, 'HTTP::Request' ); $VAR1 = \bless( { '_msg' => 'Bad Request', '_content' => 'JBoss Web/7.2.0.Final - JBWEB000064: Error report

JBWEB000065: HTTP Status 400 - java.io.EOFException: No content to map to Object due to end of input


JBWEB000309: type JBWEB000067: Status report

JBWEB000068: message java.io.EOFException: No content to map to Object due to end of input

JBWEB000069: description JBWEB000120: The request sent by the client was syntactically incorrect.


JBoss Web/7.2.0.Final

', '_protocol' => 'HTTP/1.1', '_headers' => bless( { 'connection' => 'close', 'set-cookie' => 'JSESSIONID=kEb8Yzi4zNaRBJ6Pq+ajvvg2; Path=/api; Secure', 'date' => 'Thu, 16 Aug 2018 08:20:54 GMT', 'client-ssl-cert-issuer' => '/C=US/ST=Minnesota/L=Eden Prairie/O=Dell Inc/CN=vtrial.damain.loc', 'client-ssl-cipher' => 'ECDHE-RSA-AES128-SHA256', 'client-peer' => '10.10.1.10:3033', 'client-date' => 'Thu, 16 Aug 2018 08:20:54 GMT', 'client-ssl-warning' => 'Peer certificate not verified', 'content-type' => 'text/html;charset=utf-8', 'server' => 'Apache-Coyote/1.1', 'client-ssl-socket-class' => 'IO::Socket::SSL', 'client-response-num' => 1, 'content-length' => '1199', '::std_case' => { 'client-response-num' => 'Client-Response-Num', 'set-cookie' => 'Set-Cookie', 'client-ssl-cert-issuer' => 'Client-SSL-Cert-Issuer', 'client-ssl-cipher' => 'Client-SSL-Cipher', 'client-peer' => 'Client-Peer', 'client-date' => 'Client-Date', 'client-ssl-warning' => 'Client-SSL-Warning', 'client-ssl-cert-subject' => 'Client-SSL-Cert-Subject', 'title' => 'Title', 'client-ssl-socket-class' => 'Client-SSL-Socket-Class' }, 'client-ssl-cert-subject' => '/C=US/ST=Minnesota/L=Eden Prairie/O=Dell Inc/CN=vtrial.damain.loc', 'title' => 'JBoss Web/7.2.0.Final - JBWEB000064: Error report' }, 'HTTP::Headers' ), '_rc' => '400', '_request' => bless( { '_content' => '', '_uri' => bless( do{\(my $o = 'https://10.10.1.10:3033/api/rest/ApiConnection/Login')}, 'URI::https' ), '_headers' => bless( { 'user-agent' => 'libwww-perl/6.05', 'x-dell-api-version' => '2.0', 'content-type' => 'application/json; charset=utf-8', 'accept' => 'application/json', 'authorization' => 'Basic YWRtaW46UXdlcnR5MTIz', '::std_case' => { 'x-dell-api-version' => 'X-Dell-Api-Version', 'if-ssl-cert-subject' => 'If-SSL-Cert-Subject' } }, 'HTTP::Headers' ), '_method' => 'POST', '_uri_canonical' => ${$VAR1}->{'_request'}->{'_uri'} }, 'HTTP::Request' ) }, 'HTTP::Response' ); connection failed!! [lpar2rrd@xoruxibm stor2rrd]$