influxdata / influxdb-java

Java client for InfluxDB
MIT License
1.19k stars 478 forks source link

Issue when InfluxDB 1.8.2 behind traefik reverse proxy (http/2) #700

Open nsteinmetz opened 4 years ago

nsteinmetz commented 4 years ago

Hello,

I have a traefik 2.2 reverse proxy on top of my InfluxDB 1.8.2 instance.

I played with warp10-ext-influxdb, which relies on influxdb-java and I noticed that :

You may not fix it as 2.0 is soon GA but at least, it may save some time for people having a similar issue.

Nicolas

majst01 commented 4 years ago

The client talking to the http endpoint in influxdb is https://github.com/square/okhttp, please check which exact version of influxdb-java are you using and which okhttp version is in place

nsteinmetz commented 4 years ago

It was tested with influxdb-java 2.19 and so okhttp 4.6.0 if I'm correct.

Same behaviour with influxdb-java 2.20 & okhttp 4.8.1

majst01 commented 4 years ago

Any logs, error messages ? from both sides

nsteinmetz commented 4 years ago

Stacktrace on client side (embedeed in warp 10 extension):

[
    [{
        "stacktrace": [
            ["MemoryWarpScriptStack.java", 999, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class io.warp10.script.WarpScriptException",
        "message": "Exception at 'INFLUXDB.FETCH' in section '[TOP]'"
    }, {
        "stacktrace": [
            ["InfluxDBImpl.java", 836, "org.influxdb.impl.InfluxDBImpl", "execute"],
            ["InfluxDBImpl.java", 819, "org.influxdb.impl.InfluxDBImpl", "executeQuery"],
            ["InfluxDBImpl.java", 719, "org.influxdb.impl.InfluxDBImpl", "query"],
            ["INFLUXDBFETCH.java", 112, "io.warp10.script.ext.influxdb.INFLUXDBFETCH", "apply"],
            ["MemoryWarpScriptStack.java", 976, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class org.influxdb.InfluxDBIOException",
        "message": "java.io.IOException: Expected a SETTINGS frame but was 7"
    }, {
        "stacktrace": [
            ["Http2Reader.kt", 110, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Reader", "nextFrame"],
            ["Http2Reader.kt", 72, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Reader", "readConnectionPreface"],
            ["Http2Connection.kt", 617, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Connection$ReaderRunnable", "invoke"],
            ["Http2Connection.kt", 609, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Connection$ReaderRunnable", "invoke"],
            ["TaskQueue.kt", 98, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.concurrent.TaskQueue$execute$1", "runOnce"],
            ["TaskRunner.kt", 116, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.concurrent.TaskRunner", "runTask"],
            ["TaskRunner.kt", 42, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.concurrent.TaskRunner", "access$runTask"],
            ["TaskRunner.kt", 65, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.concurrent.TaskRunner$runnable$1", "run"],
            ["ThreadPoolExecutor.java", 1149, "java.util.concurrent.ThreadPoolExecutor", "runWorker"],
            ["ThreadPoolExecutor.java", 624, "java.util.concurrent.ThreadPoolExecutor$Worker", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class java.io.IOException",
        "message": "Expected a SETTINGS frame but was 7"
    }]
]
[
    [{
        "stacktrace": [
            ["MemoryWarpScriptStack.java", 999, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["Invocable.java", 122, "org.eclipse.jetty.util.thread.Invocable", "invokePreferred"],
            ["ExecutingExecutionStrategy.java", 58, "org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy", "invoke"],
            ["ExecuteProduceConsume.java", 201, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "produceConsume"],
            ["ExecuteProduceConsume.java", 133, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class io.warp10.script.WarpScriptException",
        "message": "Exception at 'INFLUXDB.FETCH' in section '[TOP]'"
    }, {
        "stacktrace": [
            ["InfluxDBImpl.java", 836, "org.influxdb.impl.InfluxDBImpl", "execute"],
            ["InfluxDBImpl.java", 819, "org.influxdb.impl.InfluxDBImpl", "executeQuery"],
            ["InfluxDBImpl.java", 719, "org.influxdb.impl.InfluxDBImpl", "query"],
            ["INFLUXDBFETCH.java", 112, "io.warp10.script.ext.influxdb.INFLUXDBFETCH", "apply"],
            ["MemoryWarpScriptStack.java", 976, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["Invocable.java", 122, "org.eclipse.jetty.util.thread.Invocable", "invokePreferred"],
            ["ExecutingExecutionStrategy.java", 58, "org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy", "invoke"],
            ["ExecuteProduceConsume.java", 201, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "produceConsume"],
            ["ExecuteProduceConsume.java", 133, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class org.influxdb.InfluxDBIOException",
        "message": "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.ConnectionShutdownException"
    }, {
        "stacktrace": [
            ["Http2Connection.kt", 246, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Connection", "newStream"],
            ["Http2Connection.kt", 225, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Connection", "newStream"],
            ["Http2ExchangeCodec.kt", 76, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2ExchangeCodec", "writeRequestHeaders"],
            ["Exchange.kt", 59, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.connection.Exchange", "writeRequestHeaders"],
            ["CallServerInterceptor.kt", 36, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.CallServerInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 100, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["ConnectInterceptor.kt", 34, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.connection.ConnectInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 100, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["CacheInterceptor.kt", 82, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.cache.CacheInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 100, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["BridgeInterceptor.kt", 83, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.BridgeInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 100, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["RetryAndFollowUpInterceptor.kt", 76, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RetryAndFollowUpInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 100, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["BasicAuthInterceptor.java", 22, "org.influxdb.impl.BasicAuthInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 100, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["GzipRequestInterceptor.java", 42, "org.influxdb.impl.GzipRequestInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 100, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["HttpLoggingInterceptor.kt", 152, "io.warp10.script.ext.influxdb.shadow.okhttp3.logging.HttpLoggingInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 100, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["RealCall.kt", 197, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.connection.RealCall", "getResponseWithInterceptorChain$okhttp"],
            ["RealCall.kt", 148, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.connection.RealCall", "execute"],
            ["OkHttpCall.java", 190, "io.warp10.script.ext.influxdb.shadow.retrofit2.OkHttpCall", "execute"],
            ["InfluxDBImpl.java", 824, "org.influxdb.impl.InfluxDBImpl", "execute"],
            ["InfluxDBImpl.java", 819, "org.influxdb.impl.InfluxDBImpl", "executeQuery"],
            ["InfluxDBImpl.java", 719, "org.influxdb.impl.InfluxDBImpl", "query"],
            ["INFLUXDBFETCH.java", 112, "io.warp10.script.ext.influxdb.INFLUXDBFETCH", "apply"],
            ["MemoryWarpScriptStack.java", 976, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["Invocable.java", 122, "org.eclipse.jetty.util.thread.Invocable", "invokePreferred"],
            ["ExecutingExecutionStrategy.java", 58, "org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy", "invoke"],
            ["ExecuteProduceConsume.java", 201, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "produceConsume"],
            ["ExecuteProduceConsume.java", 133, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.ConnectionShutdownException",
        "message": null
    }]
]

with newest version of influxdb-java:

[
    [{
        "stacktrace": [
            ["MemoryWarpScriptStack.java", 999, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["Invocable.java", 122, "org.eclipse.jetty.util.thread.Invocable", "invokePreferred"],
            ["ExecutingExecutionStrategy.java", 58, "org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy", "invoke"],
            ["ExecuteProduceConsume.java", 201, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "produceConsume"],
            ["ExecuteProduceConsume.java", 133, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class io.warp10.script.WarpScriptException",
        "message": "Exception at 'INFLUXDB.FETCH' in section '[TOP]'"
    }, {
        "stacktrace": [
            ["InfluxDBImpl.java", 841, "org.influxdb.impl.InfluxDBImpl", "execute"],
            ["InfluxDBImpl.java", 824, "org.influxdb.impl.InfluxDBImpl", "executeQuery"],
            ["InfluxDBImpl.java", 724, "org.influxdb.impl.InfluxDBImpl", "query"],
            ["INFLUXDBFETCH.java", 112, "io.warp10.script.ext.influxdb.INFLUXDBFETCH", "apply"],
            ["MemoryWarpScriptStack.java", 976, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["Invocable.java", 122, "org.eclipse.jetty.util.thread.Invocable", "invokePreferred"],
            ["ExecutingExecutionStrategy.java", 58, "org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy", "invoke"],
            ["ExecuteProduceConsume.java", 201, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "produceConsume"],
            ["ExecuteProduceConsume.java", 133, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class org.influxdb.InfluxDBIOException",
        "message": "java.io.IOException: Expected a SETTINGS frame but was GOAWAY"
    }, {
        "stacktrace": [
            ["Http2Reader.kt", 115, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Reader", "nextFrame"],
            ["Http2Reader.kt", 73, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Reader", "readConnectionPreface"],
            ["Http2Connection.kt", 617, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Connection$ReaderRunnable", "invoke"],
            ["Http2Connection.kt", 609, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Connection$ReaderRunnable", "invoke"],
            ["TaskQueue.kt", 98, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.concurrent.TaskQueue$execute$1", "runOnce"],
            ["TaskRunner.kt", 116, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.concurrent.TaskRunner", "runTask"],
            ["TaskRunner.kt", 42, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.concurrent.TaskRunner", "access$runTask"],
            ["TaskRunner.kt", 65, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.concurrent.TaskRunner$runnable$1", "run"],
            ["ThreadPoolExecutor.java", 1149, "java.util.concurrent.ThreadPoolExecutor", "runWorker"],
            ["ThreadPoolExecutor.java", 624, "java.util.concurrent.ThreadPoolExecutor$Worker", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class java.io.IOException",
        "message": "Expected a SETTINGS frame but was GOAWAY"
    }]
]
[
    [{
        "stacktrace": [
            ["MemoryWarpScriptStack.java", 999, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["Invocable.java", 122, "org.eclipse.jetty.util.thread.Invocable", "invokePreferred"],
            ["ExecutingExecutionStrategy.java", 58, "org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy", "invoke"],
            ["ExecuteProduceConsume.java", 201, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "produceConsume"],
            ["ExecuteProduceConsume.java", 133, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class io.warp10.script.WarpScriptException",
        "message": "Exception at 'INFLUXDB.FETCH' in section '[TOP]'"
    }, {
        "stacktrace": [
            ["InfluxDBImpl.java", 841, "org.influxdb.impl.InfluxDBImpl", "execute"],
            ["InfluxDBImpl.java", 824, "org.influxdb.impl.InfluxDBImpl", "executeQuery"],
            ["InfluxDBImpl.java", 724, "org.influxdb.impl.InfluxDBImpl", "query"],
            ["INFLUXDBFETCH.java", 112, "io.warp10.script.ext.influxdb.INFLUXDBFETCH", "apply"],
            ["MemoryWarpScriptStack.java", 976, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["Invocable.java", 122, "org.eclipse.jetty.util.thread.Invocable", "invokePreferred"],
            ["ExecutingExecutionStrategy.java", 58, "org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy", "invoke"],
            ["ExecuteProduceConsume.java", 201, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "produceConsume"],
            ["ExecuteProduceConsume.java", 133, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class org.influxdb.InfluxDBIOException",
        "message": "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.ConnectionShutdownException"
    }, {
        "stacktrace": [
            ["Http2Connection.kt", 246, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Connection", "newStream"],
            ["Http2Connection.kt", 225, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2Connection", "newStream"],
            ["Http2ExchangeCodec.kt", 76, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.Http2ExchangeCodec", "writeRequestHeaders"],
            ["Exchange.kt", 59, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.connection.Exchange", "writeRequestHeaders"],
            ["CallServerInterceptor.kt", 36, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.CallServerInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 109, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["ConnectInterceptor.kt", 34, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.connection.ConnectInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 109, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["CacheInterceptor.kt", 95, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.cache.CacheInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 109, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["BridgeInterceptor.kt", 83, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.BridgeInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 109, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["RetryAndFollowUpInterceptor.kt", 76, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RetryAndFollowUpInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 109, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["BasicAuthInterceptor.java", 22, "org.influxdb.impl.BasicAuthInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 109, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["GzipRequestInterceptor.java", 42, "org.influxdb.impl.GzipRequestInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 109, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["HttpLoggingInterceptor.kt", 152, "io.warp10.script.ext.influxdb.shadow.okhttp3.logging.HttpLoggingInterceptor", "intercept"],
            ["RealInterceptorChain.kt", 109, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http.RealInterceptorChain", "proceed"],
            ["RealCall.kt", 201, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.connection.RealCall", "getResponseWithInterceptorChain$okhttp"],
            ["RealCall.kt", 154, "io.warp10.script.ext.influxdb.shadow.okhttp3.internal.connection.RealCall", "execute"],
            ["OkHttpCall.java", 204, "io.warp10.script.ext.influxdb.shadow.retrofit2.OkHttpCall", "execute"],
            ["InfluxDBImpl.java", 829, "org.influxdb.impl.InfluxDBImpl", "execute"],
            ["InfluxDBImpl.java", 824, "org.influxdb.impl.InfluxDBImpl", "executeQuery"],
            ["InfluxDBImpl.java", 724, "org.influxdb.impl.InfluxDBImpl", "query"],
            ["INFLUXDBFETCH.java", 112, "io.warp10.script.ext.influxdb.INFLUXDBFETCH", "apply"],
            ["MemoryWarpScriptStack.java", 976, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["TRY.java", 58, "io.warp10.script.functions.TRY", "apply"],
            ["MemoryWarpScriptStack.java", 874, "io.warp10.script.MemoryWarpScriptStack", "exec"],
            ["EgressExecHandler.java", 294, "io.warp10.continuum.egress.EgressExecHandler", "handle"],
            ["GzipHandler.java", 561, "org.eclipse.jetty.server.handler.gzip.GzipHandler", "handle"],
            ["HandlerList.java", 52, "org.eclipse.jetty.server.handler.HandlerList", "handle"],
            ["HandlerWrapper.java", 132, "org.eclipse.jetty.server.handler.HandlerWrapper", "handle"],
            ["Server.java", 564, "org.eclipse.jetty.server.Server", "handle"],
            ["HttpChannel.java", 320, "org.eclipse.jetty.server.HttpChannel", "handle"],
            ["HttpConnection.java", 251, "org.eclipse.jetty.server.HttpConnection", "onFillable"],
            ["AbstractConnection.java", 279, "org.eclipse.jetty.io.AbstractConnection$ReadCallback", "succeeded"],
            ["FillInterest.java", 110, "org.eclipse.jetty.io.FillInterest", "fillable"],
            ["ChannelEndPoint.java", 124, "org.eclipse.jetty.io.ChannelEndPoint$2", "run"],
            ["Invocable.java", 122, "org.eclipse.jetty.util.thread.Invocable", "invokePreferred"],
            ["ExecutingExecutionStrategy.java", 58, "org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy", "invoke"],
            ["ExecuteProduceConsume.java", 201, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "produceConsume"],
            ["ExecuteProduceConsume.java", 133, "org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume", "run"],
            ["QueuedThreadPool.java", 672, "org.eclipse.jetty.util.thread.QueuedThreadPool", "runJob"],
            ["QueuedThreadPool.java", 590, "org.eclipse.jetty.util.thread.QueuedThreadPool$2", "run"],
            ["Thread.java", 748, "java.lang.Thread", "run"]
        ],
        "type": "class io.warp10.script.ext.influxdb.shadow.okhttp3.internal.http2.ConnectionShutdownException",
        "message": null
    }]
]

On InfluxDB side, I did not notice any particulier issue in the logs but there are some traffic on the platform.

On traefik side, no error in the logs - need to dive into access logs

majst01 commented 4 years ago

crazy stacktrace, but access log from traefik would be helpful