Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version check doesn't work as expected #4471

Closed
4 tasks done
feym78 opened this issue Jul 16, 2024 · 4 comments
Closed
4 tasks done

Version check doesn't work as expected #4471

feym78 opened this issue Jul 16, 2024 · 4 comments
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working

Comments

@feym78
Copy link

feym78 commented Jul 16, 2024

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)

Just installed kafka-ui in k8s with kafka-ui version 0.7.2 by helm chart and noticed a warning about version.
As I can see 0.7.2 is the newest version, but behavior of version check is strange:
image
I looked at the issues and didn't find solution or explanatrion for this.
As I can inderstand for now this behavior could be expected if backend can't reach github repo - https://github.com/provectus/kafka-ui/blob/master/kafka-ui-api/src/main/java/com/provectus/kafka/ui/util/GithubReleaseInfo.java#L12
But pod with kafka-ui can access this url, I checked it by running wget request inside of the pod with kafka-ui and got response with json.
Also as I could inderstand from sources that when this information can't be accessed then there should be a message in logs - https://github.com/provectus/kafka-ui/blob/master/kafka-ui-api/src/main/java/com/provectus/kafka/ui/util/GithubReleaseInfo.java#L38
but there is not any errors about it in actual log, same for browser console log
Can anyone please explain why is UI acts like this?
Thank you.

Expected behavior

After installation in environment with internet access kafka-ui reports correctly about it's version.

Your installation details

  1. app version 0.7.2 or master
  2. helm chart 0.7.6

Steps to reproduce

  1. Install kafka-ui version 0.7.2 or master
  2. login to the UI
  3. check version notice in the top of the page

Screenshots

No response

Logs

No response

Additional context

No response

@feym78 feym78 added status/triage Issues pending maintainers triage type/bug Something isn't working labels Jul 16, 2024
Copy link

Hello there feym78! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

@feym78 feym78 closed this as completed Jul 17, 2024
@feym78 feym78 reopened this Jul 17, 2024
@feym78
Copy link
Author

feym78 commented Jul 17, 2024

Upd
problem disappeared on the next day, but still wondering why it happened.
image

@Haarolean
Copy link
Contributor

this repo is not maintained (#4255), see https://github.com/kafbat/kafka-ui . We fetch version info upon app startup on the backend and the timeout is 10 seconds (here, in old repo, it might be 2s instead)

@feym78
Copy link
Author

feym78 commented Jul 17, 2024

@Haarolean Oh, that wasn't very obvious!
Thanx for your reply, will check new project's repo

@feym78 feym78 closed this as completed Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants