Skip to content

服务间调用报:invoke failed, operation *, trace id * org.apache.servicecomb.swagger.invocation.exception.InvocationException: InvocationException: code=490;msg=CommonExceptionData [message=Unexpected consumer error, please check logs for details] #4724

@fengfeng1991

Description

@fengfeng1991

Steps to Reproduce

服务A调用服务B,在某个时刻开始(应该是服务A和B在这个时刻有重启),A的某一个节点(其他节点正常调用)调用B服务,1秒后全部报:
invoke failed, operation *, trace id *
org.apache.servicecomb.swagger.invocation.exception.InvocationException: InvocationException: code=490;msg=CommonExceptionData [message=Unexpected consumer error, please check logs for details]
at org.apache.servicecomb.swagger.invocation.exception.ExceptionFactory.doCreate(ExceptionFactory.java:83)
at org.apache.servicecomb.swagger.invocation.exception.ExceptionFactory.convertException(ExceptionFactory.java:126)
at org.apache.servicecomb.swagger.invocation.exception.ExceptionFactory.convertConsumerException(ExceptionFactory.java:87)
at org.apache.servicecomb.swagger.invocation.Response.createConsumerFail(Response.java:173)
at org.apache.servicecomb.swagger.invocation.Response.createFail(Response.java:166)
at org.apache.servicecomb.swagger.invocation.Response.failResp(Response.java:214)
at org.apache.servicecomb.bizkeeper.FallbackPolicyManager.getFallbackResponse(FallbackPolicyManager.java:44)
at org.apache.servicecomb.bizkeeper.BizkeeperCommand.lambda$resumeWithFallback$0(BizkeeperCommand.java:67)
at com.netflix.hystrix.AbstractCommand$HystrixObservableTimeoutOperator$1.run(AbstractCommand.java:1142) [24 skipped]
at com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable$1.call(HystrixContextRunnable.java:41)
at com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable$1.call(HystrixContextRunnable.java:37)
at com.netflix.hystrix.strategy.concurrency.HystrixContextRunnable.run(HystrixContextRunnable.java:57)
at com.netflix.hystrix.AbstractCommand$HystrixObservableTimeoutOperator$2.tick(AbstractCommand.java:1159)
at com.netflix.hystrix.util.HystrixTimer$1.run(HystrixTimer.java:99)
at java.lang.Thread.run(Thread.java:750) [6 skipped]

但是查看accesslog日志,服务B实际是收到了请求,30秒后返回了

整个报错持续了10天,发现后重启A服务后恢复了

Expected Behavior

No response

Servicecomb Version

2.8.17

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions