Comments (3)
Is it possible that you have an environment variable (e.g. from kubernetes) that is GRPC_CLIENT_CERT
?
Also maybe you don't want to ship the client lib, if you don't plan to use it.
from grpc-spring.
Ah I think it does have that variable. It has a shared environment variable file with other applications, and has GRPC_CLIENT_CERT
, GRPC_SERVER_CERT
, etc. defined with a file path like export GRPC_CLIENT_CERT="file:/opt/grpc/cert/grpc_client_cert.crt"
. But, still not sure why this would be picked up the way it is in the error?
And yeah, I have the client auto configs it excluded from the main application context now, but need them for integration tests, so I'm including them there.
from grpc-spring.
I think I have two issues here:
- I have a messy configuration, and have an environment variable set to the wrong property. That env var happens to be
GRPC_CLIENT_CERT
, when it should be a different one forgrpc.server.security.trust-cert-collection
. - But, If I even have
GRPC_CLIENT_CERT
set in the environment, this error is thrown. Something is picking up that environment variable and trying to use it
from grpc-spring.
Related Issues (20)
- grpc ๆญฃๅไปฃ็
- Spring Security AccessDecisionManager is deprecated. What's the alternative? HOT 2
- SSLContextGrpcAuthenticationReader reads the wrong certificate from the peer certificates array HOT 2
- [Docs] gRPC-Spring-Boot-Starter Documentation: Getting Started - Project Setup (Server and Client) Exhibitory Imagery HOT 3
- Only in the Kubernetes environment, adding the server.servlet.context-path parameter to the spring boot web results in GRPC server startup failure HOT 1
- Add support for grpc-servlet
- Update gRPC to 1.63 due to client retry fixed in this version of gRPC HOT 1
- Add custom metadata HOT 9
- GrpcExceptionListener handle exceptions outside of observation scope HOT 2
- GRPC health check using actuator HOT 1
- How to disable grpc-spring-boot-starter? HOT 1
- how to can exclude grpc-inprocess
- Security scans findings HOT 3
- Metric grpc_server_processing_duration_seconds_max is always 0 HOT 2
- Failed to release a message: UnpooledSlicedByteBuf(freed) HOT 3
- GRPC server graceful shutdown HOT 15
- grails can not work HOT 7
- Getting "Could not generate CGLIB subclass of class" error after upgrading to version 3.1.0.RELEASE HOT 1
- @GrpcClient is null spring boot 3 HOT 5
- Hot-reloading TLS certificates HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpc-spring.