Skip to content

IDEA: surface some proxy warnings and errors in the TUI #1249

Closed

Description

@esnible

It can be confusing to users when the proxy is getting errors. They may not know to look at the last few lines of ~/.cortex/proxy.log

For example, I recently had some warnings:

level=WARN msg="forward-proxy: CONNECT upstream dial failed" binary=cortex host=ete-litellm.ai-models.vpc-int.res.ibm.com:443 error="dial tcp 9.47.173.191:443: i/o timeout"
```level=INFO msg="tls-bridge passthrough" binary=cortex host=us-east.apprapp.cloud.ibm.com reason=upstream-verify error="Head \"https://us-east.apprapp.cloud.ibm.com:443\": read tcp [2600:4040:94d5:8a00:2d5d:a178:2205:4fd4]:52152->[2606:4700::6812:163e]:443: read: connection reset by peer"
level=WARN msg="forward-proxy: upstream request failed" binary=cortex host=us-east.apprapp.cloud.ibm.com method=POST error="Post \"https://us-east.apprapp.cloud.ibm.com:443/apprapp/events/v1/instances/69290cdf-5855-4058-9298-2574268531bc/usage\": net/http: cannot rewind body after connection loss"

Perhaps some errors should be visible in the TUI?

Activity

  1. esnible commented on Oct 5, 2026

    @esnible
    MemberAuthor

    Closed through PR #1200 and #1223

  2. self-assigned this
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions