Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PeriodicExportingMetricReader gives "error: 13 INTERNAL: Received HTTP status code 400" #282

Open
wozjac opened this issue Jan 31, 2025 · 1 comment
Labels

Comments

@wozjac
Copy link

wozjac commented Jan 31, 2025

Hello,

we have the following versions:
@cap-js/telemetry: 1.1.2
exporter-metrics-otlp-grpc: 0.57.1
exporter-trace-otlp-grpc: 0.57.1

All certificates in bindings to Cloud Logging are valid.

Each one minute we get:

{"stack":"Error: PeriodicExportingMetricReader: metrics export failed (error Error: 13 INTERNAL: Received HTTP status code 400)\n at PeriodicExportingMetricReader._doRun (/home/vcap/deps/0/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.js:86:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async PeriodicExportingMetricReader._runOnce (/home/vcap/deps/0/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.js:54:13)","message":"PeriodicExportingMetricReader: metrics export failed (error Error: 13 INTERNAL: Received HTTP status code 400)","name":"Error"}

What else we should check?

BR,
Jacek

@github-actions github-actions bot added the new label Jan 31, 2025
@yevgentrukhin
Copy link

yevgentrukhin commented Feb 1, 2025

sounds expired certificate, can u double check?

Try to rebind the app/restage, and check again:

cf unbind-service app-name service-instance
cf bind-service app-name service-instance -c '{"ingest":{"certValidityDays":90}}'
cf restage app-name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants