You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for all the work in keeping this platform open-source ❤️
I'm trying to deploy opensnowcat-enrich on GCP with the pubsub connector and ran into an issue with the version of the protobuf dependency.
Here's the relevant part of the logged error:
ERROR com.snowplowanalytics.snowplow.enrich.common.fs2.Enrich - Unexpected error in enrich
com.permutive.pubsub.consumer.grpc.PubsubGoogleConsumer$InternalPubSubError: Internal Java PubSub consumer failed
Caused by: java.lang.IllegalStateException: Expected the service InnerService [FAILED] to be RUNNING, but the service has FAILED
at com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:384)
at com.google.common.util.concurrent.AbstractService.awaitRunning(AbstractService.java:308)
at com.google.api.core.AbstractApiService.awaitRunning(AbstractApiService.java:95)
at com.google.cloud.pubsub.v1.Subscriber.startConnections(Subscriber.java:379)
at com.google.cloud.pubsub.v1.Subscriber.startStreamingConnections(Subscriber.java:341)
at com.google.cloud.pubsub.v1.Subscriber.access$1400(Subscriber.java:91)
at com.google.cloud.pubsub.v1.Subscriber$1.run(Subscriber.java:282)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/google/protobuf/GeneratedMessageV3$Builder
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at com.google.pubsub.v1.StreamingPullRequest.toBuilder(StreamingPullRequest.java:866)
at com.google.pubsub.v1.StreamingPullRequest.newBuilder(StreamingPullRequest.java:857)
at com.google.cloud.pubsub.v1.StreamingSubscriberConnection.initialize(StreamingSubscriberConnection.java:237)
at com.google.cloud.pubsub.v1.StreamingSubscriberConnection.doStart(StreamingSubscriberConnection.java:146)
at com.google.api.core.AbstractApiService$InnerService.doStart(AbstractApiService.java:147)
at com.google.common.util.concurrent.AbstractService.startAsync(AbstractService.java:252)
at com.google.api.core.AbstractApiService.startAsync(AbstractApiService.java:119)
at com.google.cloud.pubsub.v1.Subscriber.startConnections(Subscriber.java:376)
... 4 more
Caused by: java.lang.ClassNotFoundException: com.google.protobuf.GeneratedMessageV3$Builder
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 21 more
I've forked the repo, updated protobuf to version 4.28.3, pushed to my own docker repo, deployed this updated image and was able to verify this fixed the issue.
The text was updated successfully, but these errors were encountered:
Thank you for all the work in keeping this platform open-source ❤️
I'm trying to deploy opensnowcat-enrich on GCP with the pubsub connector and ran into an issue with the version of the protobuf dependency.
Here's the relevant part of the logged error:
This issue was introduced with protobuf 4.26.0 and has since been fixed: protocolbuffers/protobuf@df8a11e
I've forked the repo, updated protobuf to version 4.28.3, pushed to my own docker repo, deployed this updated image and was able to verify this fixed the issue.
The text was updated successfully, but these errors were encountered: