-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
When launching the latest Langflow desktop app on macos systems, using Arize's default (GRPC exporter) isn't generating traces.
Reproduction
Steps to reproduce:
- Download Langflow desktop app (e.g., version 1.7.1) on a mac.
- Set Arize environment variables.
- Launch app.
- Run a flow.
Notice that:
- No traces show up in Arize platform.
- Error logs in
langflow.log:
[2025-12-22][10:44:53][ERROR] [LANGFLOW STDERR] [2025-12-22 10:44:53,014][ERROR] Failed to export traces to [[otlp.arize.com](http://otlp.arize.com/)](http://otlp.arize.com/), error code: StatusCode.DEADLINE_EXCEEDED
[2025-12-22][10:44:56][ERROR] [LANGFLOW STDERR] [2025-12-22 10:44:56,057][WARNING] Transient error StatusCode.UNAVAILABLE encountered while exporting traces to [[otlp.arize.com](http://otlp.arize.com/)](http://otlp.arize.com/), retrying in 1.04s.
[2025-12-22][10:45:02][ERROR] [LANGFLOW STDERR] [2025-12-22 10:45:02,928][ERROR] Failed to export traces to [[otlp.arize.com](http://otlp.arize.com/)](http://otlp.arize.com/), error code: StatusCode.UNAVAILABLE
The issue appears to be related to grpc/grpc#38290.
I was able to get the traces to show up by 2 ways:
A. Switch to HttpSpanExporter
Applying the following changes in arize_phoenix.py:
- arize_endpoint = f"{arize_collector_endpoint}/v1"
+ arize_endpoint = f"{arize_collector_endpoint}/v1/traces"
if enable_arize_tracing:
tracer_provider.add_span_processor(
span_processor=span_processor(
- span_exporter=GRPCSpanExporter(endpoint=arize_endpoint, headers=arize_headers),
+ span_exporter=HTTPSpanExporter(endpoint=arize_endpoint, headers=arize_headers),
)
)
B. Pin grpcio library inside ~/.langflow/data/requirements.txt, by adding grpcio==1.67.1
Expected behavior
The traces should show up in Arize AX platform as expected.
Who can help?
No response
Operating System
macos
Langflow Version
1.7.1
Python Version
None
Screenshot
No response
Flow File
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working