Skip to content

Unhandled errors when port-forwarding Kafka-UI #1293

@marekberith

Description

@marekberith

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

When running Kafka-UI behind a Kubernetes port-forward, I repeatedly see unhandled error messages in the logs. These errors appear whenever HTTP requests from Kafka-UI are cancelled or fail.

Actual behavior:

Handling connection for 8080
E0826 13:10:10.363900   58802 portforward.go:351] "Unhandled Error" err="error creating error stream for port 8080 -> 8080: Timeout occurred"
E0826 13:10:10.365456   58802 portforward.go:351] "Unhandled Error" err="error creating error stream for port 8080 -> 8080: Timeout occurred"
E0826 13:10:10.367811   58802 portforward.go:351] "Unhandled Error" err="error creating error stream for port 8080 -> 8080: Timeout occurred"

Kafka-UI version: v1.3.0

Expected behavior

No crashes of port-forward expected

Your installation details

Kubernetes, installed Kafka UI with Helm Chart, chart version 1.5.1, Kafka UI version v1.3.0

Steps to reproduce

  1. Deploy Kafka-UI in Kubernetes.
  2. Run: kubectl port-forward svc/kafka-ui 8080:80
  3. Access Kafka-UI at http://localhost:8080.
  4. Open some topic and while it is loading messages, try to search some string

Screenshots

No response

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions