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)
- Failed to detect current executable: cannot find executable path HOT 3
- 监控server侧回调缺乏信息 HOT 2
- 服务几天没访问后就访问不了了 HOT 2
- 用hertz当client端去调用kitex的时候偶尔会出现KITEX: New grpc Client connection failed, network-unilx, address-go-online-sales-auth-v2:8080, error-dial unix go-online-sales-auth-v2:8080: connect: no such file or directorv 重启一下client就好了 HOT 7
- 连接方式使用长连接池小概率报错 HOT 3
- Bug Report: 使用生成工具生成的代码包路径错误 HOT 4
- Windows环境使用consul注册后,每次health check时tracer追踪链路报错 HOT 7
- Windows下服务端超时报错 HOT 2
- 关于如何判定ClientSideStreaming的传输结束了 HOT 1
- 如何在解析下游服务时拿到下游服务名称 HOT 2
- 官方 hello 示例,client 无法通过 GRPC 访问 HOT 13
- Kitex远程调用IO超时 HOT 2
- 用sentry捕获panic信息,不能定位实际上的出错位置 HOT 7
- 官方hello示例,funcdata.go,stubs.go报错:undefined HOT 2
- Support read both grpc status and data frame in kitex grpc client
- 更新kitex后报错 v0.10.3 HOT 4
- kitex单server多service调用 HOT 7
- `0.11.2` Internal version not updated HOT 2
- proto 引入 google/protobuf/struct.proto 用kitex工具生成代码提示错误 HOT 1
- kitex proto文件生成service,运行报错:undefined: descriptorpb.Default_FileOptions_PhpGenericServices HOT 1
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.