HPE StoreOnce5200 - ERROR: Login to API failed

We have trouble monitoring our new StoreOnce5200. We have an 4430 and one 5100 and they are working fine but when we try to connect to the 5200 we are getting this.
./bin/config_check.sh StoreOnce5200


=========================
STORAGE: StoreOnce5200: STOREONCE
=========================
  TCP connection to "xx.xxx.x.xx" on port "80" is ok
/usr/bin/perl /home/stor2rrd/stor2rrd/bin/storeonce_apitest.pl stor2rrd XXXXX xx.xxx.x.xx http StoreOnce5200 /home/stor2rrd/stor2rrd
ERROR: Login to API failed
Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xxx.x.xx:443
Error page generator called with reasonPhrase=Not Found,description=Not Found,for exception=none
Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xxx.x.xx:443
File not exist /home/stor2rrd/stor2rrd/tmp/StoreOnce5200/cookie.txt: Inappropriate ioctl for device/home/stor2rrd/stor2rrd/bin/storeonce_apitest.pl:198
Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xxx.x.xx:443
ERROR: Login to API failed
Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xxx.x.xx:443
Error page generator called with reasonPhrase=Not Found,description=Not Found,for exception=none
Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xxx.x.xx:443
ERROR: Cookie is not defined!
Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xxx.x.xx:443
  connection failed!!

Comments

  • Hello,

    What is the software version (StoreOnce5200)?


    Thank you
  • 4.1.2-1914.50
  • The REST API for software version 4.1.x and newer is not compatible with REST API for software version 3.x or older. That's why it doesn't work for you (Our product uses StoreOnce REST API version 3.x or older to get all necessary data.). We will develop data retrieval from StoreOnce REST API version 4.1.x and newer.


    Thank you

  • piwi2
    edited January 2020
    My error is similar to that in this thread so I suppose that it's the same REST API issue.
    I can't see in release notes that it was implemented. Do you have any workarounds?
    
    STOR2RRD 2.61
    
    HPE StoreOnce Software Version 4.2.1-1942.21
    
    $  ./bin/config_check.sh StoreOnce_DRC
    
    
    
    =========================
    STORAGE: StoreOnce_DRC: STOREONCE
    =========================
      TCP connection to "xx.xx.xx.xx" on port "443" is ok
    /usr/bin/perl /home/stor2rrd/stor2rrd/bin/storeonce_apitest.pl stor2rrd XXXXX xx.xx.xx.xx https StoreOnce_DRC /home/stor2rrd/stor2rrd
    ERROR: Login to API failed
    Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xx.xx.xx:443
    status=404,exception message=HTTP 404 Not Found
    Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xx.xx.xx:443
    File not exist /home/stor2rrd/stor2rrd/tmp/StoreOnce_DRC/cookie.txt: Inappropriate ioctl for device/home/stor2rrd/stor2rrd/bin/storeonce_apitest.pl:268
    Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xx.xx.xx:443
    ERROR: Login to API failed
    Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xx.xx.xx:443
    status=404,exception message=HTTP 404 Not Found
    Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xx.xx.xx:443
    ERROR: Cookie is not defined!
    Assure that OpenSSL works: echo "" | openssl s_client -connect xx.xx.xx.xx:443
      connection failed!!
  • Hi,

    StoreOnce 4.x has been just implemented, it will be released in stor2rrd v7.05 coming soon, any testing is welcome, let us know via https://stor2rrd.com/contact.php

Sign In or Register to comment.