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

ERR_TLS_ALPN_CALLBACK_WITH_PROTOCOLS

tls alpn callback with protocols

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

如果 TLS 选项同时包含 ALPNProtocols 和 ALPNCallback,则创建 TLSServer 时会引发此错误。这些选项是互斥的。

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

This error is thrown when creating a TLSServer if the TLS options include both ALPNProtocols and ALPNCallback. These options are mutually exclusive.

故障排除与诊断链接

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