Skip to content

Instantly share code, notes, and snippets.

@nuwanbando
Created March 15, 2020 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuwanbando/eda90373784472f37c5d46f97eb5a35e to your computer and use it in GitHub Desktop.
Save nuwanbando/eda90373784472f37c5d46f97eb5a35e to your computer and use it in GitHub Desktop.
ballerina/http] stopped HTTP/WS listener 0.0.0.0:9190
[pass] testFunction
1 passing
0 failing
0 skipped
Generating executables
target/bin/hello-service.jar
Exception in thread "main" io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:240)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:221)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:140)
at org.ballerinalang.observe.trace.extension.choreo.gen.HandshakeGrpc$HandshakeBlockingStub.handshake(HandshakeGrpc.java:222)
at org.ballerinalang.observe.trace.extension.choreo.client.ChoreoClient.register(ChoreoClient.java:59)
at org.ballerinalang.observe.trace.extension.choreo.client.ChoreoClientHolder.initializeLinkWithChoreo(ChoreoClientHolder.java:137)
at org.ballerinalang.observe.trace.extension.choreo.client.ChoreoClientHolder.getChoreoClient(ChoreoClientHolder.java:76)
at org.ballerinalang.observe.trace.extension.choreo.client.ChoreoClientHolder.getChoreoClient(ChoreoClientHolder.java:105)
at org.ballerinalang.observe.trace.extension.choreo.MetricsReporterExtension.init(MetricsReporterExtension.java:58)
at org.ballerinalang.jvm.observability.metrics.MetricsLaunchListener.beforeRunProgram(MetricsLaunchListener.java:78)
at org.ballerinalang.jvm.launch.LaunchUtils.lambda$startListeners$0(LaunchUtils.java:98)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.ballerinalang.jvm.launch.LaunchUtils.startListeners(LaunchUtils.java:98)
at choreo.hello-service.___init.main(hello-service)
Caused by: io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/fe80:0:0:0:0:0:0:1%1:9411
Caused by: java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at io.grpc.netty.shaded.io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
at io.grpc.netty.shaded.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
at io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:688)
at io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635)
at io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552)
at io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514)
at io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.grpc.netty.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
➜ hello-service git:(master) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment