Error 'failed to get CA certs: https://127.0.0.1:6444/cacerts: 401 Unauthorized' #8390
Unanswered
crimewaffle
asked this question in
Q&A
Replies: 1 comment
-
Sounds like you have a typo in the token. Check that the value of K3S_TOKEN on the agent matches the value from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environmental Info:
K3s Version:
k3s version v1.27.5+k3s1 (8d074ec)
go version go1.20.7
Node(s) CPU architecture, OS, and Version:
Linux k3s-h01-n02 6.1.0-12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.52-1 (2023-09-07) x86_64 GNU/Linux
Cluster Configuration:
1 Manager, 1 Worker (Agent)
Describe the bug:
k3s-agent.service unable to start up due to (authentication?) issues 401 error (See logs)
Steps To Reproduce:
Install on Debian 12 using
curl -sfL https://get.k3s.io | K3S_URL=https://[HIDDEN]:6443 K3S_TOKEN=[HIDDEN] sh -
Start it (
systemctl enable --now k3s-agent.service
)Expected behavior:
Should be able to connect and authenticate; Service should start properly
Actual behavior:
Service stays at 'activating (start)'
Additional context / logs:
Output of systemctl status k3s-agent.service:
Service file (/etc/systemd/system/k3s-agent.service):
/etc/systemd/system/k3s-agent.service.env:
Output of
ss -tlpn
:Output of
wget https://127.0.0.1:6444/cacerts --no-check-certificate
Please let me know if you need anything else
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions