Bluselye commented on issue #1611: ServiceComb有access.log访问自身的日志,那有没有调用其他服务的outcall.log?如果有该怎么配置? URL: https://github.com/apache/servicecomb-java-chassis/issues/1611#issuecomment-595551432 使用Handler方式我试过了,请求异常时也会直接抛到业务层面,进不了handler. 一个异常日志如下: [15:08:34.101][E][ool-16-thread-2][a.r.s.i.UserDownloadResultImpl.193] -Request AppGalleryUserCenterService error:InvocationException: code=490;msg=CommonExceptionData [message=Cse Internal Bad Request] org.apache.servicecomb.swagger.invocation.exception.InvocationException: InvocationException: code=490;msg=CommonExceptionData [message=Cse Internal Bad Request] at org.apache.servicecomb.swagger.invocation.exception.ExceptionFactory.doCreate(ExceptionFactory.java:79) at org.apache.servicecomb.swagger.invocation.exception.ExceptionFactory.convertException(ExceptionFactory.java:124) at org.apache.servicecomb.swagger.invocation.exception.ExceptionFactory.convertConsumerException(ExceptionFactory.java:83) at org.apache.servicecomb.swagger.invocation.Response.createConsumerFail(Response.java:129) at org.apache.servicecomb.swagger.invocation.Response.createFail(Response.java:122) at org.apache.servicecomb.swagger.invocation.Response.failResp(Response.java:165) at org.apache.servicecomb.bizkeeper.FallbackPolicyManager.getFallbackResponse(FallbackPolicyManager.java:44) at org.apache.servicecomb.bizkeeper.BizkeeperCommand.lambda$resumeWithFallback$0(BizkeeperCommand.java:65) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:8666) at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$4.onError(OperatorOnErrorResumeNextViaFunction.java:142) at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:72) at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:72) at rx.observers.Subscribers$5.onError(Subscribers.java:230) ODS_HISPACE_OUTERCALL_LOG_DM at com.netflix.hystrix.AbstractCommand$DeprecatedOnRunHookApplication$1.onError(AbstractCommand.java:1431) at com.netflix.hystrix.AbstractCommand$ExecutionHookApplication$1.onError(AbstractCommand.java:1362) at org.apache.servicecomb.bizkeeper.BizkeeperCommand.lambda$null$1(BizkeeperCommand.java:84) at org.apache.servicecomb.swagger.invocation.AsyncResponse.fail(AsyncResponse.java:42) at org.apache.servicecomb.transport.rest.client.http.RestClientInvocation.fail(RestClientInvocation.java:278) at org.apache.servicecomb.transport.rest.client.http.RestClientInvocation.lambda$invoke$0(RestClientInvocation.java:112) at io.vertx.core.http.impl.HttpClientRequestBase.handleException(HttpClientRequestBase.java:139) at io.vertx.core.http.impl.HttpClientRequestBase.timeout(HttpClientRequestBase.java:211) at io.vertx.core.http.impl.HttpClientRequestBase.handleTimeout(HttpClientRequestBase.java:194) at io.vertx.core.http.impl.HttpClientRequestBase.lambda$setTimeout$0(HttpClientRequestBase.java:124) at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:906) at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:865) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:320) at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.servicecomb.core.exception.CseException: This is a fallback call from circuit breaker. You can add fallback logic by catching this exception. info: operation=AppGalleryUserCenterService:AppGalleryUserService.AppGalleryUserOrderInfoAPI.userOrder. at org.apache.servicecomb.bizkeeper.BizkeeperExceptionUtils.createBizkeeperException(BizkeeperExceptionUtils.java:34) at org.apache.servicecomb.bizkeeper.FallbackPolicyManager.getFallbackResponse(FallbackPolicyManager.java:46) ... 43 common frames omitted Caused by: org.apache.servicecomb.swagger.invocation.exception.InvocationException: InvocationException: code=490;msg=CommonExceptionData [message=Cse Internal Bad Request] at org.apache.servicecomb.swagger.invocation.exception.ExceptionFactory.doCreate(ExceptionFactory.java:79) at org.apache.servicecomb.swagger.invocation.exception.ExceptionFactory.convertException(ExceptionFactory.java:124) at org.apache.servicecomb.swagger.invocation.exception.ExceptionFactory.convertConsumerException(ExceptionFactory.java:83) at org.apache.servicecomb.swagger.invocation.Response.createConsumerFail(Response.java:129) at org.apache.servicecomb.swagger.invocation.Response.createFail(Response.java:122) ... 18 common frames omitted Caused by: io.vertx.core.http.impl.HttpClientRequestBase$1: The timeout period of 50ms has been exceeded while executing POST /uc/rest/user-info-service/v1/user-order-info/order for host 10.24.0.244
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
