ngx GRPC错误无法解析HTTP / 2预期的'P'80在字节0处获得'O'79

问题描述

我有一台运行良好的GRPC服务器(使用BloomRPC测试)。我有一个使用Angular和ngx-grpc构建的前端。从grpc客户端发送请求时,服务器端出现Followin错误。知道是什么问题吗?

import os
print(os.O_RDWR)  # 2 - in binary 10
print(os.O_TRUNC)  # 512 - in binary 1000000000
flags = os.O_RDWR | os.O_TRUNC  # does bitwise OR to set the flags
print(flags)  # 514 - in binary this is 1000000010

if flags & os.O_RDWR:
    print("O_RDWR is set")  # this print is executed because the 2s digit is set

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)