opentelemetry-examples-auth's Issues
Issues trying to run this project on latest images.
I really appreciate this example, but open-telemetry-collector seems to move fast and the examples I have found online (including this one) get outdated rather quickly.
I followed the instructions in this project, and had to make several changes, not sure if they were the right thing to do, but eventually I hit a dead end.
- After service.env was generated, I had to manually edit ISSUER_URL and use the real IP of my machine, not localhost, as Keycloak did not seem accessible in the gateway image at localhost.
- In docker-compose.yaml, I changed image from
opentelemetry-collector
toopentelemetry-collector-contrib
, otherwise, it failed to start, as unable to understand the extensions in the yaml config files. - In docker-compose.yaml, I removed
--log-level=debug
as this option is no longer supported. - In config-gateway.yaml, I changed
tls_settings
totls
- In config-agent.yaml, I commented out
ca_file
. This feels like the wrong thing to do, but agent would not start with it there.
After making all these changes, the containers started, but gateway would not connect to agent with this error, at which point I became stuck:
agent_1 | 2022-02-04T00:12:50.034Z warn zapgrpc/zapgrpc.go:191 [core] grpc: addrConn.createTransport failed to connect to {gateway:4320 gateway:4320 <nil> <nil> 0 <nil>}. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority" {"grpc_log": true}
gateway_1 | 2022-02-04T00:12:50.034Z warn zapgrpc/zapgrpc.go:191 [core] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "ServerHandshake(\"172.23.0.5:37352\") failed: remote error: tls: bad certificate" {"grpc_log": true}
Again, thanks for the project and instructions. I totally understand if this is not something you have time to look into, but thought you might like to know about the issues I ran into using the latest open telemetry images.
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.