You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "olddriver4 (via GitHub)" <gi...@apache.org> on 2024/04/11 04:12:29 UTC

[I] 配置k8s apisix ingress grpc的协议不生效,请帮助我 [apisix]

olddriver4 opened a new issue, #11143:
URL: https://github.com/apache/apisix/issues/11143

   ### 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
   `      
   
   <img width="857" alt="image" src="https://github.com/apache/apisix/assets/28889568/20aa3fc8-fa47-45aa-aa91-f6fdbd05238a">      
   
   我确认是生效的,报错如下:   
   `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
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 配置k8s apisix ingress grpc的协议不生效,请帮助我 [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #11143:
URL: https://github.com/apache/apisix/issues/11143#issuecomment-2048948758

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 配置k8s apisix ingress grpc的协议不生效,请帮助我 [apisix]

Posted by "olddriver4 (via GitHub)" <gi...@apache.org>.
olddriver4 commented on issue #11143:
URL: https://github.com/apache/apisix/issues/11143#issuecomment-2048897553

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org