-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
This is more of a doubt than an issue. We had been using version 0.8.11: https://mvnrepository.com/artifact/io.spiffe/java-spiffe-provider/0.8.11 for quite some time now without facing issues. After updating to 0.8.13, we are seeing the following error:
Exception in thread "main" java.lang.RuntimeException: Failed to set up OkHttpClient
...
Caused by: java.lang.IllegalStateException: Operating System is not supported.
at io.spiffe.workloadapi.internal.GrpcManagedChannelFactory.configureNativeSocketChannel(GrpcManagedChannelFactory.java:79)
at io.spiffe.workloadapi.internal.GrpcManagedChannelFactory.createNativeSocketChannel(GrpcManagedChannelFactory.java:56)
at io.spiffe.workloadapi.internal.GrpcManagedChannelFactory.newChannel(GrpcManagedChannelFactory.java:41)
at io.spiffe.workloadapi.DefaultWorkloadApiClient.newClient(DefaultWorkloadApiClient.java:137)
at io.spiffe.workloadapi.DefaultX509Source.createClient(DefaultX509Source.java:180)This is running in a Linux-based container. While trying to debug the issue, we noticed that the runtime dependencies have been changed from io.spiffe:grpc-netty-linux to io.spiffe:grpc-netty-macos-aarch64 in 0.8.13: https://mvnrepository.com/artifact/io.spiffe/java-spiffe-provider/0.8.13. Is this an intentional change?
Can this be the cause of the issue, since 0.8.11 used to work fine with Linux?
Metadata
Metadata
Assignees
Labels
No labels