首页 > 解决方案 > 引起:io.grpc.StatusRuntimeException:内部:HTTP/2 错误代码:PROTOCOL_ERROR

问题描述

尝试连接到 mongodb 时出现以下错误。我在 java 1.8 上运行一个 spring boot 应用程序。我们公司在grpc之上构建了一个java客户端来连接mongodb,我偶尔会看到以下错误。它不会一直发生,而只是偶尔发生。知道那是什么吗?

Caused by: io.grpc.StatusRuntimeException: INTERNAL: HTTP/2 error code: PROTOCOL_ERROR
Received Goaway
Pseudo-header field ':path' found after regular header.
    at io.grpc.Status.asRuntimeException(Status.java:533)
    ... 13 more

标签: javamongodbspring-boot

解决方案


推荐阅读