<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PowerShell Connection Timeout in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/133294#M24196</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System was reporting PowerShell Connection Timeout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connection timeout at the Get-NcVol command:&lt;BR /&gt;get-ncvol : Connection to FAS3220CB-m on port 443 for protocol HTTPS timed out.&lt;BR /&gt;+ get-ncvol&lt;BR /&gt;+ ~~~~~~~~~&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (FAS3220CB-m:NcController) [Get-NcVol], NaConnectionTimeoutException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.GetNcVol&lt;BR /&gt;&lt;BR /&gt;Increasing the $global:CurrentNcController.TimeoutMsec does not have any effect&lt;BR /&gt;&lt;BR /&gt;We provided the following action plan;&lt;BR /&gt;&lt;BR /&gt;Open an RDP session to the WFA server.&lt;BR /&gt;Go to &amp;lt;InstallDirWFA&amp;gt;\netapp\WFA\PoSH\Modules\WFAWrapper&lt;BR /&gt;Backup WFAWrapper.psm1 file to a separate location.&lt;BR /&gt;Edit the original WFAWrapper.psm1 file.&lt;BR /&gt;Change the timeout setting from [int]$Timeout=60000 to [int]$Timeout=300000 under the following three categories/functions inside the file:&lt;BR /&gt;Connect-WfaCluster, Connect-WfaController, and Connect-Controller.&lt;BR /&gt;Save the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another error after doing the steps;&lt;BR /&gt;&lt;BR /&gt;In about 50% of script runs, I get this error on the Get-NcVol command:&lt;BR /&gt;get-ncvol : API invoke failed.&lt;BR /&gt;+ get-ncvol&lt;BR /&gt;+ ~~~~~~~~~&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (FAS3220CB-m:NcController) [Get-NcVol], NaException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.GetNcVol&lt;BR /&gt;&lt;BR /&gt;The Connect-NcController command always works without troubles.&lt;BR /&gt;On three other filer, the script is also running without errors all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;why changing timeout settings on the WFA server had any effect. Do you have an explanation on this? Or is it possible only through the adaptation in the script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 14:46:16 GMT</pubDate>
    <dc:creator>alborz</dc:creator>
    <dc:date>2025-06-04T14:46:16Z</dc:date>
    <item>
      <title>PowerShell Connection Timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/133294#M24196</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System was reporting PowerShell Connection Timeout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connection timeout at the Get-NcVol command:&lt;BR /&gt;get-ncvol : Connection to FAS3220CB-m on port 443 for protocol HTTPS timed out.&lt;BR /&gt;+ get-ncvol&lt;BR /&gt;+ ~~~~~~~~~&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (FAS3220CB-m:NcController) [Get-NcVol], NaConnectionTimeoutException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.GetNcVol&lt;BR /&gt;&lt;BR /&gt;Increasing the $global:CurrentNcController.TimeoutMsec does not have any effect&lt;BR /&gt;&lt;BR /&gt;We provided the following action plan;&lt;BR /&gt;&lt;BR /&gt;Open an RDP session to the WFA server.&lt;BR /&gt;Go to &amp;lt;InstallDirWFA&amp;gt;\netapp\WFA\PoSH\Modules\WFAWrapper&lt;BR /&gt;Backup WFAWrapper.psm1 file to a separate location.&lt;BR /&gt;Edit the original WFAWrapper.psm1 file.&lt;BR /&gt;Change the timeout setting from [int]$Timeout=60000 to [int]$Timeout=300000 under the following three categories/functions inside the file:&lt;BR /&gt;Connect-WfaCluster, Connect-WfaController, and Connect-Controller.&lt;BR /&gt;Save the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another error after doing the steps;&lt;BR /&gt;&lt;BR /&gt;In about 50% of script runs, I get this error on the Get-NcVol command:&lt;BR /&gt;get-ncvol : API invoke failed.&lt;BR /&gt;+ get-ncvol&lt;BR /&gt;+ ~~~~~~~~~&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (FAS3220CB-m:NcController) [Get-NcVol], NaException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.GetNcVol&lt;BR /&gt;&lt;BR /&gt;The Connect-NcController command always works without troubles.&lt;BR /&gt;On three other filer, the script is also running without errors all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;why changing timeout settings on the WFA server had any effect. Do you have an explanation on this? Or is it possible only through the adaptation in the script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:46:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/133294#M24196</guid>
      <dc:creator>alborz</dc:creator>
      <dc:date>2025-06-04T14:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Connection Timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/133356#M24203</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you try explicitly increasing the timeout within the WFA credentials for the clusters that are erroring? In WFA click on the Execution tab, Click on Credentials in the left navigation menu then select the cluster and click "override defaults" and update the timeout values. EG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/7475i4C33D151D2572AE7/image-size/original?v=1.0&amp;amp;px=-1" alt="wfa1.png" title="wfa1.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This isn't a definative answer, just a troubleshooting suggestion. There are a number of issues that might be causing your timeout, network latency, routes, firewalls etc.&lt;/P&gt;&lt;P&gt;It's difficult to say without knowledge of your environment. Do the systems that timeout have a high volume count? Are these systems under a high workload?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you able to replicate the issue (externally to WFA) in a powershell script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 23:58:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/133356#M24203</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2017-08-03T23:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Connection Timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/133358#M24204</link>
      <description>&lt;P&gt;Just as an example, are you able to reproduce the issue from your WFA server using the following script\commands (changing the variables to meet your requirements)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PS C:\&amp;gt; cd 'C:\Program Files\NetApp\WFA\PoSH'
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; .\profile.ps1
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; $credentials = Get-Credential -Credential admin
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; $vservername = "vserver1"
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; Connect-NcController -Name cluster1.testlab.local -HTTPS -Credential $credentials

