Edit report at https://bugs.php.net/bug.php?id=81056&edit=1

 ID:                 81056
 Updated by:         [email protected]
 Reported by:        fred5 at originsystems dot co dot za
 Summary:            wget no longer works to download a PHP version.
 Status:             Open
 Type:               Bug
 Package:            Website problem
 PHP Version:        8.0.6
 Block user comment: N
 Private report:     N

 New Comment:

Oh, and to your first item: Yes, the mirrors have all been retired. There IS a 
CDN in front of the main php.net server, so the effect is much the same, and 
it's possible the 503 errors you're getting are from them (which will make 
diagnosis more tricky).


Previous Comments:
------------------------------------------------------------------------
[2021-05-19 19:52:54] [email protected]

Just tried my local system and it worked fine, so there's something else up.

$ wget --verbose https://www.php.net/distributions/php-8.0.6.tar.gz
--2021-05-19 19:47:43--  https://www.php.net/distributions/php-8.0.6.tar.gz
Resolving www.php.net (www.php.net)... 185.85.0.29, 2a02:cb40:200::1ad
Connecting to www.php.net (www.php.net)|185.85.0.29|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17184903 (16M) [application/octet-stream]
Saving to: ‘php-8.0.6.tar.gz’

php-8.0.6.tar.gz                        
100%[===============================================================================>]
  16.39M  5.53MB/s    in 3.0s    

2021-05-19 19:47:51 (5.53 MB/s) - ‘php-8.0.6.tar.gz’ saved 
[17184903/17184903]


Sadly, `wget --verbose` doesn't seem to give a lot of detail.  I wonder if 
using curl works.  If not, maybe looking at the output of `curl --verbose` 
would provide more insight.

curl --verbose -O https://www.php.net/distributions/php-8.0.6.tar.gz

------------------------------------------------------------------------
[2021-05-19 19:46:24] fred5 at originsystems dot co dot za

This bug was raised in 2015 but closed. 

In those days there were mirrors which worked so it was much less of a problem 
for people with automated builds.

That no longer applies so I believe it is an issue for which re-assessment 
would be beneficial.

------------------------------------------------------------------------
[2021-05-19 19:41:22] fred5 at originsystems dot co dot za

Description:
------------
We have been downloading PHP via wget in an automated fashion from mirror sites 
for years.

"suddenly" 2 things have happened:
1. mirror sites have disappeared, leaving only php.net
2. wget fails against php.net as follows:

# wget https://www.php.net/distributions/php-8.0.6.tar.gz
--2021-05-19 21:36:02--  https://www.php.net/distributions/php-8.0.6.tar.gz
Resolving www.php.net (www.php.net)... 185.85.0.29, 2a02:cb40:200::1ad
Connecting to www.php.net (www.php.net)|185.85.0.29|:443... connected.
HTTP request sent, awaiting response... 503 Service Temporarily Unavailable
2021-05-19 21:36:03 ERROR 503: Service Temporarily Unavailable.

I know this is specific to wget because clicking on the download link via the 
browser downloads the file perfectly.

I am raising this as it causes significant issues for our automated build - and 
I'm sure for anyone else who has an automated build.

Any help would be greatly appreciated.




------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=81056&edit=1

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to