跳转到主内容

为连接器启用 HTTP 代理失败,出现错误"错误的状态代码 403"

Views:
192
Visibility:
Public
Votes:
0
Category:
cloud-manager
Specialty:
netapp_console
Last Updated:

适用于

  • NetApp BlueXP
  • Microsoft Azure

问题

即使代理服务器上的允许列表包括 从 BlueXP 在 Azure 中创建连接器 中的所有端点,从 HTTP 代理配置 为 BlueXP 连接器启用代理也会失败并出现错误:
failed to update client infra proxy - response: {"error":"Failed validating network prerequisites","message":".-----------------------------------------------------------------------------------------------------------.\n| URL | status |\n|------------------------------------------------------------+----------------------------------------------|\n| https://support.netapp.com | \u001b[1m\u001b[31mWrong status code 403, expected one of [200]\u001b[39m\u001b[22m |\n|------------------------------------------------------------+----------------------------------------------|\n| https://cloudmanager.cloud.netapp.com/tenancy/health | \u001b[32mOK\u001b[39m |\n|------------------------------------------------------------+----------------------------------------------|\n| https://stream.cloudmanager.cloud.netapp.com | \u001b[32mOK\u001b[39m |\n|------------------------------------------------------------+----------------------------------------------|\n| https://cloudmanagerinfraprod.azurecr.io | \u001b[32mOK\u001b[39m |\n|------------------------------------------------------------+----------------------------------------------|\n| https://production-artifacts.cloudmanager.cloud.netapp.com | \u001b[32mOK\u001b[39m |\n'-----------------------------------------------------------------------------------------------------------'","data":[{"success":false,"requiredUrl":{"url":"https://support.netapp.com","expectedStatus":[200]},"status":403,"text":"Wrong status code 403, expected one of [200]"},{"success":true,"requiredUrl":{"url":"https://cloudmanager.cloud.netapp.com/tenancy/health","expectedStatus":[200]},"status":200,"text":"OK"},{"success":true,"requiredUrl":{"url":"https://stream.cloudmanager.cloud.netapp.com","expectedStatus":[200,403]},"status":403,"text":"OK"},{"success":true,"requiredUrl":{"url":"https://cloudmanagerinfraprod.azurecr.io","expectedStatus":[200,404]},"status":404,"text":"OK"},{"success":true,"requiredUrl":{"url":"https://production-artifacts.cloudmanager.cloud.netapp.com","expectedStatus":[200,401]},"status":401,"text":"OK"}]}

注:
上面重写的消息 部分的内容:

.-----------------------------------------------------------------------------------------------------------.
| URL                             | status                     |
|------------------------------------------------------------+----------------------------------------------|
| https://support.netapp.com                  | Wrong status code 403, expected one of [200] |
|------------------------------------------------------------+----------------------------------------------|
| https://cloudmanager.cloud.netapp.com/tenancy/health     | OK                       |
|------------------------------------------------------------+----------------------------------------------|
| https://stream.cloudmanager.cloud.netapp.com         | OK                       |
|------------------------------------------------------------+----------------------------------------------|
| https://cloudmanagerinfraprod.azurecr.io           | OK                       |
|------------------------------------------------------------+----------------------------------------------|
| https://production-artifacts.cloudmanager.cloud.netapp.com | OK                       |
'-----------------------------------------------------------------------------------------------------------'

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.