-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hello,
We tried using the driver under a 32-bit environment, but we're getting this error instead:
java.lang.IllegalArgumentException: ALPN is not configured properly. See https://github.com/grpc/grpc-java/blob/master/SECURITY.md#troubleshooting for more information.
at nl.topicus.jdbc.shaded.io.grpc.netty.GrpcSslContexts.selectApplicationProtocolConfig(GrpcSslContexts.java:163)
at nl.topicus.jdbc.shaded.io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts.java:136)
at nl.topicus.jdbc.shaded.io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts.java:124)
at nl.topicus.jdbc.shaded.io.grpc.netty.GrpcSslContexts.forClient(GrpcSslContexts.java:94)
at nl.topicus.jdbc.shaded.com.google.cloud.spanner.SpannerOptions$NettyRpcChannelFactory.newSslContext(SpannerOptions.java:311)
at nl.topicus.jdbc.shaded.com.google.cloud.spanner.SpannerOptions$NettyRpcChannelFactory.newChannel(SpannerOptions.java:299)
at nl.topicus.jdbc.shaded.com.google.cloud.spanner.SpannerOptions.createChannel(SpannerOptions.java:272)
at nl.topicus.jdbc.shaded.com.google.cloud.spanner.SpannerOptions.createChannels(SpannerOptions.java:259)
at nl.topicus.jdbc.shaded.com.google.cloud.spanner.SpannerOptions.<init>(SpannerOptions.java:92)
at nl.topicus.jdbc.shaded.com.google.cloud.spanner.SpannerOptions.<init>(SpannerOptions.java:45)
at nl.topicus.jdbc.shaded.com.google.cloud.spanner.SpannerOptions$Builder.build(SpannerOptions.java:195)
at nl.topicus.jdbc.CloudSpannerConnection.<init>(CloudSpannerConnection.java:183)
at nl.topicus.jdbc.CloudSpannerDriver.connect(CloudSpannerDriver.java:275)
at COM.safe.fme.jdbc.JdbcCommon.openConnection(JdbcCommon.java:469)
at COM.safe.fme.jdbc.JdbcReader.openHelper(JdbcReader.java:192)
at COM.safe.fme.jdbc.JdbcReader.open(JdbcReader.java:162)
Caused by: java.lang.ClassNotFoundException: org/eclipse/jetty/alpn/ALPN
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at nl.topicus.jdbc.shaded.io.grpc.netty.JettyTlsUtil.isJettyAlpnConfigured(JettyTlsUtil.java:34)
at nl.topicus.jdbc.shaded.io.grpc.netty.GrpcSslContexts.selectApplicationProtocolConfig(GrpcSslContexts.java:153)
... 15 more
This was on a Windows 10 machine, running on 32-bit configuration, with Java 8
Driver version: 0.23
Note that we've had no problems connecting in 64-bit.
We've done a bit of digging, and seems that there are reports of similar problems here:
googleapis/google-cloud-java#2740
and here:
googleapis/google-cloud-java#2813
would upgrading google-cloud-spanner dependency fix this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels