provectus/kafka-ui

FE: Handle 504s properly

Open

#4,075 opened on 2023年8月1日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)Java (7,799 stars) (977 forks)batch import
area/uxgood first issuescope/frontendstatus/acceptedtype/bug

説明

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 master-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 kafka-ui can't access the remote broker, it waits for a long time (this should also have timeout). Meanwhile in the UI you see the loader in the topics page.

In the network tab I can see long request:

http://server/api/clusters/<cluster>/topics?page=1&perPage=25&showInternal=true

At some point it fails with 504, but the loader is still shown on the UI

Expected behavior

Loader should be removed and the error message should be shown

Your installation details

56fa824

Steps to reproduce

  1. make sure kafka ui can't access remote broker.
  2. visit topics page in that cluster

Screenshots

No response

Logs

no logs in the app output

Additional context

No response

コントリビューターガイド

FE: Handle 504s properly · provectus/kafka-ui#4075 | Good First Issue