-
Notifications
You must be signed in to change notification settings - Fork 208
Description
Expected behavior
No parsing error.
Actual behavior
We observe some errors:
LoggerName = com.azure.monitor.opentelemetry.autoconfigure.implementation.quickpulse.QuickPulsePingSender
Message = Unsupported text Content-Type Type: class com.azure.monitor.opentelemetry.autoconfigure.implementation.quickpulse.swagger.models.ServiceError
Exception = java.lang.IllegalStateException:
at com.azure.core.util.serializer.JacksonAdapter.deserializeText (JacksonAdapter.java:452)
at com.azure.core.util.serializer.JacksonAdapter.lambda$deserialize$9 (JacksonAdapter.java:353)
at com.azure.core.util.serializer.JacksonAdapter.useAccessHelper (JacksonAdapter.java:488)
at com.azure.core.util.serializer.JacksonAdapter.deserialize (JacksonAdapter.java:346)
at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.deserialize (HttpResponseBodyDecoder.java:176)
at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.deserializeBody (HttpResponseBodyDecoder.java:150)
at com.azure.core.implementation.serializer.HttpResponseBodyDecoder.decodeByteArray (HttpResponseBodyDecoder.java:67)
at com.azure.core.implementation.serializer.HttpResponseDecoder$HttpDecodedResponse.getDecodedBody (HttpResponseDecoder.java:93)
at com.azure.core.implementation.http.rest.AsyncRestProxy.lambda$ensureExpectedStatus$1 (AsyncRestProxy.java:136)
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext (FluxMapFuseable.java:113)
at reactor.core.publisher.Operators$ScalarSubscription.request (Operators.java:2400)
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.request (FluxMapFuseable.java:171)
at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set (Operators.java:2196)
at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onSubscribe (Operators.java:2070)
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onSubscribe (FluxMapFuseable.java:96)
at reactor.core.publisher.MonoJust.subscribe (MonoJust.java:55)
at reactor.core.publisher.InternalMonoOperator.subscribe (InternalMonoOperator.java:64)
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext (MonoFlatMap.java:157)
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext (FluxMapFuseable.java:129)
at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext (FluxHide.java:137)
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext (FluxMapFuseable.java:129)
at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext (FluxHide.java:137)
at reactor.core.publisher.FluxMap$MapSubscriber.onNext (FluxMap.java:122)
at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext (FluxOnErrorResume.java:79)
at reactor.core.publisher.Operators$MonoSubscriber.complete (Operators.java:1839)
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext (MonoFlatMap.java:151)
at reactor.core.publisher.Operators$MonoInnerProducerBase.complete (Operators.java:2666)
at reactor.core.publisher.MonoSingle$SingleSubscriber.onComplete (MonoSingle.java:180)
at reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onComplete (MonoFlatMapMany.java:260)
at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onComplete (FluxContextWrite.java:126)
at reactor.core.publisher.MonoUsing$MonoUsingSubscriber.onNext (MonoUsing.java:232)
at reactor.core.publisher.FluxMap$MapSubscriber.onNext (FluxMap.java:122)
at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onNext (FluxSwitchIfEmpty.java:74)
at reactor.core.publisher.FluxHandle$HandleSubscriber.onNext (FluxHandle.java:126)
at reactor.core.publisher.FluxMap$MapConditionalSubscriber.onNext (FluxMap.java:224)
at reactor.core.publisher.FluxDoFinally$DoFinallySubscriber.onNext (FluxDoFinally.java:113)
at reactor.core.publisher.FluxHandleFuseable$HandleFuseableSubscriber.onNext (FluxHandleFuseable.java:191)
at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext (FluxContextWrite.java:107)
at reactor.core.publisher.Operators$MonoSubscriber.complete (Operators.java:1839)
at reactor.core.publisher.MonoCollectList$MonoCollectListSubscriber.onComplete (MonoCollectList.java:129)
at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete (FluxPeek.java:260)
at reactor.core.publisher.FluxMap$MapSubscriber.onComplete (FluxMap.java:144)
at reactor.netty.channel.FluxReceive.onInboundComplete (FluxReceive.java:415)
at reactor.netty.channel.ChannelOperations.onInboundComplete (ChannelOperations.java:439)
at reactor.netty.channel.ChannelOperations.terminate (ChannelOperations.java:493)
at reactor.netty.http.client.HttpClientOperations.onInboundNext (HttpClientOperations.java:796)
at reactor.netty.channel.ChannelOperationsHandler.channelRead (ChannelOperationsHandler.java:115)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead (AbstractChannelHandlerContext.java:412)
at com.azure.core.http.netty.implementation.AzureSdkHandler.channelRead (AzureSdkHandler.java:224)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead (AbstractChannelHandlerContext.java:412)
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead (CombinedChannelDuplexHandler.java:436)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead (ByteToMessageDecoder.java:346)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead (ByteToMessageDecoder.java:318)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead (CombinedChannelDuplexHandler.java:251)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead (AbstractChannelHandlerContext.java:412)
at io.netty.handler.ssl.SslHandler.unwrap (SslHandler.java:1473)
at io.netty.handler.ssl.SslHandler.decodeJdkCompatible (SslHandler.java:1336)
at io.netty.handler.ssl.SslHandler.decode (SslHandler.java:1385)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection (ByteToMessageDecoder.java:530)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode (ByteToMessageDecoder.java:469)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead (ByteToMessageDecoder.java:290)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead (AbstractChannelHandlerContext.java:412)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead (DefaultChannelPipeline.java:1407)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:440)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead (AbstractChannelHandlerContext.java:420)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead (DefaultChannelPipeline.java:918)
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady (AbstractEpollStreamChannel.java:799)
at io.netty.channel.epoll.EpollEventLoop.processReady (EpollEventLoop.java:501)
at io.netty.channel.epoll.EpollEventLoop.run (EpollEventLoop.java:399)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run (SingleThreadEventExecutor.java:994)
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:1583)
After debugging, it occurs when Azure server returns an error HTTP 503.
To Reproduce
It occurs regulary on https://westeurope.livediagnostics.monitor.azure.com
No issue on https://centralus.livediagnostics.monitor.azure.com
System information
Please provide the following information:
- SDK Version: Java agent 3.7.1
- OS type and version:
- Application Server type and version (if applicable): Wildfly 33
- Using spring-boot? No
- Additional relevant libraries (with version, if applicable):