новое событие
Информационный поток
Задания вакансии материалы разработки сообщения форума
Алексей Сергеевич
Приватное сообщение

Устранение ошибки обмена 1с с честным знаком (СУЗ)

11.09.1982(42 года)
23 |  0
15 августа 2022 в 14:41:20 (2 года 11 недель 6 дней 13 часов назад)
62000
Текст задания
Необходима помощь с настройкой интеграции 1С с СУЗ Честного знака. С 1 июня используются динамические токены. Крипто про стоит, 1с обновлена до последнего релиза 1С:ERP Управление предприятием 2 (2.4.13.209).

При попытке подключения к СУЗ вываливается ошибка:
При выполнении запроса api/v3/true-api/auth/simpleSignIn/f22e20c2-f4aa-4f63-acf9-6537a01de8b7 возникла ошибка.
Код состояния HTTP: 500.
Текст ошибки: {
"code": 500,
"description": "java.lang.IllegalStateExceptionnu0009at ru.crpt.trueapi.util.FeignUtils.response(FeignUtils.java:85)nu0009at ru.crpt.trueapi.util.FeignUtils.response(FeignUtils.java:53)nu0009at ru.crpt.trueapi.controller.AuthController.signInOms(AuthController.java:131)nu0009at ru.crpt.trueapi.controller.AuthController$$FastClassBySpringCGLIB$$e023004.invoke(<generated>)nu0009at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)nu0009at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769)nu0009at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)nu0009at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)nu0009at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56)nu0009at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)nu0009at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)nu0009at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56)nu0009at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)nu0009at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)nu0009at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:55)nu0009at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)nu0009at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)nu0009at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)nu0009at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)nu0009at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)nu0009at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)nu0009at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)nu0009at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)nu0009at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)nu0009at ru.crpt.trueapi.controller.AuthController$$EnhancerBySpringCGLIB$$90f920ec.signInOms(<generated>)nu0009at jdk.internal.reflect.GeneratedMethodAccessor780.invoke(Unknown Source)nu0009at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)nu0009at java.base/java.lang.reflect.Method.invoke(Unknown Source)nu0009at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)nu0009at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)nu0009at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)nu0009at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:888)nu0009at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)nu0009at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)nu0009at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)nu0009at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)nu0009at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)nu0009at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)nu0009at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)nu0009at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)nu0009at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at ru.crpt.trueapi.routeviewing.RouteDebugFilter.doFilterInternal(RouteDebugFilter.java:50)nu0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:209)nu0009at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)nu0009at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)nu0009at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)nu0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter.doFilter(OAuth2ClientContextFilter.java:60)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)nu0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:108)nu0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at ru.crpt.trueapi.security.JwtTokenManualValidatorFilter.doFilter(JwtTokenManualValidatorFilter.java:32)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)nu0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at io.opentracing.contrib.web.servlet.filter.TracingFilter.doFilter(TracingFilter.java:189)nu0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)nu0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)nu0009at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)nu0009at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)nu0009at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:526)nu0009at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)nu0009at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)nu0009at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)nu0009at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747)nu0009at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)nu0009at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)nu0009at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)nu0009at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)nu0009at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1579)nu0009at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)nu0009at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)nu0009at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)nu0009at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)nu0009at java.base/java.lang.Thread.run(Unknown Source)nCaused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "code" (class ru.crpt.trueapi.dto.auth.AuthToken), not marked as ignorable (one known property: "token"])n at [Source: (InputStreamReader); line: 1, column: 10] (through reference chain: ru.crpt.trueapi.dto.auth.AuthToken["code"])nu0009at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)nu0009at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:840)nu0009at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1179)nu0009at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1592)nu0009at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1570)nu0009at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294)nu0009at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)nu0009at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4202)nu0009at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3218)nu0009at ru.crpt.trueapi.util.FeignUtils.response(FeignUtils.java:73)nu0009... 97 moren"
}.
0
Отклики (2)