Ubuntu – From what url snaps are downloaded

snapurl

I am facing slow speed when downloading snaps.

I have to tell my ISP provider the url from where snaps are downloaded.

My ISP provides 5 mbps connection but I am just getting 1 mbps:

Image

Best Answer

The first two hosts it will hit are api.snapcraft.io and dashboard.snapcraft.io. However the snaps are delivered via a content delivery network (two in fact, I believe) so it's not as simple as one host.

If you'd like to help debug speed issues when downloading snaps, here's some steps you can try to get more information.

  1. Enable debugging in snapd.

    $ sudo systemctl edit snapd.service
    
    [Service]
    Environment=SNAPD_DEBUG=1 SNAPD_DEBUG_HTTP=7
    
  2. Restart snapd

    $ sudo systemctl restart snapd.service
    
  3. Install a large snap such as libreoffice or vscode

    $ sudo snap install libreoffice
    
  4. Then inspecting the logs using

    $ journalctl -xeu snapd
    

I'd recommend starting a thread on the snapcraft forum in the store category, where the store admins and developers hang out. They're the only ones who can debug this, honestly.

Related Question