You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FATA[0000] error getting K3s version for channel latest: error unmarshalling channelserver response: invalid character '<' looking for beginning of value
What did you expect to happen
k3d should check the response code when fetching channels and, if the status is not 200, it should print an error message that reports the status code it received instead of trying to parse the HTML response body.
Which version of k3d
v5.4.4
The text was updated successfully, but these errors were encountered:
olix0r
changed the title
[BUG] Poor error message when update.k3s.io returns a 5XXX
[BUG] Poor error message when update.k3s.io returns a 5XX
Aug 19, 2022
What did you do
The other evening I created a cluster with:
At the time
update.k3s.io
was returning 503 errors. These errors include an HTML response body, which causes a pretty obtuse error from k3d:FATA[0000] error getting K3s version for channel latest: error unmarshalling channelserver response: invalid character '<' looking for beginning of value
What did you expect to happen
k3d should check the response code when fetching channels and, if the status is not 200, it should print an error message that reports the status code it received instead of trying to parse the HTML response body.
Which version of
k3d
The text was updated successfully, but these errors were encountered: