You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm
Continue with this operation?
[Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): Y
VERBOSE: [CONNECT-OVMGMT] Bound PS Parameters:
Name Value
VERBOSE: [CONNECT-OVMGMT] Creating Session Container
Password: *********
VERBOSE: [CONNECT-OVMGMT] Caller did not provide -AuthLoginDomain parameter. Checking for Domain Name or UPN formatted Username value.
VERBOSE: [CONNECT-OVMGMT] Checking X-API Version.
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Connect-OVMgmt
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key Value
uri /rest/version
Hostname 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via String: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Processing '10.47.205.1' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/version' to '10.47.205.1'
VERBOSE: [SEND-OVREQUEST] We have reached the URI Whitelist condition block. Unauth request allowed for '/rest/version'.
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Request: GET https://10.47.205.1/rest/version
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/8.60 (Microsoft Windows NT 10.0.19045.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 5800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [REDACTED*]
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:00.7630979
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: Date = Tue, 31 Oct 2023 20:37:51 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 2: Server = Apache
VERBOSE: [SEND-OVREQUEST] Response Header 3: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 4: Pragma = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 5: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 6: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 7: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 8: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 9: Content-Security-Policy = default-src 'self' data: 'unsafe-inline' 'unsafe-eval' https://www.google-analytics.com/https://www.hpe.com/; font-src 'self' https://hpefonts.s3.amazonaws.com/https://fonts.gstatic.com/; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com/;
VERBOSE: [SEND-OVREQUEST] Response Header 10: Keep-Alive = timeout=15, max=100
VERBOSE: [SEND-OVREQUEST] Response Header 11: Connection = Keep-Alive
VERBOSE: [SEND-OVREQUEST] Response Header 12: Transfer-Encoding = chunked
VERBOSE: [SEND-OVREQUEST] Response Header 13: Content-Type = application/json; charset=utf-8
VERBOSE: [SEND-OVREQUEST] Response Header 14: Expires = 0
VERBOSE: [SEND-OVREQUEST] FinalResponse: {"minimumVersion":120,"currentVersion":5800}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [CONNECT-OVMGMT] Getting global login settings to check for login message acknowledgement.
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Connect-OVMgmt
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key Value
uri /rest/logindetails
Hostname 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via String: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Processing '10.47.205.1' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/logindetails' to '10.47.205.1'
VERBOSE: [SEND-OVREQUEST] We have reached the URI Whitelist condition block. Unauth request allowed for '/rest/logindetails'.
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Request: GET https://10.47.205.1/rest/logindetails
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/8.60 (Microsoft Windows NT 10.0.19045.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 5800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [REDACTED*]
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:00.7037978
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: Date = Tue, 31 Oct 2023 20:37:51 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 2: Server = Apache
VERBOSE: [SEND-OVREQUEST] Response Header 3: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 4: Pragma = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 5: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 6: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 7: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 8: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 9: Content-Security-Policy = default-src 'self' data: 'unsafe-inline' 'unsafe-eval' https://www.google-analytics.com/https://www.hpe.com/; font-src 'self' https://hpefonts.s3.amazonaws.com/https://fonts.gstatic.com/; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com/;
VERBOSE: [SEND-OVREQUEST] Response Header 10: Keep-Alive = timeout=15, max=100
VERBOSE: [SEND-OVREQUEST] Response Header 11: Connection = Keep-Alive
VERBOSE: [SEND-OVREQUEST] Response Header 12: Transfer-Encoding = chunked
VERBOSE: [SEND-OVREQUEST] Response Header 13: Content-Type = application/json; charset=utf-8
VERBOSE: [SEND-OVREQUEST] Response Header 14: Expires = 0
VERBOSE: [SEND-OVREQUEST] FinalResponse: {"type":"LoginDetailsVersion600","uri":"/rest/logindetails","category":"users","eTag":"2023-10-31T20:37:52.010Z","created":"2023-10-31T20:37:52.010Z","modified":"2023-10-31T20:37:52.010Z","allowLocalLogin":true,"defaultLoginDomain":"LOCAL","technicianEnabled":true,"configuredLoginDomains":[],"loginMessageVersion600":{"type":"LoginMessageVersion600","uri":"/rest/logindomains/global-settings","category":"users","eTag":"2023-10-31T20:37:52.010Z","created":"2023-10-31T20:37:52.010Z","modified":"2023-10-31T20:37:52.010Z","message":"This management appliance is a company owned asset and provided for the exclusive use of authorized personnel. Unauthorized use or abuse of this system may lead to corrective action including termination, civil and/or criminal penalties.","acknowledgment":false},"twoFactorAuthenticationEnabled":false,"strictTwoFactorAuthentication":false,"enforceComplexPasswordEnabled":false,"emergencyLocalLoginEnabled":false}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [NewObject] Redacting users Password from Verbose Output
VERBOSE: [NewObject] Bound PS Parameters:
Name Value
AuthLoginCredential True
VERBOSE: [NEWOBJECT] Called from: Connect-OVMgmt
VERBOSE: [CONNECT-OVMGMT] Using default authentication directory: 'LOCAL'
This management appliance is a company owned asset and provided for the exclusive use of authorized personnel. Unauthorized use or abuse of this system may lead to corrective action including termination, civil and/or criminal penalties.
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Connect-OVMgmt
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key Value
uri /rest/login-sessions
body @{userName=filipp_spisovskiy; password=LsgHP2023; authLoginDomain=LOCAL}
Hostname 10.47.205.1
method POST
VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via String: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Processing '10.47.205.1' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/login-sessions' to '10.47.205.1'
VERBOSE: [SEND-OVREQUEST] We have reached the URI Whitelist condition block. Unauth request allowed for '/rest/login-sessions'.
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 60000
VERBOSE: [SEND-OVREQUEST] Body object found. Converting to JSON.
VERBOSE: [SEND-OVREQUEST] HTTP Method is POST. Removing 'ApplianceConnection' NoteProperty from object(s).
VERBOSE: InputObject is [PSCustomObject]. Copying...
VERBOSE: [Send-OVRequest] Redacting users Password from Verbose Output
VERBOSE: [SEND-OVREQUEST] Request Body: {"userName":"filipp_spisovskiy","password": "[REDACTED*]","authLoginDomain":"LOCAL"}
VERBOSE: [SEND-OVREQUEST] Request: POST https://10.47.205.1/rest/login-sessions
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/8.60 (Microsoft Windows NT 10.0.19045.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 5800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [REDACTED*]
VERBOSE: [SEND-OVREQUEST] Net.WebException Error caught
VERBOSE: [SEND-OVREQUEST] Exception Object:
PSMessageDetails :
Exception : System.Net.WebException: The SSL connection could not be established, see inner exception.
---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](CancellationToken cancellationToken)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellation(CancellationToken cancellationToken) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.SocketsHttpHandler.Send(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.Send(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.HttpWebRequest.SendRequest(Boolean async)
at System.Net.HttpWebRequest.GetResponse()
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at CallSite.Target(Closure, CallSite, WebRequest)
TargetObject :
CategoryInfo : NotSpecified: (:) [], WebException
FullyQualifiedErrorId : WebException
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at Send-OVRequest, C:\Users\UC504207\Documents\PowerShell\Modules\HPEOneView.850\8.50.3667.2043\HPEOneView.850.psm1: line 6458
at Connect-OVMgmt, C:\Users\UC504207\Documents\PowerShell\Modules\HPEOneView.850\8.50.3667.2043\HPEOneView.850.psm1: line 8567
at , : line 1
PipelineIterationInfo : {}
VERBOSE: [SEND-OVREQUEST] Exception Message: The SSL connection could not be established, see inner exception.
VERBOSE: [SEND-OVREQUEST] InnerException FullyQualifiedErrorId:
VERBOSE: [SEND-OVREQUEST] InnerException Message: The SSL connection could not be established, see inner exception.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [CONNECT-OVMGMT] Response:
VERBOSE: [NEW-ERRORRECORD] Building ErrorRecord object
Connect-OVMgmt: The appliance at '10.47.205.1' is not responding on the network. Check for firewalls or ACL's prohibiting access to the appliance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
OV 8.60 on Synergy
PS Module Version HPEOneView.850
PS C:\Users\UC504207> connect-OVMgmt -Hostname 10.47.205.1 -UserName filipp_spisovskiy -Verbose -Debug
WARNING: Parameter 'UserName' is obsolete.
Confirm
Continue with this operation?
[Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): Y
VERBOSE: [CONNECT-OVMGMT] Bound PS Parameters:
Name Value
Verbose True
Debug True
UserName filipp_spisovskiy
Hostname 10.47.205.1
VERBOSE: [CONNECT-OVMGMT] Creating Session Container
Password: *********
VERBOSE: [CONNECT-OVMGMT] Caller did not provide -AuthLoginDomain parameter. Checking for Domain Name or UPN formatted Username value.
VERBOSE: [CONNECT-OVMGMT] Checking X-API Version.
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Connect-OVMgmt
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key Value
uri /rest/version
Hostname 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via String: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Processing '10.47.205.1' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/version' to '10.47.205.1'
VERBOSE: [SEND-OVREQUEST] We have reached the URI Whitelist condition block. Unauth request allowed for '/rest/version'.
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Request: GET https://10.47.205.1/rest/version
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/8.60 (Microsoft Windows NT 10.0.19045.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 5800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [REDACTED*]
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:00.7630979
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: Date = Tue, 31 Oct 2023 20:37:51 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 2: Server = Apache
VERBOSE: [SEND-OVREQUEST] Response Header 3: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 4: Pragma = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 5: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 6: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 7: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 8: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 9: Content-Security-Policy = default-src 'self' data: 'unsafe-inline' 'unsafe-eval' https://www.google-analytics.com/ https://www.hpe.com/; font-src 'self' https://hpefonts.s3.amazonaws.com/ https://fonts.gstatic.com/; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com/;
VERBOSE: [SEND-OVREQUEST] Response Header 10: Keep-Alive = timeout=15, max=100
VERBOSE: [SEND-OVREQUEST] Response Header 11: Connection = Keep-Alive
VERBOSE: [SEND-OVREQUEST] Response Header 12: Transfer-Encoding = chunked
VERBOSE: [SEND-OVREQUEST] Response Header 13: Content-Type = application/json; charset=utf-8
VERBOSE: [SEND-OVREQUEST] Response Header 14: Expires = 0
VERBOSE: [SEND-OVREQUEST] FinalResponse: {"minimumVersion":120,"currentVersion":5800}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [CONNECT-OVMGMT] Getting global login settings to check for login message acknowledgement.
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Connect-OVMgmt
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key Value
uri /rest/logindetails
Hostname 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via String: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Processing '10.47.205.1' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/logindetails' to '10.47.205.1'
VERBOSE: [SEND-OVREQUEST] We have reached the URI Whitelist condition block. Unauth request allowed for '/rest/logindetails'.
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 20000
VERBOSE: [SEND-OVREQUEST] Request: GET https://10.47.205.1/rest/logindetails
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/8.60 (Microsoft Windows NT 10.0.19045.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 5800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [REDACTED*]
VERBOSE: [SEND-OVREQUEST] Response time: 00:00:00.7037978
VERBOSE: [SEND-OVREQUEST] Response Status: 200 (OK)
VERBOSE: [SEND-OVREQUEST] Response Header 1: Date = Tue, 31 Oct 2023 20:37:51 GMT
VERBOSE: [SEND-OVREQUEST] Response Header 2: Server = Apache
VERBOSE: [SEND-OVREQUEST] Response Header 3: Cache-Control = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 4: Pragma = no-cache
VERBOSE: [SEND-OVREQUEST] Response Header 5: X-XSS-Protection = 1; mode=block
VERBOSE: [SEND-OVREQUEST] Response Header 6: X-Frame-Options = DENY
VERBOSE: [SEND-OVREQUEST] Response Header 7: X-Content-Type-Options = nosniff
VERBOSE: [SEND-OVREQUEST] Response Header 8: Strict-Transport-Security = max-age=31536000
VERBOSE: [SEND-OVREQUEST] Response Header 9: Content-Security-Policy = default-src 'self' data: 'unsafe-inline' 'unsafe-eval' https://www.google-analytics.com/ https://www.hpe.com/; font-src 'self' https://hpefonts.s3.amazonaws.com/ https://fonts.gstatic.com/; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com/;
VERBOSE: [SEND-OVREQUEST] Response Header 10: Keep-Alive = timeout=15, max=100
VERBOSE: [SEND-OVREQUEST] Response Header 11: Connection = Keep-Alive
VERBOSE: [SEND-OVREQUEST] Response Header 12: Transfer-Encoding = chunked
VERBOSE: [SEND-OVREQUEST] Response Header 13: Content-Type = application/json; charset=utf-8
VERBOSE: [SEND-OVREQUEST] Response Header 14: Expires = 0
VERBOSE: [SEND-OVREQUEST] FinalResponse: {"type":"LoginDetailsVersion600","uri":"/rest/logindetails","category":"users","eTag":"2023-10-31T20:37:52.010Z","created":"2023-10-31T20:37:52.010Z","modified":"2023-10-31T20:37:52.010Z","allowLocalLogin":true,"defaultLoginDomain":"LOCAL","technicianEnabled":true,"configuredLoginDomains":[],"loginMessageVersion600":{"type":"LoginMessageVersion600","uri":"/rest/logindomains/global-settings","category":"users","eTag":"2023-10-31T20:37:52.010Z","created":"2023-10-31T20:37:52.010Z","modified":"2023-10-31T20:37:52.010Z","message":"This management appliance is a company owned asset and provided for the exclusive use of authorized personnel. Unauthorized use or abuse of this system may lead to corrective action including termination, civil and/or criminal penalties.","acknowledgment":false},"twoFactorAuthenticationEnabled":false,"strictTwoFactorAuthentication":false,"enforceComplexPasswordEnabled":false,"emergencyLocalLoginEnabled":false}
VERBOSE: [SEND-OVREQUEST] Manual Pagination: False
VERBOSE: [SEND-OVREQUEST] Response object, no paging needed.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [SEND-OVREQUEST] Does nextPageUri member exist: False
VERBOSE: [SEND-OVREQUEST] Is nextPageUri Null or Empty: True
VERBOSE: [SEND-OVREQUEST] Stopping Do/Until loop because nextPageUri doesn't exist and have received all objects.
VERBOSE: [SEND-OVREQUEST] End
VERBOSE: [NewObject] Redacting users Password from Verbose Output
VERBOSE: [NewObject] Bound PS Parameters:
Name Value
AuthLoginCredential True
VERBOSE: [NEWOBJECT] Called from: Connect-OVMgmt
VERBOSE: [CONNECT-OVMGMT] Using default authentication directory: 'LOCAL'
This management appliance is a company owned asset and provided for the exclusive use of authorized personnel. Unauthorized use or abuse of this system may lead to corrective action including termination, civil and/or criminal penalties.
VERBOSE: [SEND-OVREQUEST] BEGIN
VERBOSE: [SEND-OVREQUEST] Called from: Connect-OVMgmt
VERBOSE: [SEND-OVREQUEST] Bound PS Parameters:
Key Value
uri /rest/login-sessions
body @{userName=filipp_spisovskiy; password=LsgHP2023; authLoginDomain=LOCAL}
Hostname 10.47.205.1
method POST
VERBOSE: [SEND-OVREQUEST] Process
VERBOSE: [SEND-OVREQUEST] Hostname value: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via String: 10.47.205.1
VERBOSE: [SEND-OVREQUEST] Processing '10.47.205.1' appliance connection request. 1 of 1
VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/login-sessions' to '10.47.205.1'
VERBOSE: [SEND-OVREQUEST] We have reached the URI Whitelist condition block. Unauth request allowed for '/rest/login-sessions'.
VERBOSE: [SEND-OVREQUEST] Restclient timeout setting: 60000
VERBOSE: [SEND-OVREQUEST] Body object found. Converting to JSON.
VERBOSE: [SEND-OVREQUEST] HTTP Method is POST. Removing 'ApplianceConnection' NoteProperty from object(s).
VERBOSE: InputObject is [PSCustomObject]. Copying...
VERBOSE: [Send-OVRequest] Redacting users Password from Verbose Output
VERBOSE: [SEND-OVREQUEST] Request Body: {"userName":"filipp_spisovskiy","password": "[REDACTED*]","authLoginDomain":"LOCAL"}
VERBOSE: [SEND-OVREQUEST] Request: POST https://10.47.205.1/rest/login-sessions
VERBOSE: [SEND-OVREQUEST] Request Header 1: User-Agent = HPEOneView.PowerShell/8.60 (Microsoft Windows NT 10.0.19045.0)
VERBOSE: [SEND-OVREQUEST] Request Header 2: Content-Type = application/json
VERBOSE: [SEND-OVREQUEST] Request Header 3: Accept = application/json, text/html, application/xhtml+xml
VERBOSE: [SEND-OVREQUEST] Request Header 4: X-API-Version = 5800
VERBOSE: [SEND-OVREQUEST] Request Header 5: accept-language = en_US
VERBOSE: [SEND-OVREQUEST] Request Header 6: accept-encoding = gzip, deflate
VERBOSE: [SEND-OVREQUEST] Request Header 7: auth = [REDACTED*]
VERBOSE: [SEND-OVREQUEST] Net.WebException Error caught
VERBOSE: [SEND-OVREQUEST] Exception Object:
PSMessageDetails :
Exception : System.Net.WebException: The SSL connection could not be established, see inner exception.
---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](CancellationToken cancellationToken)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation
1.WaitWithCancellation(CancellationToken cancellationToken) at System.Threading.Tasks.TaskCompletionSourceWithCancellation
1.WaitWithCancellationAsync(Boolean async, CancellationToken cancellationToken)at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.SocketsHttpHandler.Send(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.Send(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.HttpWebRequest.SendRequest(Boolean async)
at System.Net.HttpWebRequest.GetResponse()
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at CallSite.Target(Closure, CallSite, WebRequest)
TargetObject :
CategoryInfo : NotSpecified: (:) [], WebException
FullyQualifiedErrorId : WebException
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at Send-OVRequest, C:\Users\UC504207\Documents\PowerShell\Modules\HPEOneView.850\8.50.3667.2043\HPEOneView.850.psm1: line 6458
at Connect-OVMgmt, C:\Users\UC504207\Documents\PowerShell\Modules\HPEOneView.850\8.50.3667.2043\HPEOneView.850.psm1: line 8567
at , : line 1
PipelineIterationInfo : {}
VERBOSE: [SEND-OVREQUEST] Exception Message: The SSL connection could not be established, see inner exception.
VERBOSE: [SEND-OVREQUEST] InnerException FullyQualifiedErrorId:
VERBOSE: [SEND-OVREQUEST] InnerException Message: The SSL connection could not be established, see inner exception.
VERBOSE: [SEND-OVREQUEST] Cleaning up HttpWebRequest
VERBOSE: [CONNECT-OVMGMT] Response:
VERBOSE: [NEW-ERRORRECORD] Building ErrorRecord object
Connect-OVMgmt: The appliance at '10.47.205.1' is not responding on the network. Check for firewalls or ACL's prohibiting access to the appliance.
request for helping or fixing the above issue,
Beta Was this translation helpful? Give feedback.
All reactions