Snap connection problem

My domain is: sunset-pines.com

I ran this command: sudo certbot certonly --manual --preferred-challenges dns -d www.sunset-pines.com -d sunset-pines.com

It produced this output:
An error occurred while fetching Certbot snap plugins: make sure the snapd service is running.
An unexpected error occurred:
requests.exceptions.ReadTimeout: _SnapdConnectionPool(host='localhost', port=None): Read timed out. (read timeout=30.0)

My web server is (include version): httpd-2.4.37-65.module+el8.10.0+22756+938009b1.3.x86_64

The operating system my web server runs on is (include version): RHEL 8.10

My hosting provider, if applicable, is: N/A

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
[joliver@leaf ~]$ certbot --version
An error occurred while fetching Certbot snap plugins: make sure the snapd service is running.
An unexpected error occurred:
requests.exceptions.ReadTimeout: _SnapdConnectionPool(host='localhost', port=None): Read timed out. (read timeout=30.0)

[joliver@leaf ~]$ snap version
snap 2.67-0.el8
snapd unavailable
series -

[joliver@leaf ~]$ sudo systemctl status snapd
โ— snapd.service - Snap Daemon
Loaded: loaded (/usr/lib/systemd/system/snapd.service; disabled; vendor preset: disabled)
Active: active (running) since Mon 2025-03-17 09:50:29 MST; 6min ago
Main PID: 6221 (snapd)
Tasks: 6 (limit: 11134)
Memory: 33.7M
CGroup: /system.slice/snapd.service
โ””โ”€6221 /usr/libexec/snapd/snapd

Mar 17 09:50:29 leaf.arpnic.net systemd[1]: Starting Snap Daemon...
Mar 17 09:50:29 leaf.arpnic.net snapd[6221]: overlord.go:274: Acquiring state lock file
Mar 17 09:50:29 leaf.arpnic.net snapd[6221]: overlord.go:279: Acquired state lock file
Mar 17 09:50:29 leaf.arpnic.net snapd[6221]: daemon.go:250: started snapd/2.67-0.el8 (series 16; classic; devmo>
Mar 17 09:50:29 leaf.arpnic.net snapd[6221]: daemon.go:353: adjusting startup timeout by 50s (pessimistic estim>
Mar 17 09:50:29 leaf.arpnic.net snapd[6221]: backends.go:58: AppArmor status: apparmor not enabled
Mar 17 09:50:29 leaf.arpnic.net systemd[1]: Started Snap Daemon.

Hi @jnojr,

Check here GitHub ยท Where software is built to see if this is an already known issue,
if not filing an issue there may be able to assist you faster.

4 Likes

Removing and reinstalling snapd got me past this.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.