log 服务打印:签名认证失败,请求接口:/log/saveErrorLog,请求IP:192.168.0.106,请求参数:{}

Blade 未结 1 551
xierui118
xierui118 2024-04-07 14:34

一、该问题的重现步骤是什么?

1. 在desk服务下,报错会持续打印错误信息,且log服务打印:签名认证失败,请求接口:/log/saveErrorLog,请求IP:192.168.0.106,请求参数:{}

2. 在desk 服务下,我debug调试,返回值均正常的情况下也会报错,并且log服务也会打印签名认证失败

3.


二、你期待的结果是什么?实际看到的又是什么?


三、你正在使用的是什么产品,什么版本?在什么操作系统上?


四、请提供详细的错误堆栈信息,这很重要。


2024-04-07 14:31:38.557 ERROR 16788 --- [sync-scheduler4] o.s.c.b.c.BladeExecutorConfiguration     : Unexpected exception occurred invoking async method: public void org.springblade.core.log.event.ErrorLogListener.saveErrorLog(org.springblade.core.log.event.ErrorLogEvent)


feign.FeignException$Unauthorized: [401 Unauthorized] during [POST] to [http://blade-log/log/saveErrorLog] [ILogClient#saveErrorLog(LogError)]: []

at feign.FeignException.clientErrorStatus(FeignException.java:224)

at feign.FeignException.errorStatus(FeignException.java:203)

at feign.FeignException.errorStatus(FeignException.java:194)

at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:103)

at feign.InvocationContext.decodeError(InvocationContext.java:126)

at feign.InvocationContext.proceed(InvocationContext.java:72)

at feign.ResponseHandler.handleResponse(ResponseHandler.java:63)

at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:114)

at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:70)

at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:99)

at org.springframework.cloud.openfeign.FeignCachingInvocationHandlerFactory$1.proceed(FeignCachingInvocationHandlerFactory.java:66)

at org.springframework.cache.interceptor.CacheInterceptor.lambda$invoke$0(CacheInterceptor.java:64)

at org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation(CacheAspectSupport.java:416)

at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:401)

at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:74)

at org.springframework.cloud.openfeign.FeignCachingInvocationHandlerFactory.lambda$create$1(FeignCachingInvocationHandlerFactory.java:53)

at jdk.proxy2/jdk.proxy2.$Proxy191.saveErrorLog(Unknown Source)

at org.springblade.core.log.event.ErrorLogListener.saveErrorLog(ErrorLogListener.java:63)

at jdk.internal.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:351)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)

at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)

at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89)

at org.springblade.core.log.aspect.LogTraceAspect.around(LogTraceAspect.java:50)

at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:637)

at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:627)

at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:71)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:173)

at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)

at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)

at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)

at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:113)

at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)

at org.springblade.core.context.BladeRunnableWrapper.run(BladeRunnableWrapper.java:63)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

at java.base/java.lang.Thread.run(Thread.java:840)

五、若有更多详细信息,请在下面提供。

1条回答
提交回复