You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/12/11 09:19:40 UTC

[GitHub] [servicecomb-java-chassis] tangzhexu opened a new issue #2127: Edge-service 配置Handler不生效

tangzhexu opened a new issue #2127:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2127


   Handler配置如下,使用网关转发请求,未执行Handler逻辑
   ![image](https://user-images.githubusercontent.com/38036508/101885222-cc340980-3bd4-11eb-904f-2da7c3353d3b.png)
   ![image](https://user-images.githubusercontent.com/38036508/101885259-dce47f80-3bd4-11eb-8a16-0779ad19100c.png)
   


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

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



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2127: Edge-service 配置Handler不生效

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2127:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2127#issuecomment-743738423


   不知道是不是优先级的问题,导致其他配置覆盖了你的配置。 你也可以调试下 AbstractHandlerManager , 看看是否正确读取到配置项的值。 


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

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



[GitHub] [servicecomb-java-chassis] tangzhexu commented on issue #2127: Edge-service 配置Handler不生效

Posted by GitBox <gi...@apache.org>.
tangzhexu commented on issue #2127:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2127#issuecomment-744129903


   通过网关访问对应服务,调试 AbstractHandlerManager 发现对应服务MicroserviceMeta时,有返回handlerChain,但是没有执行


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

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



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2127: Edge-service 配置Handler不生效

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2127:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2127#issuecomment-745019118


    CommonHttpEdgeDispatcher 是为 servicecomb 调用其他非 servicecomb 设计的,不会走 hanlder 链。要看你的场景, 是否适合选择 CommonHttpEdgeDispatcher。 


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

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



[GitHub] [servicecomb-java-chassis] tangzhexu commented on issue #2127: Edge-service 配置Handler不生效

Posted by GitBox <gi...@apache.org>.
tangzhexu commented on issue #2127:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2127#issuecomment-744134568


   查看CommonHttpEdgeDispatcher源码没找到handlerChain的调用入口


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

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