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 2019/08/29 01:43:22 UTC
[GitHub] [servicecomb-pack] dongzegithub opened a new issue #546: 接口报错 401 UNAUTHORIZED
dongzegithub opened a new issue #546: 接口报错 401 UNAUTHORIZED
URL: https://github.com/apache/servicecomb-pack/issues/546
### 错误日志
```java
Enter edge, invoke uri is XXXXXX, operatorId is XXXXXXX.
ERROR org.apache.servicecomb.transport.rest.vertx.RestServerVerticle -Unexpected error in server.cause:IOException,message:Connection reset by peer
ERROR org.apache.servicecomb.transport.rest.vertx.RestServerVerticle -Unexpected error in server.cause:IOException,message:Connection reset by peer
DEBUG io.netty.handler.ssl.SslHandler -[id: 0x059262dd, L:/XXX.XXX.XXX.XXX:20000 - R:/XXX.XXX.XXX.XXX:48000] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
```
### 错误描述
通过 edge -> rest -> rpc 调用链调用rpc上的接口,页面返回 401 UNAUTHORIZED 错误
edge日志报如上错误日志内容,rest、rpc无相关日志
经过排查,rpc中的sql有一个错误,修改重新刷包后接口恢复正常。
### 问题
什么情况下会出发 edge报如上错误?是rpc的异常导致的么?
----------------------------------------------------------------
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
With regards,
Apache Git Services