[php-src] Issue #22827: pecl.php.net returns 504 from us-east-1 region in AWS

[email protected] (enaumov-apps) Mon, 20 Jul 2026 12:53:53 +0000
Newsgroups php.bugs
Message-ID <[email protected]>
Issue: https://github.com/php/php-src/issues/22827
Author: enaumov-apps

### Description=0A=0AThe following code:=0A=0A```=0A# curl -L https://pecl.=
php.net=0A<!DOCTYPE html>=0A<html>=0A<head>=0A    <title>504 Gateway Timeou=
t</title>=0A    <meta name=3D"viewport" content=3D"width=3Ddevice-width, in=
itial-scale=3D1" />=0A    <link rel=3D"icon" type=3D"image/png" sizes=3D"16=
x16" href=3D"https://bunnynetassets.b-cdn.net/error.png" />=0A    <script s=
rc=3D"https://bunny.net/lib/jquery/jquery.min.js"></script>=0A    <script s=
rc=3D"https://cdn.statuspage.io/se-v2.js"></script>=0A    <link rel=3D"styl=
esheet" href=3D"https://bunnynetassets.b-cdn.net/error.css">=0A</head>=0A<b=
ody>=0A    <div class=3D"hero"><div class=3D"content"><div class=3D"alert-d=
etails"><h3 class=3D"alert">ERROR 504</h3><h1>Gateway Timeout</h1><h3>We co=
uld not establish a connection to pecl.php.net</h3></div><div class=3D"row =
cards"><div class=3D"col-md g-md-1"><div class=3D"card"> <img src=3D"https:=
//bunnynetassets.b-cdn.net/icons/you.svg" alt=3D"Card Icon" /><h2>You</h2> =
<small>IP: 3.233.79.28</small></div></div><div class=3D"col-md-1 g-md-1 ico=
ns"> <img src=3D"https://bunnynetassets.b-cdn.net/icons/arrow.svg" class=3D=
"img-fluid"></div><div class=3D"col-md g-1"><div class=3D"card"> <img src=
=3D"https://bunnynetassets.b-cdn.net/icons/bunny.svg" alt=3D"Card Icon" /><=
h2>bunny.net</h2> <small>Edge Network</small></div></div><div class=3D"col-=
md-1 g-md-1 icons"> <img src=3D"https://bunnynetassets.b-cdn.net/icons/x.sv=
g" class=3D"img-fluid"></div><div class=3D"col-md g-1"><div class=3D"card">=
 <img src=3D"https://bunnynetassets.b-cdn.net/icons/origin.svg" alt=3D"Card=
 Icon" /><h2>pecl.php.net</h2> <small>Your Destination</small></div></div><=
/div> </div></div><div class=3D"final-details"><div class=3D"box"><h1>What =
happened?</h1><div class=3D"description">A timeout occured while waiting fo=
r pecl.php.net origin server to respond. The server hosting the website mig=
ht be unavailable.</div></div><div class=3D"box"><h1>What can I do?</h1><di=
v class=3D"description">If you are a visitor, please try again in a few min=
utes. If you are the administrator, please check your origin server status.=
</div></div></div>=0A</body>=0A```=0A=0ABunny CDN cannot connect to pecl.ph=
p.net from US.=0APartially, this issue appears in eu-west-1 region.=0A=0AIf=
 I replace ip addresses from Europe ip pool, all works fine:=0A```=0A# echo=
 "185.111.111.155 pecl.php.net" >> /etc/hosts=0A# curl -LI https://pecl.php=
.net/       =0AHTTP/2 200 =0Adate: Mon, 20 Jul 2026 12:51:09 GMT=0Acontent-=
type: text/html; charset=3Dutf-8=0Avary: Accept-Encoding=0Aserver: BunnyCDN=
-DE1-1329=0Acdn-pullzone: 5890715=0Acdn-requestcountrycode: UA=0Acache-cont=
rol: public, max-age=3D0=0Apragma: no-cache=0Aset-cookie: PHPSESSID=3D89fa5=
2da58637330fc8e9ce538454d44; path=3D/=0Acdn-proxyver: 1.58=0Acdn-requestpul=
lsuccess: True=0Acdn-requestpullcode: 200=0Acdn-cachedat: 07/20/2026 12:51:=
09=0Acdn-edgestorageid: 1331=0Acdn-requestid: 20ef73da8198e47f227a983ac14f8=
afc=0Acdn-cache: BYPASS=0Acdn-status: 200=0Acdn-requesttime: 0=0A```=0A=0A#=
## PHP Version=0A=0A```plain=0AAny version=0A```=0A=0A### Operating System=
=0A=0A_No response_