-
Bug
-
Resolution: Done
-
Blocker
-
None
-
Camel-K-GA
-
None
-
False
-
False
-
%
-
Todo
-
integration log for market-source:
2021-09-02 10:54:55,978 WARN [si.maz.res.ResponseReader] (main) Noncritical error parsing error output: This endpoint has been deprecated, please integrate with ?GET@/sapi/v1/asset/assetDetail?. See details in the announcement: https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946be...: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'This': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (String)"This endpoint has been deprecated, please integrate with ?GET@/sapi/v1/asset/assetDetail?. See details in the announcement: https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269"; line: 1, column: 5] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1851) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:717) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2898) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1944) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:776) at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4664) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4513) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3468) at si.mazi.rescu.serialization.jackson.JacksonResponseReader.read(JacksonResponseReader.java:53) at si.mazi.rescu.serialization.jackson.JacksonResponseReader.readException(JacksonResponseReader.java:58) at si.mazi.rescu.ResponseReader.read(ResponseReader.java:82) at si.mazi.rescu.RestInvocationHandler.mapInvocationResult(RestInvocationHandler.java:169) at si.mazi.rescu.RestInvocationHandler.receiveAndMap(RestInvocationHandler.java:157) at si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:113) at com.sun.proxy.$Proxy19.assetDetail(Unknown Source) at org.knowm.xchange.binance.service.BinanceAccountServiceRaw.lambda$requestAssetDetail$4(BinanceAccountServiceRaw.java:115) at org.knowm.xchange.client.ResilienceUtils$DecorateCallableApi.call(ResilienceUtils.java:86) at org.knowm.xchange.binance.service.BinanceAccountServiceRaw.requestAssetDetail(BinanceAccountServiceRaw.java:119) at org.knowm.xchange.binance.service.BinanceAccountService.getAssetDetails(BinanceAccountService.java:177) at org.knowm.xchange.binance.BinanceExchange.remoteInit(BinanceExchange.java:119) at org.knowm.xchange.BaseExchange.applySpecification(BaseExchange.java:113) at org.knowm.xchange.binance.BinanceExchange.applySpecification(BinanceExchange.java:85) at org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:110) at org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:53) at org.apache.camel.component.xchange.XChangeComponent.createXChange(XChangeComponent.java:64) at org.apache.camel.component.xchange.XChangeComponent.createEndpoint(XChangeComponent.java:45) at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171) at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:928) at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:844) at org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123) at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:43) at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:36) at org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:838) at org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:579) at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:236) at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:74) at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:826) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:716) at org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2756) at org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:157) at org.apache.camel.support.service.BaseService.init(BaseService.java:83) at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2475) at org.apache.camel.support.service.BaseService.start(BaseService.java:111) at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2494) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:245) at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:139) at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49) at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:785) at io.quarkus.runtime.Application.start(Application.java:90) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:97) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:48) at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:25) 2021-09-02 10:54:56,032 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>> To[xchange:binance?service=marketdata&method=ticker¤cyPair=BTC/USDT] <<< in route: Route(route1)[From[timer:update?period=10000] -> [To[xchange... because of Failed to resolve endpoint: xchange://binance?currencyPair=BTC%2FUSDT&method=ticker&service=marketdata due to: Failed to initialize: HTTP status code was not OK: 503 at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:240) at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:74) at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:826) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:716) at org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2756) at org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:157) at org.apache.camel.support.service.BaseService.init(BaseService.java:83) at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2475) at org.apache.camel.support.service.BaseService.start(BaseService.java:111) at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2494) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:245) at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:139) at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49) at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:785) at io.quarkus.runtime.Application.start(Application.java:90) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:97) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:48) at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:25) Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: xchange://binance?currencyPair=BTC%2FUSDT&method=ticker&service=marketdata due to: Failed to initialize: HTTP status code was not OK: 503 at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:962) at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:844) at org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123) at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:43) at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:36) at org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:838) at org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:579) at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:236) ... 31 more Caused by: org.knowm.xchange.exceptions.ExchangeException: Failed to initialize: HTTP status code was not OK: 503 at org.knowm.xchange.binance.BinanceExchange.remoteInit(BinanceExchange.java:189) at org.knowm.xchange.BaseExchange.applySpecification(BaseExchange.java:113) at org.knowm.xchange.binance.BinanceExchange.applySpecification(BinanceExchange.java:85) at org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:110) at org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:53) at org.apache.camel.component.xchange.XChangeComponent.createXChange(XChangeComponent.java:64) at org.apache.camel.component.xchange.XChangeComponent.createEndpoint(XChangeComponent.java:45) at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171) at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:928) ... 38 more Caused by: si.mazi.rescu.HttpStatusIOException: HTTP status code was not OK: 503 at si.mazi.rescu.ResponseReader.read(ResponseReader.java:104) at si.mazi.rescu.RestInvocationHandler.mapInvocationResult(RestInvocationHandler.java:169) at si.mazi.rescu.RestInvocationHandler.receiveAndMap(RestInvocationHandler.java:157) at si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:113) at com.sun.proxy.$Proxy19.assetDetail(Unknown Source) at org.knowm.xchange.binance.service.BinanceAccountServiceRaw.lambda$requestAssetDetail$4(BinanceAccountServiceRaw.java:115) at org.knowm.xchange.client.ResilienceUtils$DecorateCallableApi.call(ResilienceUtils.java:86) at org.knowm.xchange.binance.service.BinanceAccountServiceRaw.requestAssetDetail(BinanceAccountServiceRaw.java:119) at org.knowm.xchange.binance.service.BinanceAccountService.getAssetDetails(BinanceAccountService.java:177) at org.knowm.xchange.binance.BinanceExchange.remoteInit(BinanceExchange.java:119) ... 46 more 2021-09-02 10:54:56,188 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): si.mazi.rescu.HttpStatusIOException: HTTP status code was not OK: 503 at si.mazi.rescu.ResponseReader.read(ResponseReader.java:104) at si.mazi.rescu.RestInvocationHandler.mapInvocationResult(RestInvocationHandler.java:169) at si.mazi.rescu.RestInvocationHandler.receiveAndMap(RestInvocationHandler.java:157) at si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:113) at com.sun.proxy.$Proxy19.assetDetail(Unknown Source) at org.knowm.xchange.binance.service.BinanceAccountServiceRaw.lambda$requestAssetDetail$4(BinanceAccountServiceRaw.java:115) at org.knowm.xchange.client.ResilienceUtils$DecorateCallableApi.call(ResilienceUtils.java:86) at org.knowm.xchange.binance.service.BinanceAccountServiceRaw.requestAssetDetail(BinanceAccountServiceRaw.java:119) at org.knowm.xchange.binance.service.BinanceAccountService.getAssetDetails(BinanceAccountService.java:177) at org.knowm.xchange.binance.BinanceExchange.remoteInit(BinanceExchange.java:119) at org.knowm.xchange.BaseExchange.applySpecification(BaseExchange.java:113) at org.knowm.xchange.binance.BinanceExchange.applySpecification(BinanceExchange.java:85) at org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:110) at org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:53) at org.apache.camel.component.xchange.XChangeComponent.createXChange(XChangeComponent.java:64) at org.apache.camel.component.xchange.XChangeComponent.createEndpoint(XChangeComponent.java:45) at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171) at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:928) at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:844) at org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123) at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:43) at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:36) at org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:838) at org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:579) at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:236) at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:74) at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:826) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:716) at org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2756) at org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:157) at org.apache.camel.support.service.BaseService.init(BaseService.java:83) at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2475) at org.apache.camel.support.service.BaseService.start(BaseService.java:111) at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2494) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:245) at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:139) at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49) at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:785) at io.quarkus.runtime.Application.start(Application.java:90) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:97) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:48) at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:25)