通过发布请求访问网关时Zuul错误

时间:2019-02-08 21:25:23

标签: netflix-eureka netflix-zuul spring-cloud-netflix netflix netflix-ribbon

在节点服务-> zuul->网关之间的交互时,我遇到错误。 我正在使用本机节点http模块使用cert和key向zuul应用程序发送发布请求。然后,该zuul将请求传播到api网关。这似乎对GET正常,但不适用于zuul和网关之间的POST请求。下面是错误

timestamp: 02/08/2019 20:45:27:0628 service:zuul-gateway level:INFO  class:ACCESS type:event body:2019-02-08T20:45:23.784   127.0.0.1   5443    POST    /apigtwy/list-info/query?userNos=tnt&channel=IVR    401 3822702 100 080a01a2-82a1-446e-8401-101163377bbe    356 "localhost:5443"    "-" "-" "-" "-" "-" "-" "-" "application/json"}
timestamp: 02/08/2019 20:45:27:0668 service:zuul-gateway level:INFO  class:com.netflix.zuul.netty.insights.PassportLoggingHandler type:event body:Request processing took longer than threshold! toplevelid = 080a01a2-82a1-446e-8401-101163377bbe, Channel: [id: 0x296775f3, L:/127.0.0.1:5443 ! R:/127.0.0.1:59318], active=false, open=false, registered=true, writable=false, id=296775f3, Passport: CurrentPassport {start_ms=1549658723623, [+0=SERVER_CH_ACTIVE, +79430342=SERVER_CH_SSL_HANDSHAKE_COMPLETE, +155201431=IN_REQ_HEADERS_RECEIVED, +502530110=FILTERS_INBOUND_START, +1080806629=FILTERS_INBOUND_END, +1753934589=ORIGIN_CH_CONNECTING, +1788599572=ORIGIN_CONN_ACQUIRE_START, +1796002458=IN_REQ_LAST_CONTENT_RECEIVED, +1830787886=ORIGIN_CH_CONNECTED, +1836458893=ORIGIN_CONN_ACQUIRE_END, +1838236408=OUT_REQ_HEADERS_SENDING, +1847325948=OUT_REQ_LAST_CONTENT_SENDING, +1847968960=ORIGIN_CH_ACTIVE, +2229555621=OUT_REQ_HEADERS_SENT, +2229579659=OUT_REQ_LAST_CONTENT_SENT, +3955210491=IN_RESP_HEADERS_RECEIVED, +3959420532=FILTERS_OUTBOUND_START, +3959727653=FILTERS_OUTBOUND_END, +3961172257=OUT_RESP_HEADERS_SENDING, +3973122644=OUT_RESP_HEADERS_SENT, +3977243255=ORIGIN_CH_INACTIVE, +3977638713=IN_RESP_LAST_CONTENT_RECEIVED, +3977772594=OUT_RESP_LAST_CONTENT_SENDING, +3983158327=OUT_RESP_LAST_CONTENT_SENT, +4026236883=SERVER_CH_CLOSE, +4032538519=SERVER_CH_CLOSE, +4044107512=NOW]}}
timestamp: 02/08/2019 20:45:27:0669 service:zuul-gateway level:INFO  class:com.netflix.zuul.netty.server.ClientResponseWriter type:event body:ClientResponseWriter Received event SslCloseCompletionEvent(java.nio.channels.ClosedChannelException)}

0 个答案:

没有答案