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
Simply run the command `gcloud auth application-default login` (after you have run `gcloud auth login`). This will set up the application default credentials using your personal account.
75
75
76
+
## Known issues:
77
+
78
+
### Running in Alpine Linux docker container fails with "Grpc.Core.Internal.UnmanagedLibrary Attempting to load native library "/app/libgrpc_csharp_ext.x64.so"
79
+
80
+
If you run this nuget inside an alpine docker container you might get an error message similar to this:
81
+
82
+
```
83
+
System.IO.IOException: Error loading native library "/app/runtimes/linux-x64/native/libgrpc_csharp_ext.x64.so". Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /app/runtimes/linux-x64/native/libgrpc_csharp_ext.x64.so)
84
+
at Grpc.Core.Internal.UnmanagedLibrary..ctor(String[] libraryPathAlternatives)
85
+
at Grpc.Core.Internal.NativeExtension.LoadNativeMethodsUsingExplicitLoad()
86
+
at Grpc.Core.Internal.NativeExtension.LoadNativeMethods()
87
+
at Grpc.Core.Internal.NativeExtension..ctor()
88
+
at Grpc.Core.Internal.NativeExtension.Get()
89
+
at Grpc.Core.Internal.NativeMethods.Get()
90
+
at Grpc.Core.GrpcEnvironment.GrpcNativeInit()
91
+
at Grpc.Core.GrpcEnvironment..ctor()
92
+
at Grpc.Core.GrpcEnvironment.AddRef()
93
+
at Grpc.Core.Channel..ctor(String target, ChannelCredentials credentials, IEnumerable`1 options)
94
+
at Google.Api.Gax.Grpc.GrpcCore.GrpcCoreAdapter.CreateChannelImpl(String endpoint, ChannelCredentials credentials, GrpcChannelOptions options)
95
+
at Google.Api.Gax.Grpc.GrpcAdapter.CreateChannel(String endpoint, ChannelCredentials credentials, GrpcChannelOptions options)
96
+
at Google.Api.Gax.Grpc.ChannelPool.GetChannel(GrpcAdapter grpcAdapter, String endpoint, GrpcChannelOptions channelOptions, ChannelCredentials credentials)
97
+
at Google.Api.Gax.Grpc.ChannelPool.GetChannel(GrpcAdapter grpcAdapter, String endpoint, GrpcChannelOptions channelOptions)
98
+
at Google.Api.Gax.Grpc.ClientBuilderBase`1.CreateCallInvoker()
99
+
at Google.Cloud.SecretManager.V1.SecretManagerServiceClientBuilder.BuildImpl()
100
+
at Neolution.Extensions.Configuration.GoogleSecrets.GoogleSecretsProvider.Load()
101
+
```
102
+
103
+
To fix it you need to add the following to your `Dockerfile` to manaully build the missing library:
104
+
105
+
```
106
+
# we need temporarly this library untill the issue is solved
0 commit comments