Prana Side Car Service服务电话

时间:2015-10-02 21:17:14

标签: node.js netflix-eureka

我遇到了一个奇怪的问题。我已经实现了一个基于nodejs服务的Prana Sidecar。 Node服务使用prana host uri来定位和调用另一个服务。所有服务都在docker容器中。看起来我必须先直接调用节点服务才能让prana工作。否则我收到以下错误:

21:00:46.080 [http-nio-9003-exec-1] DEBUG o.s.c.n.zuul.web.ZuulHandlerMapping - Mapping [/sqlprana] to HandlerExecutionChain with handler [org.springframework.cloud.netflix.zuul.web.ZuulController@44cddafb] and 1 interceptor
21:00:46.106 [http-nio-9003-exec-1] INFO  o.s.c.n.z.filters.ProxyRouteLocator - Finding route for path: /sqlprana
21:00:46.106 [http-nio-9003-exec-1] DEBUG o.s.c.n.z.filters.ProxyRouteLocator - servletPath=/zuul
21:00:46.107 [http-nio-9003-exec-1] DEBUG o.s.c.n.z.filters.ProxyRouteLocator - path=/sqlprana
21:00:46.107 [http-nio-9003-exec-1] DEBUG o.s.c.n.z.filters.ProxyRouteLocator - Matching pattern:/sqlparser/**
21:00:46.108 [http-nio-9003-exec-1] WARN  o.s.c.n.z.f.pre.PreDecorationFilter - No route found for uri: /sqlprana

如果我直接点击节点服务,问题就不会发生。

0 个答案:

没有答案