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

No proper error being raised if API_SERVER is unreachable #38

Open
Faakhir30 opened this issue Jan 23, 2025 · 0 comments
Open

No proper error being raised if API_SERVER is unreachable #38

Faakhir30 opened this issue Jan 23, 2025 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@Faakhir30
Copy link

What happened?

I was setting up this repo locally in dev envoirement to contribute to KubeEdge Dashboard Enhancement Project for the upcoming LFX term.

On dev envoirement startup, if the api server isnt correct it should raise appropriate error instead if Invalid Token with a status code 500.

Image

What did you expect to happen?

More suitable error would be Api server is unreachable .

How can we reproduce it (as minimally and precisely as possible)?

NODE_TLS_REJECT_UNAUTHORIZED=0 API_SERVER=invalid_server_ip:port npm run dev

Anything else we need to know?

No response

What browsers are you seeing the problem on?

Chrome

KubeEdge Dashboard version

latest main branch

KubeEdge version

1.20.0

Dev environment

No response

@Faakhir30 Faakhir30 added the kind/bug Categorizes issue or PR as related to a bug. label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant