Re: [Koha] Plack down due to "GET http://swagger.io/v2/schema.json == Connect timeout"
On 1/07/20 2:39 pm, dcook@prosentient.com.au wrote:
Hi all,
As some people have noticed, http://swagger.io/v2/schema.json is currently unavailable, and this is causing new instances of Plack workers to crash. (New instances can be created by starting Plack or by long-running workers to reach their end of life number of requests.)
The issue is detailed at length in https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653.
I think the solution will be for Mason to a libjson-validator-perl package which contains a cached version of that file.
hi Folks i've updated the 'libjson-validator-perl' package to include the cache dir to update the package... $ sudo apt update $ sudo apt install libjson-validator-perl run the following command, and confirm the result... $ apt-cache policy libjson-validator-perl libjson-validator-perl: Installed: 3.06+dfsg-1+koha1 Candidate: 3.06+dfsg-1+koha1 ... cheers, Mason
Thanks, Mason! I think Mason has released a newer version now 3.23+dfsg-1+koha1, which was needed for newer versions of Ubuntu, which used newer versions of libjson-validator-perl than 3.06. So the fix now should just be: apt-get update apt-get install libjson-validator-perl David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Online: 02 8005 0595 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Mason James Sent: Wednesday, 1 July 2020 1:32 PM To: 'Koha Devel' <koha-devel@lists.koha-community.org>; koha@lists.katipo.co.nz Subject: Re: [Koha-devel] Plack down due to "GET http://swagger.io/v2/schema.json == Connect timeout" On 1/07/20 2:39 pm, dcook@prosentient.com.au wrote:
Hi all,
As some people have noticed, http://swagger.io/v2/schema.json is currently unavailable, and this is causing new instances of Plack workers to crash. (New instances can be created by starting Plack or by long-running workers to reach their end of life number of requests.)
The issue is detailed at length in https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653.
I think the solution will be for Mason to a libjson-validator-perl package which contains a cached version of that file.
hi Folks i've updated the 'libjson-validator-perl' package to include the cache dir to update the package... $ sudo apt update $ sudo apt install libjson-validator-perl run the following command, and confirm the result... $ apt-cache policy libjson-validator-perl libjson-validator-perl: Installed: 3.06+dfsg-1+koha1 Candidate: 3.06+dfsg-1+koha1 ... cheers, Mason _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
On 1/07/20 3:32 pm, Mason James wrote:
On 1/07/20 2:39 pm, dcook@prosentient.com.au wrote:
Hi all,
As some people have noticed, http://swagger.io/v2/schema.json is currently unavailable, and this is causing new instances of Plack workers to crash. (New instances can be created by starting Plack or by long-running workers to reach their end of life number of requests.)
The issue is detailed at length in https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653.
I think the solution will be for Mason to a libjson-validator-perl package which contains a cached version of that file.
hi Folks i've updated the 'libjson-validator-perl' package to include the cache dir
to update the package... $ sudo apt update $ sudo apt install libjson-validator-perl
run the following command, and confirm the result... $ apt-cache policy libjson-validator-perl libjson-validator-perl: Installed: 3.06+dfsg-1+koha1 Candidate: 3.06+dfsg-1+koha1 ...
cheers, Mason
i've updated a newer libjson-validator-perl package, to work up to debian/ubuntu 'unstable' $ sudo apt-get -y update $ sudo apt-get -y install libjson-validator-perl libmojolicious-plugin-openapi-perl you should now have similar versions as below $ apt-cache policy libjson-validator-perl libmojolicious-plugin-openapi-perl libjson-validator-perl: Installed: 3.25+dfsg-1+koha3 Candidate: 3.25+dfsg-1+koha3 Version table: *** 3.25+dfsg-1+koha3 500 500 http://debian.koha-community.org/koha stable/main amd64 Packages 100 /var/lib/dpkg/status .. libmojolicious-plugin-openapi-perl: Installed: 2.16-1+koha1 Candidate: 2.16-1+koha1 Version table: *** 2.16-1+koha1 500 500 http://debian.koha-community.org/koha stable/main amd64 Packages 100 /var/lib/dpkg/status
participants (2)
-
dcook@prosentient.com.au -
Mason James