Hi,
I'm trying to use Google Ads Api Beta Java library on Scala - Slick, and
this error keeps getting thrown - which is not coming from any of the API
calls and I can't tell where it throwing from
Here is what the error looks like
[error] i.g.i.ManagedChannelOrphanWrapper - *~*~*~ Channel
ManagedChannelImpl{logId=409, target=googleads.googleapis.com:443} 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:103)
at
io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:53)
at
io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:44)
at
io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:440)
at
com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:223)
at
com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:164)
at
com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:156)
at com.google.api.gax.rpc.ClientContext.create(ClientContext.java:157)
at
com.google.ads.googleads.v0.services.stub.GrpcGoogleAdsServiceStub.create(GrpcGoogleAdsServiceStub.java:78)
at
com.google.ads.googleads.v0.services.stub.GoogleAdsServiceStubSettings.createStub(GoogleAdsServiceStubSettings.java:110)
>From what I can gather, the Google Ads Api Java library was using an older
version of GAX, in which some people has pointed out there was a bug in
them https://github.com/googleapis/google-cloud-java/issues/3693
So I tried to update the version of the GAX that was being used to a newer
version in which this bug has been fixed but still no help.
Is this causing because too many GoogleAdsServiceClient has been created,
can these object being used simultaneously in different threads? Or if
anyone has any suggestions on what causing it or how to fix it would be
much appreciated
Thanks
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/38bc4973-b95a-401d-9225-2ee793864052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.