错误日志如下,主要为:Received RPC error: code=StatusCode.UNKNOWN message=Exception calling application: MessageToDict() got an unexpected keyword argument 'including_default_value_fields'
2024-03-29 00:51:19,654|log|INFO|get records from unsend table record ids:-> cfe95e95-b014-84a7-2112-9a7bb
2024-03-29 00:51:19,683|log|INFO|RSA_decryption done.
2024-03-29 00:51:19,683|log|INFO|AES_decryption done.
2024-03-29 00:51:19,683|log|INFO|Data_decryption done True;
2024-03-29 00:51:19,763|log|ERROR|Received RPC error: code=StatusCode.UNKNOWN message=Exception calling application: MessageToDict() got an unexpected keyword argument 'including_default_value_fields'
2024-03-29 00:51:19,763|log|INFO|Retry #2: Reconnecting to Controller.
2024-03-29 00:51:19,895|log|ERROR|Received RPC error: code=StatusCode.UNKNOWN message=Exception calling application: MessageToDict() got an unexpected keyword argument 'including_default_value_fields'
2024-03-29 00:51:19,895|log|INFO|Retry #3: Reconnecting to Controller.
2024-03-29 00:51:19,988|log|ERROR|Received RPC error: code=StatusCode.UNKNOWN message=Exception calling application: MessageToDict() got an unexpected keyword argument 'including_default_value_fields'
2024-03-29 00:51:19,988|log|INFO|Retry #4: Reconnecting to Controller.
Debug了一周,觉得服务器端的服务和客户端配置都没有问题,后来才发现是protobuf这个包没有安装导致。
安装:pip install protobuf==3.12.4
检查:pip show protobuf