Comments (14)
可以重新生成一下 client 侧的代码后再试试,看起来更像是 client 客户端的包没有发送 method 名称,而不是 server 没注册上内容导致的报错
from kitex.
我已经升级了我的版本,目前我的 kitex 版本为 v0.9.2-rc1 ,但是好像仍然出现对应错误
Both client and server?
from kitex.
麻烦给一个完整的demo(包含server&client),我可以试试看能否复现,以便进一步排查
我使用下面这些语句来生成代码:
kitex -module file idl/file.thrift cd cmd kitex -module file -service file -use file/kitex_gen ../idl/file.thrift
能否在 github 上建个项目,把idl、生成好的代码,以及你的测试 client/server 都 push 上去?
我新建的测试项目貌似没这个问题,那可能是我之前那些代码出了一些问题!这段时间打扰了!
from kitex.
Also, there was a bug with Mux mode and it was fixed in #1294.
Please try to upgrade kitex version >= v0.9.2-rc1 on the server side.
from kitex.
可以重新生成一下 client 侧的代码后再试试,看起来更像是 client 客户端的包没有发送 method 名称,而不是 server 没注册上内容导致的报错
重新生成?是重新生成 kitex_gen 吗,我使用这个语句生成相关代码:
kitex -module drive idl/file.thrift
生成后,依旧出现这样的错误
from kitex.
Also, there was a bug with Mux mode and it was fixed in #1294. Please try to upgrade kitex version >= v0.9.2-rc1 on the server side.
我已经升级了我的版本,目前我的 kitex 版本为 v0.9.2-rc1 ,但是好像仍然出现对应错误
from kitex.
我已经升级了我的版本,目前我的 kitex 版本为 v0.9.2-rc1 ,但是好像仍然出现对应错误
Both client and server?
yes, client and server
from kitex.
我已经升级了我的版本,目前我的 kitex 版本为 v0.9.2-rc1 ,但是好像仍然出现对应错误
Both client and server?
我现在怀疑,是我的代码生成错误了,即 kitex -module *** 这样的语句编写错误,请问是否方便为我提供正确的 单 Server 多 Service 的代码生成语句?
from kitex.
我已经升级了我的版本,目前我的 kitex 版本为 v0.9.2-rc1 ,但是好像仍然出现对应错误
Both client and server?
hello ?
from kitex.
我已经升级了我的版本,目前我的 kitex 版本为 v0.9.2-rc1 ,但是好像仍然出现对应错误
Both client and server?
我现在怀疑,是我的代码生成错误了,即 kitex -module *** 这样的语句编写错误,请问是否方便为我提供正确的 单 Server 多 Service 的代码生成语句?
multiservice 在代码生成上没有特殊参数
from kitex.
麻烦给一个完整的demo(包含server&client),我可以试试看能否复现,以便进一步排查
from kitex.
麻烦给一个完整的demo(包含server&client),我可以试试看能否复现,以便进一步排查
我预计将我的 IDL 给你,由你本地测试,如何?
namespace go file
struct AddObjectReq {}
struct AllResp {
1: string msg
}
service FileSystem {
AllResp OpenObject()
AllResp AddObject()
AllResp DelObject()
AllResp ListObject()
AllResp Mkdir()
}
service Storages {
AllResp Download()
AllResp Upload()
AllResp Delete()
AllResp Check()
AllResp Head()
}
这是我在测试中预计做的一个 IDL
from kitex.
麻烦给一个完整的demo(包含server&client),我可以试试看能否复现,以便进一步排查
我使用下面这些语句来生成代码:
kitex -module file idl/file.thrift
cd cmd
kitex -module file -service file -use file/kitex_gen ../idl/file.thrift
from kitex.
麻烦给一个完整的demo(包含server&client),我可以试试看能否复现,以便进一步排查
我使用下面这些语句来生成代码:
kitex -module file idl/file.thrift cd cmd kitex -module file -service file -use file/kitex_gen ../idl/file.thrift
能否在 github 上建个项目,把idl、生成好的代码,以及你的测试 client/server 都 push 上去?
from kitex.
Related Issues (20)
- Feature Proposal: tracing.ServerMiddleware 同时支持 metainfo 和 metadata 协议读取 HOT 2
- Feature Proposal: Allow custom registry to get the actual address for registering HOT 3
- Feature Proposal: optionloader for Kitex client/server HOT 4
- Feature Proposal: kitexcall command for sending json generic requests HOT 5
- 客户端访问服务出现 cannot assign requested address HOT 5
- kitex自定义脚手架模板里想获得hello.thrift里namespace怎么获得 HOT 4
- kitex会考虑和wego一样模版内置sprig函数吗? HOT 1
- Remove Go version restrictions for newer versions HOT 5
- 篡改自定义nacos注册信息 HOT 3
- 自定义模板生成报错 HOT 1
- WithCodec 似乎没生效
- 通过jmeter压测工具调用服务端报错:no kitex compressor registered found for:gzip HOT 2
- 会不会支持最新版本的 thrift HOT 1
- thrift 好像不兼容 HOT 1
- 泛化调用的IDL无法解析官方推荐的字段校验 HOT 4
- 负载均衡没有按权重分流 HOT 6
- 关于 Error 的一些疑问 HOT 9
- Failed to detect current executable: cannot find executable path HOT 3
- 监控server侧回调缺乏信息 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitex.