メインコンテンツまでスキップ

エラー-  API呼び出しの実行中に「要求されたURLはこのサーバで見つかりませんでした」

Views:
136
Visibility:
Public
Votes:
0
Category:
fabric-interconnect-and-management-switches
Specialty:
brocade<a>2009962823</a>
Last Updated:

環境

  • Brocade
  • サンナビ

問題

  • 読み取り専用ユーザからSANNAVからAPI呼び出しを使用してデータを取得しようとすると、 エラーが発生しThe requested URL  was not found on this server、 正しいsessionId応答を取得できません。

curl -vvv -k -H "username: " -H "password: " -H "Accept:application/json" -X POST https://10.226.xx.xx/external-api/v1/login

/v1/login

*   Trying 10.226.xx.xx...
* TCP_NODELAY set
* Connected to 10.226.xx.xx (10.226.xx.xx) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS alert, handshake failure (552):
* error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
* Closing connection 0
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure

curl -k -H "username" -H "password" -H "Accept:application/json" -X POST https://10.229.xx.xx/external-api/v1/login
The requested URL  was not found on this server

 


curl -k -u "" -H "Accept:application/json" -X POST https://10.225.xx.xx/#/external-api/v1/login
Enter host password for user 'user':
{
  "code": "4XX",
  "error": "Proxy Service - Client error response",
  "error_description": "Proxy Service - Check your input parameters and HTTP body"
  }

 

  • ログイン後にスラッシュで試しましたが、 それでも運がありませんでした-

 

  • まったく同じURLを試してみると エラーが返され HTTP/1.1 404 Not Foundます。   詳細な出力を以下に示します-

    > POST /external-api/v1/login/ HTTP/1.1
    > Host: 10.229.xx.xx
    > User-Agent: curl/7.61.1
    > Accept: */*
    > Content-Type:application/json

    * TLSv1.3 (IN), TLS handshake, [no content] (0):
    * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    * TLSv1.3 (IN), TLS handshake, [no content] (0):
    * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    * TLSv1.3 (IN), TLS app data, [no content] (0):
    < HTTP/1.1 404 Not Found
    < Date: Thu, 28 Mar 2024 13:26:47 GMT
    < Server: Apache
    < Strict-Transport-Security: max-age=31536000; includeSubDomains

 

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.