当前位置: 首页 > 后端技术 > Python

python3连接etcd3grpc错误解决方法

时间:2023-03-26 13:24:11 Python

本例环境如下:python版本:3.7etcd3版本:0.12.0报错信息:文件“/tools/apps/venv/lib/python3.7/site-packages/etcd3/client.py”,第48行,在handler_translate_exception(exc)File"/tools/apps/venv/lib/python3.7/site-packages/etcd3/client.py",第46行,在handlerreturnf(*args,**kwargs)File"/tools/apps/venv/lib/python3.7/site-packages/etcd3/client.py”,第424行,在putmetadata=self.metadataFile“/tools/apps/venv/lib/python3.7/site-packages/grpc/_channel.py“,第946行,在__call__return_end_unary_response_blocking(state,call,False,None)File“/tools/apps/venv/lib/python3.7/site-packages/grpc/_channel.py”,第849行,在_end_unary_response_blockingraise_InactiveRpcError(state)grpc._channel._InactiveRpcError:<_InactiveRpcErrorofRPCthatterminatedwith:status=StatusCode.UNAUTHENTICATEDdetails="已建立的通道没有足够的安全级别来传输调用凭证。"debug_error_string="{"created":"@1650335047.885697270","description":"从peer172.0.0.1:8030收到错误","file":"src/core/lib/surface/call.cc","file_line":906,"g??rpc_message":"Establishedchanneldoesnothaveasufficientsecurityleveltotransfercallcredential.","grpc_status":16}"降级后pipuninstallgrpciopipinstallgrpcio==1.19.0以上就是这个的分享时间所有的内容,现在想学习编程的朋友们欢迎关注Python技术大本营获取更多技能和教程。

最新推荐
猜你喜欢