metacpan-web icon indicating copy to clipboard operation
metacpan-web copied to clipboard

Example gives Error 503 first byte timeout

Open jimav opened this issue 1 year ago • 3 comments

At https://metacpan.org/about/missing_modules it says that pod-only modules must contain a package and that one should look at https://metacpan.org/pod/Catalyst::Manual as an example of how to do that.

But clicking the link given (to Catalyst::Manual) leads to

Error 503 first byte timeout

first byte timeout
Error 54113

Details: cache-pao-kpao1770060-PAO 1727653822 3571052049

Varnish cache server

Many similar links found by web searches lead the the same error. Try searching for "perl Catalyst::Manual" with DuckDuckGo and click the top few links (all end with this error)

Steps to reproduce

  1. Visit https://metacpan.org/about/missing_modules
  2. Click the link to Catalyst::Manual in the "Is the distribution POD only" paragraph

Desktop

Ubuntu 24.04 Firefox 129.0.2 (64 bit)

Additional context

My real goal is to find out why https://metacpan.org/pod/ODF::lpOD_Helper::Unicode gives the same error. ODF::lpOD_Helper::Unicode is just a Unicode.pod file, distributed as part of the ODF::lpOD_Helper distribution (which is a normal full-of-code package)

jimav avatar Sep 30 '24 00:09 jimav

I think this is a general issue. Probably due to caching it's not happening everywhere.

oalders avatar Sep 30 '24 01:09 oalders

Related:

  • #3059
  • #2994

In the meantime, you can use a Wayback Machine archive of a page, e.g., https://web.archive.org/web/20240917125120/https://metacpan.org/pod/HTTP::Cookies.

Since search isn't working either, try site:metacpan.org search terms in your favorite search engine, e.g, https://duckduckgo.com/?q=site%3Ametacpan.org+html+parser, then prepend

https://web.archive.org/web/*/

to the URL that best matches your query. This yields a list of snapshots for that page in Wayback Machine. A browser extension like Resurrect Pages simplifies this process somewhat.

ernstki avatar Sep 30 '24 02:09 ernstki

Yes, I've been having issues accessing metacpan all weekend.

tobyink avatar Sep 30 '24 07:09 tobyink

We've got better monitoring in now so we are aware when it happens and this doesn't happen as often as it used to so closing.

That's not to say it's fully solved, but it is better and we have visability

ranguard avatar May 01 '25 06:05 ranguard

For what it's worth, I'm seeing this again. I'm not using MetaCPAN regularly, so it's hard for me to say if it's just intermittent, or persistent.

https://metacpan.org/search?q=Cwd

cf. https://duckduckgo.com/?q=site:metacpan.org+cwd

ernstki avatar May 21 '25 18:05 ernstki

And again today (in the last 10 minutes, anyway).

TBF, the site has generally been more available over the past 8 or 9 months but this is still an unsolved problem.

openstrike avatar May 22 '25 21:05 openstrike

We have a 3rd party setting up AI Bot blocking (we think causing outages) but will take a few days.

We are also setting up more logging (service donated by DataDog) to help identify root cause better.

ranguard avatar May 23 '25 14:05 ranguard

Whatever the problem is, it has been occurring on and off both yesterday and today. Typically, I wait a minute or two, and things are working again. But it's increasingly frustrating.

ajmetz avatar May 25 '25 13:05 ajmetz

@ranguard does the bot blocking use AI, or is it blocking bots that are for AI?

guest20 avatar May 25 '25 13:05 guest20

It will be able to block AI bots - that said I did more digging today, found a few bad scrapers and blocked those, found one server was in swap (but with 28G free!) so cleared that down

I also setup to have all logs from our CDN (not just errors) going to DataDog - but having to learn how to use that to find patterns and nothing so far

We have identified it is the api (not web front end) where the issue is originating which rules out a load of stuff

But we are still getting these, will be looking more when we have time

ranguard avatar May 25 '25 13:05 ranguard

@ranguard It's appreciated. Thanks to all for your efforts.

ernstki avatar May 31 '25 20:05 ernstki

@ernstki cheers - we are still trying - hope to get somewhere next week

ranguard avatar May 31 '25 21:05 ranguard