Download of sof-imx-1.5.0-2.tar.gz Fails

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

Download of sof-imx-1.5.0-2.tar.gz Fails

Jump to solution
7,291 Views
maxkrummenacher
Contributor III

Hi

When I try to build sof-imx with the NXP Yocto BSP zeus-5.4.47-2.2.0 the fetch of sof-imx-1.5.0-2.tar.gz fails with http error 303.

If I try to execute wget manually I do get the same error. Other files, e.g. sof-imx-1.5.0-3.tar.gz from the same NXP server can be fetched. Strangely enough on my home PC I get a different IP (95.100.57.159) for www.nxp.com and wget downloads the file successfully.

Is there some synchronization issue on the server with IP 2.19.72.166?

$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/sof-imx-1.5.0-2.tar.gz
--2021-01-19 19:29:07--  https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/sof-imx-1.5.0-2.tar.gz
Resolving www.nxp.com (www.nxp.com)... 2.19.72.166
Connecting to www.nxp.com (www.nxp.com)|2.19.72.166|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
2021-01-19 19:29:08 ERROR 304: Not Modified.

$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/sof-imx-1.5.0-3.tar.gz
--2021-01-19 19:29:11--  https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/sof-imx-1.5.0-3.tar.gz
Resolving www.nxp.com (www.nxp.com)... 2.19.72.166
Connecting to www.nxp.com (www.nxp.com)|2.19.72.166|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 402594 (393K) [application/x-gzip]
Saving to: ‘sof-imx-1.5.0-3.tar.gz.2’

sof-imx-1.5.0-3.tar 100%[===================>] 393.16K  --.-KB/s    in 0.02s

2021-01-19 19:29:11 (25.4 MB/s) - ‘sof-imx-1.5.0-3.tar.gz.2’ saved [402594/402594]

Thanks. 

0 Kudos
Reply
1 Solution
7,247 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

You need to start with clean package deleted all the cache, looks like your proxy is the issue since I can download it in my side.

 

Regards

 

View solution in original post

14 Replies
4,100 Views
y_uehara
NXP Employee
NXP Employee

It works for me.

 

add this line to local.conf

FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 30 --passive-ftp --post-data=0"

 

0 Kudos
Reply
4,538 Views
longbow
Contributor I

Got the same today

wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.1.0.tar.gz
--2022-09-21 23:45:03--  https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-zephyr-2.1.0.tar.gz
Resolving www.nxp.com (www.nxp.com)... 92.123.29.39
Connecting to www.nxp.com (www.nxp.com)|92.123.29.39|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
2022-09-21 23:45:04 ERROR 304: Not Modified.

 

0 Kudos
Reply
5,684 Views
fabatera
Contributor II

Same problem here but with sof-imx_1.6.0-1.bb

It works with sof-imx-1.9.0-1-r0 though

0 Kudos
Reply
5,756 Views
ziv_chen
Contributor I

I have the same issue.

It seems nothing to do with client side even I disable the cache while using wget and curl.

Is there any mirror site available to finish the download of sof-imx?

0 Kudos
Reply
7,123 Views
m_c
Senior Contributor I

I have same issue today.

mike@box595:~$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-imx-1.5.0-2.tar.gz
--2021-04-01 09:48:53-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-imx-1.5.0-2.tar.gz
Resolving www.nxp.com (www.nxp.com)... 184.86.235.222
Connecting to www.nxp.com (www.nxp.com)|184.86.235.222|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 400168 (391K) [application/x-gzip]
Saving to: ‘sof-imx-1.5.0-2.tar.gz’

sof-imx-1.5.0-2.tar.gz 100%[===================================================================>] 390.79K --.-KB/s in 0.01s

2021-04-01 09:48:53 (38.7 MB/s) - ‘sof-imx-1.5.0-2.tar.gz’ saved [400168/400168]

mike@box595:~$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-imx-1.5.0-3.tar.gz
--2021-04-01 09:48:58-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-imx-1.5.0-3.tar.gz
Resolving www.nxp.com (www.nxp.com)... 184.86.235.222
Connecting to www.nxp.com (www.nxp.com)|184.86.235.222|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
2021-04-01 09:48:58 ERROR 304: Not Modified.

mike@box595:~$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-imx-1.5.0-3.tar.gz
--2021-04-01 09:50:47-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-imx-1.5.0-3.tar.gz
Resolving www.nxp.com (www.nxp.com)... 184.86.235.222
Connecting to www.nxp.com (www.nxp.com)|184.86.235.222|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
2021-04-01 09:50:47 ERROR 304: Not Modified.

0 Kudos
Reply
7,161 Views
edouard_charvet
Contributor III

Hi,

I got the same issue, when fetching https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-imx-1.5.0-3.tar.gz, it fails with error:

Resolving www.nxp.com (www.nxp.com)... 104.66.197.198
Connecting to www.nxp.com (www.nxp.com)|104.66.197.198|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
2021-03-22 07:48:03 ERROR 304: Not Modified.

 

I could fix it by forcing the DNS resolution to another IP address for the www.nxp.com URL by editing /etc/hosts to add a line like:

<ip_address> www.nxp.com

For instance for it to work I added the line : 104.73.52.191 www.nxp.com

Just for information if that could help anybody... There must be something weird with some NXP servers...

5,960 Views
chestonchow
Contributor I

I can confirm this works for me. But getting a new IP address for www.nxp.com requires me to connect to a different network. Not sure what's best way to do this.

0 Kudos
Reply
7,284 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello maxkrummenacher,

 

You should try it again, is probably a issue with the network. I can download it as usual.

 

Regards

 

0 Kudos
Reply
7,279 Views
maxkrummenacher
Contributor III

Hello @Bio_TICFSL 

Nothing changed for me.
If DNS resolves to the IP 2.19.72.166 then sof-imx-1.5.0-2.tar.gz download fails with error 304.

Thanks

Max

0 Kudos
Reply
7,262 Views
Brt
Contributor I

Hi @maxkrummenacher @Bio_TICFSL ,

Currently, I have same problem while trying to build fsl-image-gui:

ERROR: sof-imx-1.5.0-2-r0 do_fetch: Fetcher failure for URL: 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-imx-1.5.0-2.tar.gz'. Unable to fetch URL from any source.


--2021-01-21 07:14:52-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//sof-imx-1.5.0-2.tar.gz
Resolving www.nxp.com (www.nxp.com)... 2.19.72.166
Connecting to www.nxp.com (www.nxp.com)|2.19.72.166|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
2021-01-21 07:14:53 ERROR 304: Not Modified.

0 Kudos
Reply
7,248 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

You need to start with clean package deleted all the cache, looks like your proxy is the issue since I can download it in my side.

 

Regards

 

6,814 Views
PrzemyslawSzulczynski
Contributor I

Hi, this sometimes happens still on our CI for sof-imx-1.5.0-3.tar.gz

What is strange it only happens for this single sof-imx package on NXP servers.

The workaround is to force cleanall of the sof-imx recipe before triggering the build.

$ bitbake -c cleanall sof-imx

p.s. 

`$ bitbake -c cleanstate sof-imx` did not help.

 

 

 

6,803 Views
yoshi
NXP Employee
NXP Employee

Hi @PrzemyslawSzulczynski 

I had a same problem before, though I can not reproduce it now. I modified yocto recipe to workaround the 304 error at that time. See attached.

Best Regards,
Yoshi

 

7,233 Views
maxkrummenacher
Contributor III

Hi

I'm not aware that the company network would have a cache.

Today the download works. Maybe caused by the DNS returning another server (184.24.6.157). So for me the issue is solved.

Thanks.