错误代码门户
Node.jsNode.js错误代码

ERR_HTTP2_TRAILERS_NOT_READY

http2 trailers not ready

代码 ERR_HTTP2_TRAILERS_NOT_READY · Node.js 报告的问题。

在 Http2Stream 对象上发出 'wantTrailers' 事件之前,无法调用 http2stream.sendTrailers() 方法。仅当为 Http2Stream 设置了 waitForTrailers 选项时,才会发出“wantTrailers”事件。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

The http2stream.sendTrailers() method cannot be called until after the 'wantTrailers' event is emitted on an Http2Stream object. The 'wantTrailers' event will only be emitted if the waitForTrailers option is set for the Http2Stream.

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。