Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc throws exceptions after sending message, even if message succeeds #436

Open
zoperado opened this issue Mar 25, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@zoperado
Copy link
Collaborator

Detailed Description
A clear and concise description of what the bug is.
grpc throws exceptions after sending message,

SEVERE: *~*~*~ Channel ManagedChannelImpl{logId=1, target=hcs.testnet.mirrornode.hedera.com:5600} was not shutdown properly!!! ~*~*~*
    Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.
java.lang.RuntimeException: ManagedChannel allocation site
	at io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.<init>(ManagedChannelOrphanWrapper.java:94)
	at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:52)
	at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:43)
	at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:512)
	at com.hedera.hashgraph.sdk.mirror.MirrorClient.<init>(MirrorClient.java:17)
	at com.hedera.hcs.sxc.plugin.mirror.subscribe.MirrorTopicSubscriber.subscribe(MirrorTopicSubscriber.java:82)
	at com.hedera.hcs.sxc.plugin.mirror.subscribe.MirrorTopicSubscriber.run(MirrorTopicSubscriber.java:74)
	at java.base/java.lang.Thread.run(Thread.java:844)

Actual Behavior
To reproduce create an OutboundHCSMessage and send any message.
Expected Behavior
No grpc stack traces on stdout on successful messages.

Environment:

  • Java: [e.g. OpenJDK 11.0.4]
  • Node: [e.g. v12.9.1-x86]
  • OS: [e.g. Ubuntu 18.04]
  • Version: [e.g. 1.0.1]

Additional Context
Add any other context about the problem here. Attach any logs here, if applicable.

@zoperado zoperado added the bug Something isn't working label Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant