sentilo-catalog-web invalid credential

34 views
Skip to first unread message

rog...@yahoo.es

unread,
May 28, 2021, 4:38:54 AM5/28/21
to Sentilo

Hi,
I've been receiving this error in sentilo-catalog-XXXX.log every minute, aprox:

"2021-05-28 10:30:38,744 CEST [dmzl089.sbd.ct - catalog] [catalogScheduler-3] ERROR org.sentilo.common.rest.impl.RESTClientImpl - Error executing http call: GET http://127.0.0.1:8081/admin/performance HTTP/1.1 org.sentilo.common.exception.RESTClientException: {"code":401,"message":"Invalid credential xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
        at org.sentilo.common.rest.impl.RESTClientImpl.validateResponse(RESTClientImpl.java:257) [sentilo-common-1.9.0.jar:na]
        at org.sentilo.common.rest.impl.RESTClientImpl.executeHttpCall(RESTClientImpl.java:270) [sentilo-common-1.9.0.jar:na]
        at org.sentilo.common.rest.impl.RESTClientImpl.executeHttpCall(RESTClientImpl.java:262) [sentilo-common-1.9.0.jar:na]
        at org.sentilo.common.rest.impl.RESTClientImpl.get(RESTClientImpl.java:129) [sentilo-common-1.9.0.jar:na]
        at org.sentilo.web.catalog.service.impl.PlatformServiceImpl.getPlatformPerformance(PlatformServiceImpl.java:91) [classes/:na]
        at org.sentilo.web.catalog.service.impl.PlatformServiceImpl$$FastClassBySpringCGLIB$$9dcde420.invoke(<generated>) [classes/:na]
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.sentilo.web.catalog.service.impl.PlatformServiceImpl$$EnhancerBySpringCGLIB$$def72fcd.getPlatformPerformance(<generated>) [classes/:na]
        at org.sentilo.web.catalog.service.impl.PerformanceServiceImpl.getAndStorePlatformPerformance(PerformanceServiceImpl.java:108) [classes/:na]
        at org.sentilo.web.catalog.service.impl.PerformanceServiceImpl$$FastClassBySpringCGLIB$$67f45747.invoke(<generated>) [classes/:na]
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) [spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]
        at org.sentilo.web.catalog.service.impl.PerformanceServiceImpl$$EnhancerBySpringCGLIB$$9e8bae1f.getAndStorePlatformPerformance(<generated>) [classes/:na]"

And after that, a cascade of java exceptions.
But I've checked and that credential is identical as in Administration Web Console and in pre-build properties files (I remember I changed it from default for security reasons).

It could be related with an issue reported in "Adding sensors from console" conversation.

Any help will be appreciated,

Thanks in advance,
Roger

Sentilo IO

unread,
May 31, 2021, 4:40:55 AM5/31/21
to Sentilo
For this case the problem could be the starting order for the modules.  Be sure the Tomcat server is running before starting the API Server.

Regards,

Reply all
Reply to author
Forward
0 new messages