GithubHelp home page GithubHelp logo

Comments (11)

olddriver4 avatar olddriver4 commented on July 1, 2024

请帮我解决如上问题,万分感激🥹

from apisix-ingress-controller.

shreemaan-abhishek avatar shreemaan-abhishek commented on July 1, 2024

you would be more like to get help if you translate the issue content to english, thanks

from apisix-ingress-controller.

olddriver4 avatar olddriver4 commented on July 1, 2024

you would be more like to get help if you translate the issue content to english, thanks
@shreemaan-abhishek

grpcurl -plaintext base-grpc.app.ntrnl:80 list social.base.PortalService
The protocol configured for k8s apisix ingress grpc does not take effect, please help me. The error is reported as follows:
Failed to list methods for service "social.base.PortalService": rpc error: code = Unavailable desc = upstream connect error or disconnect/reset before headers. reset reason: protocol error

My domain name has been host-resolved, and LB uses Layer 4 TCP protocol. I would like to know where this problem lies. I have searched for online configurations but can't solve it!
There is absolutely no problem with the service, because I use svc host to access it correctly!

from apisix-ingress-controller.

olddriver4 avatar olddriver4 commented on July 1, 2024

hello ?

from apisix-ingress-controller.

olddriver4 avatar olddriver4 commented on July 1, 2024

Can i help me ?

from apisix-ingress-controller.

olddriver4 avatar olddriver4 commented on July 1, 2024

帮忙啊 啊啊啊啊啊啊啊

from apisix-ingress-controller.

olddriver4 avatar olddriver4 commented on July 1, 2024

@shreemaan-abhishek

from apisix-ingress-controller.

shreemaan-abhishek avatar shreemaan-abhishek commented on July 1, 2024

@olddriver4 can you provide self-contained, detailed steps to reproduce this issue?

from apisix-ingress-controller.

olddriver4 avatar olddriver4 commented on July 1, 2024

Description

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: base-grpc
  namespace: app
  annotations:
    kubernetes.io/ingress.class: apisix
    k8s.apisix.apache.org/upstream-scheme: grpc
spec:
  rules:
    - host: "base-grpc.app.ntrnl"
      http:
        paths:
          - path: /*
            pathType: Prefix
            backend:
              service:
                name: base
                port:
                  name: grpc
image `grpcurl -plaintext base-grpc.app.ntrnl:80 list social.base.PortalService` 我确认是生效的,报错如下: `Failed to list methods for service "social.base.PortalService": rpc error: code = Unavailable desc = upstream connect error or disconnect/reset before headers. reset reason: protocol error`

我的域名做了host解析,LB使用的是4层TCP协议,想问问这个问题出在哪里,我找了网上的配置都不能解决! 服务绝对没有问题,因为我使用svc host访问是正确的!

Environment

  • APISIX version (run apisix version): 3.7

you would be more like to get help if you translate the issue content to english, thanks
@shreemaan-abhishek

grpcurl -plaintext base-grpc.app.ntrnl:80 list social.base.PortalService The protocol configured for k8s apisix ingress grpc does not take effect, please help me. The error is reported as follows: Failed to list methods for service "social.base.PortalService": rpc error: code = Unavailable desc = upstream connect error or disconnect/reset before headers. reset reason: protocol error

My domain name has been host-resolved, and LB uses Layer 4 TCP protocol. I would like to know where this problem lies. I have searched for online configurations but can't solve it! There is absolutely no problem with the service, because I use svc host to access it correctly!

This is the configuration of the apisix service:

apiVersion: v1
kind: Service
metadata:
  name: apisix-gateway
  namespace: apisix
  labels:
    app: apisix
    version: "3.7.0"
spec:
  type: LoadBalancer
  ports:
  - name: apisix-gateway-http
    port: 80
    targetPort: 9080
    protocol: TCP
  - name: apisix-gateway-https
    port: 443
    targetPort: 9080
    protocol: TCP
  selector:
    app: apisix
    version: "3.7.0"

The above are all the steps of my configuration. I really don’t have more detailed configuration problems. Could you please help me detect whether it is a configuration problem there or a LB problem? @shreemaan-abhishek

from apisix-ingress-controller.

olddriver4 avatar olddriver4 commented on July 1, 2024

@spacewander help me, thanks!

from apisix-ingress-controller.

olddriver4 avatar olddriver4 commented on July 1, 2024

to: apache/apisix#11206

from apisix-ingress-controller.

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.