Name                 Address           Vserver              Version
----                 -------           -------              -------
cluster1.testlab.... 192.168.100.2                          NetApp Release 9.1: Thu Dec 22 23:05:58 UTC 2016

PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; Get-NcVol -Vserver $vservername

Name                      State       TotalSize  Used  Available Dedupe Aggregate                 Vserver
----                      -----       ---------  ----  --------- ------ ---------                 -------
cifs_data_001             online       100.0 GB    5%    95.0 GB False  testc1n1_aggr1            vserver1
vserver1_root             online         1.0 GB    5%   971.4 MB False  testc1n1_aggr1            vserver1&lt;/PRE&gt;&lt;P&gt;If it fails connecting to the cluster add the "-Timeout" parameter to the "Connect-NcController" and keep incrementing it too see if that's the issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 00:17:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/133358#M24204</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2017-08-04T00:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Connection Timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/133369#M24205</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The point is, &lt;U&gt;we do not use WFA in this system&lt;/U&gt; and any changes to it should not have effect on PowerShell Connection Timeout. This is the question; &lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;U&gt;why changing WFA has solved the PowerShell Connection timeout?&lt;/U&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 09:13:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/133369#M24205</guid>
      <dc:creator>alborz</dc:creator>
      <dc:date>2017-08-04T09:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Connection Timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/134231#M24351</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I am fimiliar with this case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Changes to the WFA obviously had no effect.&lt;/SPAN&gt; The script just worked a few times after the WFA changes by accident . &lt;SPAN&gt;Afterwards, however, there were very often the connection timeouts again.&lt;/SPAN&gt;&lt;BR /&gt;The idea, that it has something to do with the WFA was basically a misunderstanding. &lt;SPAN&gt;In fact, it has always been a simple PowerShell script, which is started by any client or host.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Unfortunately, this problem still exists.&lt;/SPAN&gt; Are there any solution ideas that could be followed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks and regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Manuel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:40:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/134231#M24351</guid>
      <dc:creator>manuel_s</dc:creator>
      <dc:date>2017-09-05T14:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Connection Timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/134253#M24353</link>
      <description>&lt;P&gt;Hi Manuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was mentioned previously "On three other filers, the script is also running without errors all the time". A few thoughts for troubleshooting...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What's differrent about the controllers your script does work on compared to the one you recieve timeout errors?&lt;/LI&gt;&lt;LI&gt;Are they all running the same version of ONTAP?&lt;/LI&gt;&lt;LI&gt;Are they in the same physical data center, are they on same network?&lt;/LI&gt;&lt;LI&gt;Is there any load balancers or firewalls between them?&lt;/LI&gt;&lt;LI&gt;What version of the PowerShell Toolkit are you running (See Get-NaToolkitVersion).&lt;/LI&gt;&lt;LI&gt;Do the controllers run the same workload?&lt;/LI&gt;&lt;LI&gt;Have you tried testing a connection using the manageontap.dll from the NMSDK instead of PowerShell and if so do you still recieve a timeout?&lt;/LI&gt;&lt;LI&gt;Is the script always invoked from the same client?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's difficult to determine what might be causing the problem without knowing your environment or looking at what your script is attempting to do so...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Are you able to provide your script and an explanation of it's intended purpose?&lt;/LI&gt;&lt;LI&gt;Does it always error at the same point on the same controller?&lt;/LI&gt;&lt;LI&gt;Does your script containing verbose logging to help debug the error?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 00:34:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/134253#M24353</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2017-09-06T00:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Connection Timeout</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/134301#M24359</link>
      <description>&lt;DIV&gt;&lt;DIV class="trans-verified-button-small"&gt;&lt;SPAN class=""&gt;Hi Matt!&lt;BR /&gt;&lt;BR /&gt;Thanks for the many suggestions for troubleshooting.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since for this system an update from 8.3.2 to 9.1 had been planned anyway, we have now finally managed to upgrade the system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems, that the script run smoothly for now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess, it was due to the high utilization of the system, which has now declined slightly due to the update.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="trans-verified-button-small"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="trans-verified-button-small"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="trans-verified-button-small"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Manuel&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Sep 2017 10:43:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-Connection-Timeout/m-p/134301#M24359</guid>
      <dc:creator>manuel_s</dc:creator>
      <dc:date>2017-09-07T10:43:14Z</dc:date>
    </item>
  </channel>
</rss>

