You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/12/15 03:28:10 UTC

[GitHub] [apisix] vcqr opened a new issue #5815: bug: 使用nacos做服务发现,不支持spring cloud程序?

vcqr opened a new issue #5815:
URL: https://github.com/apache/apisix/issues/5815


   ### Issue description
   
   [error] 47#47: *117481 upstream prematurely closed connection while reading response header from upstream
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   
   
   ### Steps to reproduce
   
   使用spring cloud grpc程序注册到nacos中,port在meta data中gRPC_port=xxxx
   
   ### Actual result
   
   502 Bad Gateway
   openresty
   
   ### Error log
   
   [error] 47#47: *117481 upstream prematurely closed connection while reading response header from upstream, client: 172.18.0.1
   
   ### Expected result
   
   _No response_


-- 
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



[GitHub] [apisix] tzssangglass commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-999447518


   you can go to the nacos community and ask if there is a configuration for this


-- 
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



[GitHub] [apisix] tzssangglass commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-999332724


   pls use English in public channel.
   
   > upstream prematurely closed connection while reading response header from upstream,
   
   I think it's a problem with your upstream service


-- 
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



[GitHub] [apisix] tzssangglass commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-999528028


   APISIX now supports Nacos 1.x and the CI is based on Nacos 1.4.1, are you using Nacos 2.x?


-- 
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



[GitHub] [apisix] vcqr commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
vcqr commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-999534912


   2.x   yes


-- 
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



[GitHub] [apisix] vcqr commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
vcqr commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-999422452


   > 
   
   No, The default method is used when registering


-- 
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



[GitHub] [apisix] tzssangglass commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-999979326


   we need to support nacos 2.x, @vcqr would like to submit a PR to fix this?


-- 
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



[GitHub] [apisix] tzssangglass commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-999414574


   > but the port of grpc is registered in the metadata,
   
   can we specify that the registered http port in the metadata?


-- 
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



[GitHub] [apisix] spacewander closed issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #5815:
URL: https://github.com/apache/apisix/issues/5815


   


-- 
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



[GitHub] [apisix] vcqr commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
vcqr commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-999460064


   It is okay to call between spring cloud and use nacos to do service discovery, but apisix is not compatible


-- 
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



[GitHub] [apisix] vcqr commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
vcqr commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-1000001288


   > we need to support nacos 2.x, @vcqr would like to submit a PR to fix this?
   
   @tzssangglass ok


-- 
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



[GitHub] [apisix] vcqr closed issue #5815: bug: 使用nacos做服务发现,不支持spring cloud程序?

Posted by GitBox <gi...@apache.org>.
vcqr closed issue #5815:
URL: https://github.com/apache/apisix/issues/5815


   


-- 
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



[GitHub] [apisix] vcqr commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
vcqr commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-999361008


   There will be two ports in the spring cloud program registration nacos, one is the port of the http service, the other is the port of grpc, but the port of grpc is registered in the metadata, the problem is that Apisix is not compatible to read the port in the metadata


-- 
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



[GitHub] [apisix] xianshun163 commented on issue #5815: bug: using nacos for service discovery, no support for spring cloud programs?

Posted by GitBox <gi...@apache.org>.
xianshun163 commented on issue #5815:
URL: https://github.com/apache/apisix/issues/5815#issuecomment-1000599508


   I am trying to use nacos too, and I use spring cloud http way.
   ApiSix  cat use the port of the http service,    have  you find some problem with the http service?


-- 
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