Failed to Build Snap -- Issue while getting nmap

Hi everybody,

we are experiencing some issues with our builds. Basically about 80% of our builds are failing while trying to download nmap.

Here are the logs:

 Downloading snap 'nmap'
[08/Oct/2021:09:42:52 +0000] "CONNECT canonical-lgw01.cdn.snapcraftcontent.com:443 HTTP/1.1" 403 1952 "-" "snapd/2.51.7 (series 16; classic) snap ubuntu/18.04 (armhf) linux/4.15.0-159-generic"
error: Get https://canonical-lgw01.cdn.snapcraftcontent.com/download-origin/canonical-lgw01/McFtwWmHVzBWwYSVtXzCdJ6Rt4STQPtl_2535.snap?token=1633698000_b64397c9f1a5c67e3502cddccb0e2ae02ce1e469: Forbidden
Error while downloading snap 'nmap' from channel 'latest/stable'
[08/Oct/2021:09:42:52 +0000] "CONNECT api.snapcraft.io:443 HTTP/1.1" 200 7525 "-" "snapd/2.51.7 (series 16; classic) snap ubuntu/18.04 (armhf) linux/4.15.0-159-generic"
[08/Oct/2021:09:42:52 +0000] "CONNECT api.snapcraft.io:443 HTTP/1.1" 200 4623 "-" "snapd/2.51.7 (series 16; classic) snap ubuntu/18.04 (armhf) linux/4.15.0-159-generic"
Build failed 

Nmap is a stage-snap in our build.

If we try to get the nmap snap manually (using the url from the logs) there is no issue downloading. e.g. https://canonical-lgw01.cdn.snapcraftcontent.com/download-origin/canonical-lgw01/McFtwWmHVzBWwYSVtXzCdJ6Rt4STQPtl_2535.snap?token=1633698000_b64397c9f1a5c67e3502cddccb0e2ae02ce1e469

Would appreciate any further help.

Bests, Juan

1 Like

see:

and: