Snap installed fails with "connection to the server 127.0.0.1:16443 was refused"
See original GitHub issueI just tried to install microk8s on an Ubuntu 20.04 instance, and it failed as follows:
$ sudo snap install microk8s --classic
error: cannot perform the following tasks:
- Run configure hook of "microk8s" snap if present (run hook "configure":
-----
[...]
+ /snap/microk8s/1769/kubectl --kubeconfig=/var/snap/microk8s/1769/credentials/client.config apply -f /var/snap/microk8s/1769/args/cni-network/cni.yaml
The connection to the server 127.0.0.1:16443 was refused - did you specify the right host or port?
-----)
Unfortunately I can’t run microk8s inspect
as it’s not installed yet 😃
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Snap installed fails with "connection to the server 127.0.0.1 ...
I just tried to install microk8s on an Ubuntu 20.04 instance, and it failed as follows: $ sudo snap install microk8s --classic error:...
Read more >Snap.d error: cannot communicate with server connection ...
Snap.d error: cannot communicate with server connection refused ... Installation issue: run hook "install": / has 'other' write 40777.
Read more >How do I fix my connection to api.snapcraft.io - Ask Ubuntu
Note: If you get the error snap snapd is not installed , then first install snapd and then try executing above mentioned commands....
Read more >Installing a Snap package | Google Cloud CLI Documentation
If you have the old snap package, google-cloud-sdk , installed, remove it at the command line: ... At the command line, install the...
Read more >snapd package : Ubuntu - Launchpad Bugs
#1673247 package snapd 2.23.1 failed to install/upgrade: trying to overwrite '/etc/apparmor.d/usr.lib.snapd.snap-confine', which is also in package ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @mthaddon
Could you try installing the latest/edge channel?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.