GRPC Invoke sample produces multiple exceptions
See original GitHub issueEnvironment
PS C:\Sources\dapr-java-sdk> mvn -v
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Program Files\apache-maven-3.6.3\bin\..
Java version: 11.0.6, vendor: AdoptOpenJDK, runtime: C:\Users\riniepel\AppData\Local\Programs\AdoptOpenJDK
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
PS C:\Sources\dapr-java-sdk>dapr --version
CLI version: 0.3.0
Runtime version: 0.3.0
Branch: master & release-0.2.0-beta
Expected Behavior
Follow and run Invoking a Grpc endpoint using the Java-SDK without any exceptions
Actual Behavior
Three exceptions are thrown
java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled
java.lang.IllegalAccessException: class io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @22bca0b0
Sending GOAWAY failed: lastStreamId '0', errorCode '2', debugData 'Software caused connection abort'. Forcing shutdown of the connection.
java.io.IOException: Software caused connection abort
It’s unclear for the developer if these can be savetly ignored.
Steps to Reproduce the Problem
Execute
dapr run --app-id hellogrpc --app-port 5000 --protocol grpc -- mvn exec:java -pl=examples -D exec.mainClass=io.dapr.examples.invoke.grpc.HelloWorldService -D exec.args="-p 5000"
Log
PS C:\Sources\java-sdk> dapr run --app-id hellogrpc --app-port 5000 --protocol grpc -- mvn exec:java -pl=examples -D exec.mainClass=io.dapr.examples.invoke.grpc.HelloWorldService -D exec.args="-p 5000"
Starting Dapr with id hellogrpc. HTTP Port: 50970. gRPC Port: 50971
You're up and running! Both Dapr and your app logs will appear here.
== DAPR == time="2020-02-06T09:27:40+01:00" level=info msg="starting Dapr Runtime -- version 0.3.0 -- commit v0.3.0-rc.0-1-gfe6c306-dirty"
== DAPR == time="2020-02-06T09:27:40+01:00" level=info msg="log level set to: info"
== DAPR == time="2020-02-06T09:27:40+01:00" level=info msg="standalone mode configured"
== DAPR == time="2020-02-06T09:27:40+01:00" level=info msg="dapr id: hellogrpc"
== DAPR == time="2020-02-06T09:27:40+01:00" level=info msg="loaded component messagebus (pubsub.redis)"
== DAPR == time="2020-02-06T09:27:40+01:00" level=info msg="loaded component statestore (state.redis)"
== DAPR == time="2020-02-06T09:27:40+01:00" level=info msg="application protocol: grpc. waiting on port 5000"
== APP == [INFO] Scanning for projects...
== APP == [WARNING]
== APP == [WARNING] Some problems were encountered while building the effective model for io.dapr:dapr-sdk-examples:jar:0.2.0-beta-2
== APP == [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 130, column 15
== APP == [WARNING]
== APP == [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
== APP == [WARNING]
== APP == [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
== APP == [WARNING]
== APP == [INFO] Inspecting build with total of 1 modules...
== APP == [INFO] Installing Nexus Staging features:
== APP == [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
== APP == [INFO]
== APP == [INFO] ---------------------< io.dapr:dapr-sdk-examples >----------------------
== APP == [INFO] Building dapr-sdk-examples 0.2.0-beta-2
== APP == [INFO] --------------------------------[ jar ]---------------------------------
== APP == [INFO]
== APP == [INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ dapr-sdk-examples ---
== APP == 09:27:53.671 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework
== APP == 09:27:53.675 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - Platform: Windows
== APP == 09:27:53.678 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false
== APP == 09:27:53.679 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - Java version: 11
== APP == 09:27:53.680 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
== APP == 09:27:53.680 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
== APP == 09:27:53.681 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
== APP == 09:27:53.684 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - direct buffer constructor: unavailable
== APP == java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled
== APP == at io.grpc.netty.shaded.io.netty.util.internal.ReflectionUtil.trySetAccessible(ReflectionUtil.java:31)
== APP == at io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0$4.run(PlatformDependent0.java:224)
== APP == at java.base/java.security.AccessController.doPrivileged(Native Method)
== APP == at io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:218)
== APP == at io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:272)
== APP == at io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:92)
== APP == at io.grpc.netty.shaded.io.netty.util.AsciiString.<init>(AsciiString.java:222)
== APP == at io.grpc.netty.shaded.io.netty.util.AsciiString.<init>(AsciiString.java:209)
== APP == at io.grpc.netty.shaded.io.netty.util.AsciiString.cached(AsciiString.java:1406)
== APP == at io.grpc.netty.shaded.io.netty.util.AsciiString.<clinit>(AsciiString.java:47)
== APP == at io.grpc.netty.shaded.io.grpc.netty.Utils.<clinit>(Utils.java:69)
== APP == at io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder.<clinit>(NettyServerBuilder.java:77)
== APP == at io.grpc.netty.shaded.io.grpc.netty.NettyServerProvider.builderForPort(NettyServerProvider.java:39)
== APP == at io.grpc.netty.shaded.io.grpc.netty.NettyServerProvider.builderForPort(NettyServerProvider.java:24)
== APP == at io.grpc.ServerBuilder.forPort(ServerBuilder.java:41)
== APP == at io.dapr.examples.invoke.grpc.HelloWorldService$GrpcHelloWorldDaprService.start(HelloWorldService.java:61)
== APP == at io.dapr.examples.invoke.grpc.HelloWorldService.main(HelloWorldService.java:145)
== APP == at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
== APP == at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
== APP == at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
== APP == at java.base/java.lang.reflect.Method.invoke(Method.java:566)
== APP == at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
== APP == at java.base/java.lang.Thread.run(Thread.java:834)
== APP == 09:27:53.687 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true
== APP == 09:27:53.690 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable
== APP == java.lang.IllegalAccessException: class io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @22bca0b0
== APP == at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)
== APP == at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:591)
== APP == at java.base/java.lang.reflect.Method.invoke(Method.java:558)
== APP == at io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:334)
== APP == at java.base/java.security.AccessController.doPrivileged(Native Method)
== APP == at io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:325)
== APP == at io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:272)
== APP == at io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:92)
== APP == at io.grpc.netty.shaded.io.netty.util.AsciiString.<init>(AsciiString.java:222)
== APP == at io.grpc.netty.shaded.io.netty.util.AsciiString.<init>(AsciiString.java:209)
== APP == at io.grpc.netty.shaded.io.netty.util.AsciiString.cached(AsciiString.java:1406)
== APP == at io.grpc.netty.shaded.io.netty.util.AsciiString.<clinit>(AsciiString.java:47)
== APP == at io.grpc.netty.shaded.io.grpc.netty.Utils.<clinit>(Utils.java:69)
== APP == at io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder.<clinit>(NettyServerBuilder.java:77)
== APP == at io.grpc.netty.shaded.io.grpc.netty.NettyServerProvider.builderForPort(NettyServerProvider.java:39)
== APP == at io.grpc.netty.shaded.io.grpc.netty.NettyServerProvider.builderForPort(NettyServerProvider.java:24)
== APP == at io.grpc.ServerBuilder.forPort(ServerBuilder.java:41)
== APP == at io.dapr.examples.invoke.grpc.HelloWorldService$GrpcHelloWorldDaprService.start(HelloWorldService.java:61)
== APP == at io.dapr.examples.invoke.grpc.HelloWorldService.main(HelloWorldService.java:145)
== APP == at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
== APP == at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
== APP == at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
== APP == at java.base/java.lang.reflect.Method.invoke(Method.java:566)
== APP == at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
== APP == at java.base/java.lang.Thread.run(Thread.java:834)
== APP == 09:27:53.691 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.<init>(long, int): unavailable
== APP == 09:27:53.691 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available
== APP == 09:27:53.721 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - maxDirectMemory: 4276092928 bytes (maybe)
== APP == 09:27:53.722 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: C:\Users\riniepel\AppData\Local\Temp (java.io.tmpdir)
== APP == 09:27:53.722 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
== APP == 09:27:53.724 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes
== APP == 09:27:53.724 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1
== APP == 09:27:53.725 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available
== APP == 09:27:53.725 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
== APP == 09:27:53.850 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16
== APP == 09:27:53.878 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
== APP == 09:27:53.878 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
== APP == 09:27:53.892 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
== APP == 09:27:53.892 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
== APP == 09:27:53.902 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available
== APP == 09:27:54.409 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.channel.DefaultChannelId - -Dio.netty.processId: 17744 (auto-detected)
== APP == 09:27:54.412 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false
== APP == 09:27:54.412 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false
== APP == 09:27:54.848 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.NetUtil - Loopback interface: lo (Software Loopback Interface 1, 127.0.0.1)
== APP == 09:27:54.848 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.NetUtil - Failed to get SOMAXCONN from sysctl and file \proc\sys\net\core\somaxconn. Default: 200
== APP == 09:27:55.313 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.channel.DefaultChannelId - -Dio.netty.machineId: 00:00:00:00:00:00:00:e0 (auto-detected)
== APP == 09:27:55.327 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.ResourceLeakDetector - -Dio.grpc.netty.shaded.io.netty.leakDetection.level: simple
== APP == 09:27:55.327 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.util.ResourceLeakDetector - -Dio.grpc.netty.shaded.io.netty.leakDetection.targetRecords: 4
== APP == 09:27:55.353 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 16
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 16
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimIntervalMillis: 0
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.useCacheForAllThreads: true
== APP == 09:27:55.354 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023
== APP == 09:27:55.363 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: pooled
== APP == 09:27:55.363 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 0
== APP == 09:27:55.363 [io.dapr.examples.invoke.grpc.HelloWorldService.main()] DEBUG io.grpc.netty.shaded.io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384
== APP == Server: started listening on port 5000
== DAPR == time="2020-02-06T09:27:55+01:00" level=info msg="application discovered on port 5000"
== DAPR == 2020-02-06 09:27:55.565833 I | redis: connecting to localhost:6379
== DAPR == 2020-02-06 09:27:55.568823 I | redis: connected to localhost:6379 (localAddr: [::1]:51063, remAddr: [::1]:6379)
== APP == 09:27:55.654 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.netty.buffer.AbstractByteBuf - -Dio.grpc.netty.shaded.io.netty.buffer.checkAccessible: true
== APP == 09:27:55.654 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.netty.buffer.AbstractByteBuf - -Dio.grpc.netty.shaded.io.netty.buffer.checkBounds: true
== APP == 09:27:55.657 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.grpc.netty.shaded.io.netty.util.ResourceLeakDetector@3f466b0b
== APP == 09:27:55.750 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND SETTINGS: ack=false settings={MAX_CONCURRENT_STREAMS=2147483647, INITIAL_WINDOW_SIZE=1048576, MAX_HEADER_LIST_SIZ
E=8192}
== APP == 09:27:55.750 [grpc-nio-worker-ELG-3-1] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x39d971e6, L:/127.0.0.1:5000 - R:/127.0.0.1:51061] OUTBOUND SETTINGS: ack=false settings={MAX_CONCURRENT_STREAMS=2147483647, INITIAL_WINDOW_SIZE=1048576, MAX_HEADER_LIST_SIZ
E=8192}
== APP == 09:27:55.754 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.netty.util.Recycler - -Dio.netty.recycler.maxCapacityPerThread: 4096
== APP == 09:27:55.754 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.netty.util.Recycler - -Dio.netty.recycler.maxSharedCapacityFactor: 2
== APP == 09:27:55.754 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.netty.util.Recycler - -Dio.netty.recycler.linkCapacity: 16
== APP == 09:27:55.754 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.netty.util.Recycler - -Dio.netty.recycler.ratio: 8
== APP == 09:27:55.777 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND WINDOW_UPDATE: streamId=0 windowSizeIncrement=983041
== APP == 09:27:55.777 [grpc-nio-worker-ELG-3-1] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x39d971e6, L:/127.0.0.1:5000 - R:/127.0.0.1:51061] OUTBOUND WINDOW_UPDATE: streamId=0 windowSizeIncrement=983041
== APP == 09:27:55.786 [grpc-nio-worker-ELG-3-1] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x39d971e6, L:/127.0.0.1:5000 - R:/127.0.0.1:51061] OUTBOUND GO_AWAY: lastStreamId=0 errorCode=2 length=86 bytes=45696e6520626573746568656e64652056657262696e64756e67207775726
46520736f6674776172656765737465756572740d0a64757263682064656e20486f...
== APP == 09:27:55.788 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND SETTINGS: ack=false settings=[id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062]
== APP == 09:27:55.789 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND SETTINGS: ack=true
== APP == 09:27:55.789 [grpc-nio-worker-ELG-3-1] DEBUG io.grpc.netty.shaded.io.netty.handler.codec.http2.Http2ConnectionHandler - [id: 0x39d971e6, L:/127.0.0.1:5000 ! R:/127.0.0.1:51061] Sending GOAWAY failed: lastStreamId '0', errorCode '2', debugData 'Eine bestehende Verbindung wurde sof
twaregesteuert
== APP == durch den Hostcomputer abgebrochen'. Forcing shutdown of the connection.
== APP == java.io.IOException: Eine bestehende Verbindung wurde softwaregesteuert
== APP == durch den Hostcomputer abgebrochen
== APP == at java.base/sun.nio.ch.SocketDispatcher.writev0(Native Method)
== APP == at java.base/sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:55)
== APP == at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:182)
== APP == at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:130)
== APP == at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:496)
== APP == at io.grpc.netty.shaded.io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:420)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
== APP == at io.grpc.netty.shaded.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:354)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:898)
== APP == at io.grpc.netty.shaded.io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1384)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:749)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:741)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:727)
== APP == at io.grpc.netty.shaded.io.netty.handler.codec.http2.Http2ConnectionHandler.onError(Http2ConnectionHandler.java:643)
== APP == at io.grpc.netty.shaded.io.grpc.netty.AbstractNettyHandler.exceptionCaught(AbstractNettyHandler.java:81)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:297)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:276)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:268)
== APP == at io.grpc.netty.shaded.io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1389)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:297)
== APP == at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:276)
== APP == at io.grpc.netty.shaded.io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:919)
== APP == at io.grpc.netty.shaded.io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:125)
== APP == at io.grpc.netty.shaded.io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:174)
== APP == at io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700)
== APP == at io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635)
== APP == at io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552)
== APP == at io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514)
== APP == at io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
== APP == at io.grpc.netty.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
== APP == at io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
== APP == at java.base/java.lang.Thread.run(Thread.java:834)
== APP == 09:27:55.790 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND SETTINGS: ack=true
== APP == 09:27:55.921 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND HEADERS: streamId=1 headers=GrpcHttp2RequestHeaders[:path: /daprclient.DaprClient/GetTopicSubscriptions, :authorit
y: 127.0.0.1:5000, :method: POST, :scheme: http, te: trailers, content-type: application/grpc, user-agent: grpc-go/1.24.0] padding=0 endStream=false
== APP == 09:27:55.961 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND DATA: streamId=1 padding=0 endStream=true length=5 bytes=0000000000
== APP == 09:27:56.018 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND HEADERS: streamId=1 headers=GrpcHttp2OutboundHeaders[:status: 200, content-type: application/grpc, grpc-status: 1s: 1
2, grpc-message: Method daprclient.DaprClient/GetTopicSubscriptions is unimplemented] streamDependency=0 weight=16 exclusive=false padding=0 endStream=true
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="Initialized service discovery to standalone"
== APP == 09:27:56.026 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND HEADERS: streamId=3 headers=GrpcHttp2RequestHeaders[:path: /daprclient.DaprClient/GetBindingsSubscriptions, :autho
rity: 127.0.0.1:5000, :method: POST, :scheme: http, te: trailers, content-type: application/grpc, user-agent: grpc-go/1.24.0] padding=0 endStream=false
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="actor runtime started. actor idle timeout: 1h0m0s. actor scan interval: 30s"
== APP == 09:27:56.026 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND DATA: streamId=3 padding=0 endStream=true length=5 bytes=0000000000
== APP == 09:27:56.027 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND HEADERS: streamId=3 headers=GrpcHttp2OutboundHeaders[:status: 200, content-type: application/grpc, grpc-status: 1
2, grpc-message: Method daprclient.DaprClient/GetBindingsSubscriptions is unimplemented] streamDependency=0 weight=16 exclusive=false padding=0 endStream=true
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="actors: starting connection attempt to placement service at localhost:6050"
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="http server is running on port 50970"
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="gRPC server is running on port 50971"
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="local service entry announced"
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="dapr initialized. Status: Running. Init Elapsed 15117.739800000001ms"
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="actors: established connection to placement service at localhost:6050"
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="actors: placement order received: lock"
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="actors: placement order received: update"
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="actors: placement tables updated"
== DAPR == time="2020-02-06T09:27:56+01:00" level=info msg="actors: placement order received: unlock"
== APP == 09:28:14.640 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND HEADERS: streamId=5 headers=GrpcHttp2RequestHeaders[:path: /daprclient.DaprClient/OnInvoke, :authority: 127.0.0.1:0.1:
5000, :method: POST, :scheme: http, te: trailers, content-type: application/grpc, user-agent: grpc-go/1.24.0, grpc-timeout: 60000000u] padding=0 endStream=false
== APP == 09:28:14.641 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND DATA: streamId=5 padding=0 endStream=true length=24 bytes=00000000130a03736179120c120a4d657373616765202330
== APP == Server: Message #0 @ 2020-02-06 09:28:14.684
== APP == 09:28:14.752 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND HEADERS: streamId=5 headers=GrpcHttp2OutboundHeaders[:status: 200, content-type: application/grpc, grpc-encoding:ing:
identity, grpc-accept-encoding: gzip] streamDependency=0 weight=16 exclusive=false padding=0 endStream=false
== APP == 09:28:14.764 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND DATA: streamId=5 padding=0 endStream=false length=78 bytes=00000000490a2c747970652e676f6f676c65617069732e636f6d2f6d2f
646170726578616d706c65732e536179526573706f6e736512190a17323032302d30322d30...
== APP == 09:28:14.765 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND HEADERS: streamId=5 headers=GrpcHttp2OutboundHeaders[grpc-status: 0] streamDependency=0 weight=16 exclusive=false
padding=0 endStream=true
== APP == 09:28:14.766 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND WINDOW_UPDATE: streamId=0 windowSizeIncrement=78
== APP == 09:28:14.766 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] INBOUND PING: ack=false bytes=145258749040133895
== APP == 09:28:14.766 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND PING: ack=true bytes=145258749040133895
== DAPR == time="2020-02-06T09:28:20+01:00" level=info msg="dapr shutting down. Waiting 5 seconds to finish outstanding operations"
terminated signal received: shutting down
== DAPR == time="2020-02-06T09:28:20+01:00" level=info msg="stop command issued. Shutting down all operations"
== APP == Server: shutting down gracefully ...
Exited Dapr successfully
== APP == 09:28:20.868 [grpc-nio-worker-ELG-3-2] DEBUG io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler - [id: 0x9eb248c5, L:/127.0.0.1:5000 - R:/127.0.0.1:51062] OUTBOUND GO_AWAY: lastStreamId=5 errorCode=2 length=59 bytes=45696e6520766f7268616e64656e652056657262696e64756e672077757264652
0766f6d2052656d6f7465686f73742067657363686c6f7373656e
Exited App successfully
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Uncaught exceptions in server #6162 - grpc/grpc-java - GitHub
Uncaught exceptions result in no response being sent to the client (but the connection remains open) and thus, from the clients perspective, the ......
Read more >Error Handling in gRPC - Baeldung
Learn how to implement error handling in gRPC for unary and ... If the client makes an invalid request, it will get back...
Read more >Basics tutorial | Java - gRPC
This tutorial provides a basic Java programmer's introduction to working with gRPC. By walking through this example you'll learn how to:.
Read more >Getting Error Handling right in gRPC - Techdozo
There is a 3rd Gradle module, called commons, which contains common exceptions consumed by both Product Gateway Service and Product Service. You ...
Read more >gRPC: Random CANCELLED exception on RPC calls
To summarize: gRPC call from client randomly gives CANCELLED error. When the error happens, the server sometimes gets the call, but sometimes ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This existing issue tracks reducing verbosity https://github.com/dapr/java-sdk/issues/178
Issue resolved now via reducing verbosity. Log level is now INFO for those classes.