Hi Shweta,
I am also attaching shift server log thinking it might help.
Get-ShiftServerState been retutning positive result since the begining.
PS C:\Users\administrator.DEMO> Get-ShiftServerState
Shift server is running
Verbose doesn't seem to be provide much info either. Below
PS C:\Users\administrator.DEMO> Connect-ShiftServer -verbose
cmdlet Connect-ShiftServer at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
credential
VERBOSE: Connecting to the shift server located at host:localhost and port:8443
VERBOSE: GET https://localhost:8443/Shift/api/v1/config/networks with 0-byte payload
Invoke-RestMethod : HTTP Status 401 - Bad credentials
type Status report
message Bad credentials
description This request requires HTTP authentication.
Apache Tomcat/7.0.55
At C:\Program Files (x86)\NetApp\OnCommand Shift\ShiftClient\ShiftClient.psm1:1860 char:15
+ $result = Invoke-RestMethod -Uri $uri$appendstr -Method $method -TimeoutSec ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Connect-ShiftServer : Could not connect to the shift server
At line:1 char:1
+ Connect-ShiftServer -verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Connect-ShiftServer
Regards,
Babar Haq