-
Notifications
You must be signed in to change notification settings - Fork 281
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
K8s unable to start due to issue with update server #7412
Comments
FYI this is running as expected again as https://update.k3s.io/v1-release/channels is now returning json (while this morning it was returning an html page). So feel free to close, but I've left open for now in case it's worth allowing RD/K8s startup to continue following any issue with this check? |
This is still happening (from a report on Slack):
|
I have the same issue as of today. |
time for an s3 or flat-file-in-a-GH-Repo mirror that only can have json? (in addition to handling that error and continuing without info?) |
Odd; that list is cached on disk and should only block startup if you're in first run. Nevertheless, I think we can do some things to make it better:
|
@sbmw Did you do a factory reset just before this error occurred? We've been trying to reproduce this failure mode, and they only code paths where this seems possible is when the settings don't yet contain a Kubernetes version, and that setting is filled in during the first start, even if you disable Kubernetes. |
@jandubois Sorry, no factory reset, just a laptop restart. Where is the list cached? Perhaps I or some other cleanup process cleared it? |
@sbmw It should be in We have merged a "fix" that should trap this error going forward, but I'm still concerned that I've not been able to reproduce it myself. The only way I can see this happening is when your settings doesn't yet include a value for Furthermore, even when Anyways, hoping this is fixed, but somewhat unsatisfying that I cannot confirm it because I cannot repro it. |
Oh no... I didn't do a factory reset, but BleachBit ran when I restarted my laptop. (Use of a system clean-up app is an old habit that I need to drop.) I just confirmed that this does purge Please accept my apologies for any wasted time and I hope that at least some good has come from it. Thank you all for an excellent product and support! |
Thank you, it does indeed explain it, and now I can reproduce the issue. Unfortunately it seems our current "fix" for this just trades this issue for a different failure. I will create a new GitHub issue for it, but it will probably not be fixed for the next release, as it is quite an edge case. |
Actual Behavior
Rancher Desktop displays an error during startup re invalid response from https://update.k3s.io/v1-release/channels
K8s fails to launch and RD > Preferences > Kubernetes > Kubernetes Version dropdown is empty
Steps to Reproduce
Start Rancher Desktop with K8s enabled
Result
Error Window Messaging
Error Starting Kubernetes
Context:
Starting Backend
Some recent logfile lines:
Expected Behavior
A failed update check should not result in a failure to launch.
Additional Information
My RD setup was fully operational before restarting it this morning.
I tried disabling wifi to bypass the check, but then get:
Rancher Desktop Version
1.15.1
Rancher Desktop K8s Version
1.30.4
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Other Linux
Operating System / Build Version
Fedora 40 KDE
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
AppImage
Windows User Only
No response
The text was updated successfully, but these errors were encountered: