Connection reset by peer at /usr/share/perl5/vendor_perl/LWP/Protocol/http.pm line 50.

when try adding powermax storage, it's failed with API authorization with the B/M error message: -

Connection reset by peer at /usr/share/perl5/vendor_perl/LWP/Protocol/http.pm line 50.

Comments

  • hello,

    any feedback

  • are you sure that network is open?

    Basically either powermax or firewall blocking the connection

    is this working?

    telnet <powermax> <port>

  • yes, port opened and telnet working fine.

    thanks for your feedback.

  • here is the output from xormon when test connectivity:


    Microservice test

    Device cfg

    API host network connection

    TCP connection to PmaxStorage:8443 is OK

    API authorization

    GET url : https:// PmaxStorage:8443/univmax/restapi/version

    Request error: 500 Can't connect to PmaxStorage:8443 (Connection reset by peer)

    Request error: Can't connect to PmaxStorage:8443 (Connection reset by peer)


    Connection reset by peer at /usr/share/perl5/vendor_perl/LWP/Protocol/http.pm line 50.


    GET url : https:// PmaxStorage:8443/univmax/restapi/90/system/version

    Request error: 500 Can't connect to PmaxStorage:8443 (Connection reset by peer)

    Request error: Can't connect to PmaxStorage:8443 (Connection reset by peer)


    Connection reset by peer at /usr/share/perl5/vendor_perl/LWP/Protocol/http.pm line 50.


    GET url : https:// PmaxStorage:8443/univmax/restapi/system/version

    Request error: 500 Can't connect to PmaxStorage:8443 (Connection reset by peer)

    Request error: Can't connect to PmaxStorage:8443 (Connection reset by peer)


    Connection reset by peer at /usr/share/perl5/vendor_perl/LWP/Protocol/http.pm line 50.


    Unisphere version has not been found!

    Connection failed!

  • Hi,


    can you try the following curl commands?

    Send us the output (hide the password).


    curl -i -X GET -k -u <user>:<password> -H "Content-Type: application/json" https://<Unisphere_IP_or_hostname>:8443/univmax/restapi/version
    curl -i -X GET -k -u <user>:<password> -H "Content-Type: application/json" https://<Unisphere_IP_or_hostname>:8443/univmax/restapi/90/system/version
    curl -i -X GET -k -u <user>:<password> -H "Content-Type: application/json" https://<Unisphere_IP_or_hostname>:8443/univmax/restapi/system/version
    
  • Thank you for your support.

    I ran the three commands mentioned above and received the same output:

    curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to PmaxStorage:8443
    

    However, I’m able to access the same endpoints through the web interface using the same credentials without any issues.

  • Hi,


    try the following commands and send us the outputs via email to support@xorux.com


    telnet <Unisphere_IP> 8443
    openssl s_client -connect <Unisphere_IP>:8443
    curl --tlsv1.2 -i -X GET -k -u <user>:<password> -H "Content-Type: application/json" https://<Unisphere_IP_or_hostname>:8443/univmax/restapi/version
    
Sign In or Register to comment.