You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Security CheckOur systems have detected unusual traffic from your computer network. This page checks to see if it is really you sending the requests and not a bot.Please click here to verify that you are not a bot. Browser Working Myra Working Host WorkingWhat happened?You ran into a security check to verify the validity of your request.What can I do?If you are a visitor of this website:You must confirm that you are human.If you are the owner of this website:Please check your security settings.
Headers are:
`resolving server address: www.php.net:443
SSL options: 82004854
Peer verification enabled
Using CA cert file: /usr/local/etc/ssl/cert.pem
Verify hostname
TLSv1.2 connection established using ECDHE-RSA-AES128-GCM-SHA256
Certificate subject: /CN=*.php.net
Certificate issuer: /C=PL/O=Unizeto Technologies S.A./OU=Certum Certification Authority/CN=Certum Domain Validation CA SHA2
requesting https://www.php.net/distributions/php-7.4.27.tar.xz
GET /distributions/php-7.4.27.tar.xz HTTP/1.1
Host: www.php.net
Accept: /
User-Agent: fetch libfetch/2.0
Connection: close
In case someone is already investigating I believe the problem is with http1.1 vs http2. In case we try curl with --http1.1 it also fails with the same errors.
Sometimes, node.js also gets blocked nodejs/help#4516 - seemingly by TLS fingerprints. It gets blocked, then, after a few days, unblocked, then some day blocked again.
If blocking by TLS fingerprint, switching to a different HTTP version likely won't help (although I can't recall if I tried it last time).
Is it really not possible to tweak the configuration not to block PHP downloads (both tarballs and the https://www.php.net/downloads.php)?
Our CDN sometimes realises big spikes from networks, and then puts this up. I can turn this off, but only for all urls, not specific ones. And I don't really want to do that, so I'm going to have to close this ticket.
So, any CI builds are stuck at this point.
I'm not sure if tarballs shouldn't be behind a CDN instead of something blocking robotic access? I think there are many ways to secure even tarball downloads from excessive usage.
Activity
cmb69 commentedon Dec 26, 2021
curl -A "fetch libfetch/2.0" --output php-7.4.27.tar.xz https://www.php.net/distributions/php-7.4.27.tar.xzworks for me. What am I missing?cmb69 commentedon Dec 26, 2021
Is this possibly certificate related?
dsh2dsh commentedon Dec 26, 2021
I can confirm:
olegsidorkin commentedon Dec 26, 2021
wget https://www.php.net/distributions/php-7.4.27.tar.xz - does work
fetch -vvvv https://www.php.net/distributions/php-7.4.27.tar.xz - doesn't. It successfully establishes connection and then fails:
Security CheckOur systems have detected unusual traffic from your computer network. This page checks to see if it is really you sending the requests and not a bot.Please click here to verify that you are not a bot. Browser Working Myra Working Host WorkingWhat happened?You ran into a security check to verify the validity of your request.What can I do?If you are a visitor of this website:You must confirm that you are human.If you are the owner of this website:Please check your security settings.Headers are:
`resolving server address: www.php.net:443
SSL options: 82004854
Peer verification enabled
Using CA cert file: /usr/local/etc/ssl/cert.pem
Verify hostname
TLSv1.2 connection established using ECDHE-RSA-AES128-GCM-SHA256
Certificate subject: /CN=*.php.net
Certificate issuer: /C=PL/O=Unizeto Technologies S.A./OU=Certum Certification Authority/CN=Certum Domain Validation CA SHA2
requesting https://www.php.net/distributions/php-7.4.27.tar.xz
<<< HTTP/1.1 503 Service Temporarily Unavailable
<<< Server: myracloud
<<< Date: Sun, 26 Dec 2021 16:05:06 GMT
<<< Content-Type: text/html
<<< Transfer-Encoding: chunked
<<< Connection: close
<<< cache-control: no-cache, no-store, max-age=0
<<< X-Frame-Options: SAMEORIGIN
<<< X-Content-Type-Options: nosniff
<<< X-XSS-Protection: 1; mode=block`
cmb69 commentedon Dec 26, 2021
Ah, so this would be a systems issue. Maybe @saschaschumann can have a look?
5u623l20 commentedon Dec 26, 2021
I have tried changing user agent of fetch too with no results:
fetch -vvvvv --user-agent="curl/7.80.0" https://www.php.net/distributions/php-8.1.1.tar.xz
scheme: "https"
user: ""
password: ""
host: "www.php.net"
port: "0"
document: "/distributions/php-8.1.1.tar.xz"
---> www.php.net:443
resolving server address: www.php.net:443
SSL options: 82004854
Peer verification enabled
Using CA cert file: /usr/local/etc/ssl/cert.pem
Verify hostname
TLSv1.2 connection established using ECDHE-RSA-AES128-GCM-SHA256
Certificate subject: /CN=*.php.net
Certificate issuer: /C=PL/O=Unizeto Technologies S.A./OU=Certum Certification Authority/CN=Certum Domain Validation CA SHA2
requesting https://www.php.net/distributions/php-8.1.1.tar.xz
<<< HTTP/1.1 503 Service Temporarily Unavailable
<<< Server: myracloud
<<< Date: Sun, 26 Dec 2021 16:30:08 GMT
<<< Content-Type: text/html
<<< Transfer-Encoding: chunked
<<< Connection: close
<<< cache-control: no-cache, no-store, max-age=0
<<< X-Frame-Options: SAMEORIGIN
<<< X-Content-Type-Options: nosniff
<<< X-XSS-Protection: 1; mode=block
<<<
offset 0, length -1, size -1, clength -1
<<< 7738
Fix fetch for php*
5u623l20 commentedon Dec 26, 2021
In case someone is already investigating I believe the problem is with http1.1 vs http2. In case we try curl with --http1.1 it also fails with the same errors.
Netgate note:
amezin commentedon Jan 17, 2025
It's not only libfetch
Sometimes, node.js also gets blocked nodejs/help#4516 - seemingly by TLS fingerprints. It gets blocked, then, after a few days, unblocked, then some day blocked again.
If blocking by TLS fingerprint, switching to a different HTTP version likely won't help (although I can't recall if I tried it last time).
Is it really not possible to tweak the configuration not to block PHP downloads (both tarballs and the https://www.php.net/downloads.php)?
What's the point of having things like https://www.php.net/releases/index.php?json if automatic fetches get blocked anyway
derickr commentedon Aug 18, 2025
Our CDN sometimes realises big spikes from networks, and then puts this up. I can turn this off, but only for all urls, not specific ones. And I don't really want to do that, so I'm going to have to close this ticket.
damiankeska-intellistack commentedon Mar 3, 2026
AWS is offering a PHP environment in CodeBuild for years but... today we got blocked.
So, any CI builds are stuck at this point.
I'm not sure if tarballs shouldn't be behind a CDN instead of something blocking robotic access? I think there are many ways to secure even tarball downloads from excessive usage.
Fix fetch for php*