Error building with Yocto: cannot download sof-zephyr-2.3.0.tar.gz

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error building with Yocto: cannot download sof-zephyr-2.3.0.tar.gz

582 Views
Borkhuis
Contributor II

Hello,

 

While building an image for the iMX8plus EVK my build failed while trying to download the file sof-zephyr-2.3.0.tar.gz:

ERROR: sof-zephyr-2.3.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.3.0.tar.gz')

I work together with some colleagues in the US (I am in Europe), and they did not have this issue. When I used my VPN connection to a US server I was also able to download, so it looks like the server used in Europe has issues with this file.

Some logging, this is using without VPN:

$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.3.0.tar.gz
--2023-04-13 14:16:32-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.3.0.tar.gz
Resolving www.nxp.com (www.nxp.com)... 23.2.209.151
Connecting to www.nxp.com (www.nxp.com)|23.2.209.151|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
2023-04-13 14:16:32 ERROR 304: Not Modified.

When using the US VPN server I get this as a response:

$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.3.0.tar.gz
--2023-04-13 16:06:05-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.3.0.tar.gz
Resolving www.nxp.com (www.nxp.com)... 184.87.154.108
Connecting to www.nxp.com (www.nxp.com)|184.87.154.108|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 528733 (516K) [application/x-gzip]
Saving to: ‘sof-zephyr-2.3.0.tar.gz’

sof-zephyr-2.3.0.tar.gz 100%[============================================================================================>] 516.34K 527KB/s in 1.0s

2023-04-13 16:06:07 (527 KB/s) - ‘sof-zephyr-2.3.0.tar.gz’ saved [528733/528733]

The IP address of the servers used is different (Europe is 23.2.209.151, US is 184.87.154.108), which are both Akamai IP addresses.

Has there been an issue with mirroring between different servers?

0 Kudos
4 Replies

538 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi 

Are all the same result as:  HTTP request sent, awaiting response... 304 Not Modified? 

 

Best regards

Harvey

0 Kudos

531 Views
Borkhuis
Contributor II

As far as I know: yes. When using wget I got the same response, and when checking with Firefox I also see the 304 reply.

But I also notice that now the download seems to work most of the times.

 

Regards,

Johan

0 Kudos

559 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @Borkhuis 

I think the error "HTTP request sent, awaiting response... 304 Not Modified" is more likely that the problem is on your client. According to this error, you can try to add the --no-cache option or download directly through the browser.

 

Best regards

Harvey

0 Kudos

550 Views
Borkhuis
Contributor II

Harvey,

 

Thank you for your reply. I tested this on several different computers, with and without VPN and using different browsers and they all gave the same result, with the exception of the VPN connection to the US.

 

Regards,

Johan

0 Kudos