madsen/cpan-once-a-week-data

PAUSE outage 2014-07-19

Closed this issue · 4 comments

Today, PAUSE has been only partially operational. You can upload a file, but the indexer eventually returns an error message instead of indexing it. I believe this is due to the scheduled maintenance on perl.org.

So, I'm invoking the PAUSE outage rules:

Should an official PAUSE outage occur and I can, hand on my heart, claim that that stopped me uploading, I will give myself a grace period of forty eight hours after either the end of the outage or the end of the previous week (whichever is longer) to complete the upload. In this situation this upload will count for the previous week and an upload will still have to be made for the week that upload took place in.

This will be handled by manually editing the release date of distributions affected by the outage. If you want to have your dist backdated, add a comment to this issue listing the filename. At the moment, PAUSE is still not functional, so I don't know what the new deadline will be.

To see if PAUSE is functioning, you can tail its log. If you see a bunch of lines saying error[LWP::Protocol::MyFTP: connect: Connection refused] then it's not working yet.

Dist-Zilla-Plugin-MatchManifest-4.02.tar.gz
originally uploaded at 2014-07-19 16:32:50 UTC
MD5:  59ddb5d3469baba6a2b096ee790b69ec
SHA1: a4b44be3e97e73c28ed9a64a43ee3472ea703aec

For anyone else reading this, there's a trick you can use in the interim while the local FTP service is down:

  1. Upload your release to some other publicly accessible HTTP server ( I for instance threw it up on github pages )
  2. Visit https://pause.perl.org/pause/authenquery?ACTION=add_uri
  3. Paste a URI to the file to upload here:

screenshot-area-2014-07-20-183946

And that subsequently seems to work:

screenshot-area-2014-07-20-184153

The people still surviving on the once-a-day table used this technique:

screenshot-area-2014-07-20-184302

You could also plausibly exploit the fact after uploading to PAUSE, the files appear to be visible on this HTTP server prior to indexing, and its just the FTP service that is missing, but I have not tried this approach.

Ok, just reporting back on the trick I suspected might work, and does: If you don't have access to an HTTP server, you can trick PAUSE into working simply as follows:

  1. Upload using cpan-upload as usual screenshot-area-2014-07-20-231216
  2. Verify the file on the server by visiting http://pause.perl.org/incoming/ screenshot-area-2014-07-20-231238
  3. Observe the failure in the log: screenshot-area-2014-07-20-231312
  4. Head to the "fix upload page" https://pause.perl.org/pause/authenquery?ACTION=edit_uris
  5. Add the prefix http://localhost/incoming/ to the existing URI as follows: screenshot-area-2014-07-20-232844
  6. Hit the OK button, wait 15 minutes for the reindex walk to hit:
    screenshot-area-2014-07-20-235658
  7. Observe success:
    screenshot-area-2014-07-20-235815
    screenshot-area-2014-07-20-235926
    screenshot-area-2014-07-21-000947