Snap application not starting

I tried sudo systemctl status snapd and the output is

● snapd.service - Snap Daemon
● snapd.service - Snap Daemon
Loaded: loaded (/usr/lib/systemd/system/snapd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2022-06-20 22:04:15 IST; 14min ago
TriggeredBy: ● snapd.socket
Main PID: 711 (snapd)strong text
Tasks: 11 (limit: 4582)
Memory: 128.5M
CPU: 22.821s
CGroup: /system.slice/snapd.service
└─711 /usr/lib/snapd/snapd

Jun 20 22:04:52 ujjawalky snapd[711]: stateengine.go:149: state ensure error: persistent network error: Get "https:api.snapcraft io>
Jun 20 22:09:30 ujjawalky snapd[711]: api_snaps.go:317: Installing snap “tradingview” revision unset
Jun 20 22:11:12 ujjawalky runuser[2377]: pam_systemd_home(runuser:session): systemd-homed is not available: Unit dbus-org.freedesktop>
Jun 20 22:11:12 ujjawalky runuser[2377]: pam_unix(runuser:session): session opened for user ujjawalky(uid=1000) by (uid=0)
Jun 20 22:11:12 ujjawalky runuser[2377]: pam_env(runuser:session): deprecat