Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

503 error from Singapore #546

Open
xris-r opened this issue Nov 2, 2024 · 8 comments
Open

503 error from Singapore #546

xris-r opened this issue Nov 2, 2024 · 8 comments

Comments

@xris-r
Copy link

xris-r commented Nov 2, 2024

I created a new site, and initially got 503 errors whenever I entered the specified URL into the browser.

Eventually I found that I could see my web pages -- if I bypassed DNS and specified a different mirror. I tried all 10 of your mirrors, and only the one in Singapore (139.59.195.30) returned a 503 error. All others returned 200.

This issue has persisted since Friday (2 days ago), when I first created the site.

This demonstrates the problem:

mirrors=(sfo lhr yyz jfk ams fra sgp blr syd nrt)
for mirror in ${mirrors[@]}; do echo -n $mirror ' '; curl -H "Host: longing-ray.surge.sh" --write-out '%{http_code}\n' -o /dev/null --silent --connect-timeout 10 ${mirror}.surge.sh; done
sfo  200
lhr  200
yyz  200
jfk  200
ams  200
fra  200
sgp  503
blr  200
syd  200
nrt  200

@fu-sen
Copy link

fu-sen commented Nov 4, 2024

I'm from Japan but it still seems to be choosing the Singapore server and I'm getting a 503.

$ dig example.surge.sh
;; ANSWER SECTION:
example.surge.sh.       301     IN      A       139.59.195.30

https://gist.github.com/sintaxi/670654550d4b30354614c7cfb72d5bf5#file-regions-txt-L10

$ curl --head  example.surge.sh
HTTP/1.0 503 Service Unavailable
Cache-Control: no-cache
Connection: close
Content-Type: text/html

@fu-sen
Copy link

fu-sen commented Nov 4, 2024

Yes, that would be correct in the context of this report.

$ curl --head -H "Host: example.surge.sh" yyz.surge.sh
HTTP/1.1 404 Not Found
Server: Surge
Surge-Cache: HIT
Surge-Stamp: 10330
Content-Type: text/html; charset=utf-8
Content-Length: 8253
ETag: W/"203d-BDTTsPJbGhhTleluWqeLfoLxZdI"
Date: Mon, 04 Nov 2024 02:31:22 GMT
Connection: close
$ curl --head -H "Host: example.surge.sh" sgp.surge.sh
HTTP/1.0 503 Service Unavailable
Cache-Control: no-cache
Connection: close
Content-Type: text/html

fu-sen added a commit to fu-sen/Surge-MkDocs that referenced this issue Nov 4, 2024
Currently, only the Singapore server returns 503, and only in some regions such as Asia.
sintaxi/surge#546
So we will confirm that it is a temporary issue and move the domain back.
@fu-sen
Copy link

fu-sen commented Nov 4, 2024

This problem appears to have been resolved.

$ curl --head -H "Host: example.surge.sh" sgp.surge.sh
HTTP/1.1 404 Not Found
Server: Surge
Surge-Cache: HIT
Surge-Stamp: 29526
Content-Type: text/html; charset=utf-8
Content-Length: 8253
ETag: W/"203d-BDTTsPJbGhhTleluWqeLfoLxZdI"
Date: Mon, 04 Nov 2024 08:46:48 GMT
Connection: close

@xris-r
Copy link
Author

xris-r commented Nov 4, 2024

Agreed - it is all fine now. Thanks.

@xris-r xris-r closed this as completed Nov 4, 2024
@xris-r xris-r reopened this Nov 7, 2024
@fu-sen
Copy link

fu-sen commented Nov 7, 2024

Because I noticed on reopen. the Singapore server sgp.surge.sh is returning 503 again.

$ curl --head sgp.surge.sh
HTTP/1.0 503 Service Unavailable
Cache-Control: no-cache
Connection: close
Content-Type: text/html

Everything is working fine except for sgp.surge.sh .

$ curl --head lhr.surge.sh
HTTP/1.1 200 OK
Server: Surge
Surge-Cache: HIT
Surge-Stamp: 10974::1582968049245
Content-Type: text/html; charset=utf-8
Content-Length: 8231
ETag: W/"2027-BQoKqAyxjDJ7oB9ej5Pjm2UmBT0"
Date: Thu, 07 Nov 2024 23:25:21 GMT
Connection: close

fu-sen added a commit to fu-sen/Surge-MkDocs that referenced this issue Nov 8, 2024
Unfortunately the 503 error occurred again on the Singapore server.
sintaxi/surge#546
I use the EU.org domain and with Surge I use custom domain deployments.
@xris-r
Copy link
Author

xris-r commented Nov 12, 2024

I think the issue with Singapore is fixed.

@fu-sen
Copy link

fu-sen commented Nov 12, 2024

Yep, there are no more servers returning 503 now.

@mulleydev
Copy link

Singapore is down with many others

sfo 504
lhr 200
yyz 504
jfk 504
ams 504
fra 504
sgp 504
blr 504
syd 504
nrt 504

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants