<?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 Re: Powershell Core proxy connectivity issues to OneView in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7198460#M8530</link>
    <description>&lt;P&gt;A new 8.30 library is being released now.&amp;nbsp; So expect the update to be in PowerShell Gallery later today (US time).&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2023 15:42:23 GMT</pubDate>
    <dc:creator>ChrisLynch</dc:creator>
    <dc:date>2023-10-11T15:42:23Z</dc:date>
    <item>
      <title>Powershell Core proxy connectivity issues to OneView</title>
      <link>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7196937#M8442</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;I'm expecting the following issue when connecting to OneView from Powershell core, if proxy settings are applied.&lt;/P&gt;&lt;P&gt;OneView Appliance 8.30.01&lt;BR /&gt;OV Module - HPEOneView.830&lt;BR /&gt;PSVersion - 7.3.7&lt;BR /&gt;OS - Windows Server 2022&lt;/P&gt;&lt;P&gt;Error Message:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;VERBOSE: [SEND-OVREQUEST] Filtering for Connection Object via String: myoneview.com&lt;BR /&gt;VERBOSE: [SEND-OVREQUEST] Processing 'myoneview.com' appliance connection request. 1 of 1&lt;BR /&gt;VERBOSE: [SEND-OVREQUEST] Requested URI '/rest/version' to 'myoneview.com'&lt;BR /&gt;VERBOSE: [SEND-OVREQUEST] We have reached the URI Whitelist condition block. Unauth request allowed for '/rest/version'.&lt;BR /&gt;VERBOSE: [CONNECT-OVMGMT] Exception caught when checking X-API version.&lt;BR /&gt;Connect-OVMgmt: Exception calling "RestClient" with "3" argument(s): "The ServicePointManager does not support proxies with the https scheme."&lt;BR /&gt;&lt;BR /&gt;The proxy settings are configured via PowerShell profile, where http proxy is configured. The OneView appliance is also added in the bypass list, but the OneView module still crashes and tried to connect via proxy. If I remove the proxy settings, or use system default proxy on PS 5.1 connection is working. Here is the Proxy Profile:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;[System.Net.Http.HttpClient]::DefaultProxy = New-Object System.Net.WebProxy("&lt;A href="http://10.11.12.13:8088" target="_blank"&gt;http://10.11.12.13:8088&lt;/A&gt;")&lt;BR /&gt;[System.Net.Http.HttpClient]::DefaultProxy.BypassProxyOnLocal = $true&lt;BR /&gt;$list = @('.myoneview.com','myoneview.com')&lt;BR /&gt;[System.Net.Http.HttpClient]::DefaultProxy.BypassList = $list&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;All other services which are on the same domain (bypassed) working fine, for example connection to different C7000 enclosures,&amp;nbsp; vCenters and etc. Seems like the OneView module found that https proxy is configured, but the actual config is on http proxy and correctly configured bypass list.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 06:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7196937#M8442</guid>
      <dc:creator>CSKA</dc:creator>
      <dc:date>2023-09-21T06:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Core proxy connectivity issues to OneView</title>
      <link>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7197005#M8452</link>
      <description>&lt;P&gt;The HPE OneView PowrShell library uses the HttpWebReqeust class, not use the HTTPClient class.&amp;nbsp; Looking into this further, the issue isn't necessarily with the library, but ServicePointManager.&amp;nbsp; It is the source of the error.&lt;/P&gt;&lt;P&gt;I think I found a solution here, but it will require an update to the library which I am working on publishing.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 22:21:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7197005#M8452</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2023-09-21T22:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Core proxy connectivity issues to OneView</title>
      <link>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7197079#M8455</link>
      <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1458"&gt;@ChrisLynch&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi Chris,&lt;BR /&gt;Thanks for looking into this thread.&lt;BR /&gt;I think that in PowerShell core/7 the proxy configuration is using the System.Net.HttpClient class instead of the System.Net.WebRequest class to perform web requests in the Invoke-WebRequest, Find-Module, Install-Module, etc. cmdlets. If you think I can switch back to proxy with System.Net.WebRequest library in PS7 I will try it.&lt;BR /&gt;Could you please ping in the thread when you publish the new version.&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 08:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7197079#M8455</guid>
      <dc:creator>CSKA</dc:creator>
      <dc:date>2023-09-25T08:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Core proxy connectivity issues to OneView</title>
      <link>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7198446#M8526</link>
      <description>&lt;P&gt;I am facing the same issue, thanks for looking into it!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 13:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7198446#M8526</guid>
      <dc:creator>OliverAn</dc:creator>
      <dc:date>2023-10-11T13:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Core proxy connectivity issues to OneView</title>
      <link>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7198460#M8530</link>
      <description>&lt;P&gt;A new 8.30 library is being released now.&amp;nbsp; So expect the update to be in PowerShell Gallery later today (US time).&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 15:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7198460#M8530</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2023-10-11T15:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Core proxy connectivity issues to OneView</title>
      <link>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7209648#M9088</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1458"&gt;@ChrisLynch&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The issue still exist with Module&amp;nbsp;8.30.3660.2366 and&amp;nbsp;8.50.3667.2043 and PS&amp;nbsp;7.3.7&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 12:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7209648#M9088</guid>
      <dc:creator>CSKA</dc:creator>
      <dc:date>2024-03-20T12:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Core proxy connectivity issues to OneView</title>
      <link>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7223383#M9464</link>
      <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1458"&gt;@ChrisLynch&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same here, is there any resolution scheduled?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 07:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/powershell-core-proxy-connectivity-issues-to-oneview/m-p/7223383#M9464</guid>
      <dc:creator>DannyRWS</dc:creator>
      <dc:date>2024-08-22T07:15:33Z</dc:date>
    </item>
  </channel>
</rss>

