Failed to export spans. Server responded with HTTP status code 403. #11632
Replies: 1 comment 4 replies
-
|
The HTTP 403 error you're experiencing indicates an authentication issue with your OTLP endpoint configuration. Based on the documentation, here are the key points to verify: Correct Endpoint Configuration For Langfuse Cloud US region, set your OTLP endpoint to(1): The endpoint should not include Authentication Setup Langfuse uses Basic Auth for the OTLP endpoint(1). You must base64-encode your public and secret keys joined by a colon(2)(3): import base64
auth = base64.b64encode(b"pk-...:sk-...").decode()Important Notes
Troubleshooting Steps
📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your question
Hi,our project integrated Langfuse according to the docs(using the endpoint https://us.cloud.langfuse.com/api/public/otel` with Basic Auth authentication). The integration previously worked as expected, and trace data was successfully ingested.
Howere, starting at an unknown point in time, the following error began to appear:
[OkHttp https://us.cloud.langfuse.com/...] i.o.e.internal.http.HttpExporter : Failed to export spans. Server responded with HTTP status code 403. Error message: Unable to parse response body, HTTP status message:We have verified that no langfuse-related configuration changes were made during this period. Additionally, when accessing https://us.cloud.langfuse.com/api/public/otel directly, the endpoint currently returns an HTTP 404 status.
We are trying to understand what might have caused this behavior change, and what steps should be taken to diagnose and resolve the issue.
Any insights or suggestions would be appreciated. Thanks.
Langfuse Cloud or Self-Hosted?
Langfuse Cloud
If Self-Hosted
No response
If Langfuse Cloud
yes
SDK and integration versions
No response
Pre-Submission Checklist
Beta Was this translation helpful? Give feedback.
All reactions