エラーコードポータル
Node.jsNode.jsエラーコード

HPE_UNEXPECTED_CONTENT_LENGTH

hpe unexpected content length

コード HPE_UNEXPECTED_CONTENT_LENGTH · Node.jsが報告した問題です。

サーバーは Content-Length ヘッダーと Transfer-Encoding: chunked の両方を送信しています。 Transfer-Encoding: chunked を使用すると、サーバーは動的に生成されたコンテンツに対して HTTP 永続接続を維持できます。この場合、Content-Length HTTP ヘッダーは使用できません。 Content-Length または Transfer-Encoding: チャンクを使用します。

Google Translate · 自動翻訳です。専門用語や適用条件は英語の原文で確認してください。

Server is sending both a Content-Length header and Transfer-Encoding: chunked. Transfer-Encoding: chunked allows the server to maintain an HTTP persistent connection for dynamically generated content. In this case, the Content-Length HTTP header cannot be used. Use Content-Length or Transfer-Encoding: chunked.

トラブルシューティング・診断リンク

まず、文書の製品・バージョン・発生環境が現在の状況と一致しているか確認してください。