当前位置:网站首页>Solve rpc error: code = Unimplemented desc = method CheckLicense not implemented
Solve rpc error: code = Unimplemented desc = method CheckLicense not implemented
2022-07-31 09:32:00 【_Qilixiang】
Call rpc to solve the error, check it around, the package name is opposite, the proto file is the same, and the registration method is also opposite
I was really puzzled, and finally found a little tricky...
I wrote two structs to combine proto.UnimplementedServiceServer;
The receiver of each interface uses the second struct, and the parameter of the register is the first during registration, which is very caodan. After a long search, it turns out that this is the reason!
Delete one of them, and let the registered struct and the receiver of each interface use the same structure.
边栏推荐
猜你喜欢
随机推荐
A brief introduction to the SSM framework
一次Spark SQL线上问题排查和定位
postgresql 生成随机日期,随机时间
刷题《剑指Offer》day05
A Spark SQL online problem troubleshooting and positioning
数据中台建设(六):数据体系建设
Flink1.15 source code reading flink-clients - flink command line help command
MySQL 数据库基础知识(系统化一篇入门)
JSP pagecontext对象的简介说明
Flink1.15源码阅读flink-clients——flink命令行帮助命令
高并发-高可用-高性能
如何在 TiDB Cloud 上使用 Databricks 进行数据分析 | TiDB Cloud 使用指南
VMware下安装win10
5.for in 和 for of区别和使用
&#x开头的是什么编码?
JSP exception对象简介说明
如何将亚马逊广告添加到您的 WordPress 网站(3 种方法)
感情危机,朋友的网恋女友要和他闹分手,问我怎么办
刷题《剑指Offer》day07
开放麒麟 openKylin 自动化开发者平台正式发布