Subject: | Searching does not work anymore (api.metacpan.org v0 is gone) |
Trying cpans seems to fail:
$ /opt/perl-5.24.1/bin/perl /opt/perl-5.24.1/bin/cpans
malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /opt/perl-5.24.1/bin/cpans line 39.
Probably this is caused by the shutdown of the metacpan v0 API:
$ strace -eread -s512 /opt/perl-5.24.1/bin/perl /opt/perl-5.24.1/bin/cpans |& grep 410
read(3, "HTTP/1.1 410 Gone\r\nServer: Varnish\r\nRetry-After: 0\r\nContent-Type: text/html\r\nContent-Length: 557\r\nAccept-Ranges: bytes\r\nDate: Mon, 05 Jun 2017 16:15:00 GMT\r\nVia: 1.1 varnish\r\nConnection: close\r\nX-Served-By: cache-hhn1548-HHN\r\nX-Cache: MISS\r\nX-Cache-Hits: 0\r\nX-Timer: S1496679300.249647,VS0,VE1\r\n\r\n<!DOCTYPE html>\n<html>\n <head>\n <title>MetaCPAN v0 API</title>\n <style type=\"text/css\">\n body {\n font-family: sans-serif;\n }\n </style>\n <link rel=\""..., 1024) = 854