GithubHelp home page GithubHelp logo

报 call triple server error = service was not found upstream even though it should have been there: service not found; service discovery error about dubbo-go-pixiu HOT 5 CLOSED

nicktming avatar nicktming commented on June 5, 2024
报 call triple server error = service was not found upstream even though it should have been there: service not found; service discovery error

from dubbo-go-pixiu.

Comments (5)

AlexStocks avatar AlexStocks commented on June 5, 2024

image

根本原因:k8s 用了 gogo 组织的 gogoprotobuf 编译 pb,而 dubbogo 的 triple 使用的是go官方使用的 protobuf,导致协议不通。

from dubbo-go-pixiu.

mark4z avatar mark4z commented on June 5, 2024

使用本地导入的protoset有可能解决该问题

from dubbo-go-pixiu.

mark4z avatar mark4z commented on June 5, 2024

该问题是由于gprc reflection无法识别gogoprotoc生成的pb。
可能的解决方案,对于此种情况,为triple的filter增加一个配置的路径,用来加载protoset文件。这样对于不兼容的情况,不使用gprc reflection来避免问题。
但同时,需要保留gprc reflection的能力。

可以参考的项目:https://github.com/fullstorydev/grpcurl(拥有以上两种能力)
image

from dubbo-go-pixiu.

mark4z avatar mark4z commented on June 5, 2024

cc @jielun1995

from dubbo-go-pixiu.

mark4z avatar mark4z commented on June 5, 2024

close via #548

from dubbo-go-pixiu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.