[Koha-bugs] [Bug 23653] New: Plack stopped working - JSON validation timeout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 20 10:32:50 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653

            Bug ID: 23653
           Summary: Plack stopped working - JSON validation timeout
 Change sponsored?: ---
           Product: Koha
           Version: 19.05
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: rick_conrad at sil.org
        QA Contact: testopia at bugs.koha-community.org

I had plack working fine before this morning, but now if I have plack enabled,
Koha does not respond to web requests, and apache eventually shows me a 502.
These are the entries from plack-error.log. I don't know what swagger.io is -
seems there is such a website, but I can't `curl` it from the webserver, at
least right now.

plack-error.log
````
Error while loading /etc/koha/plack.psgi: Can't load application from file
"/usr/share/koha/api/v1/app.pl": [JSON::Validator] GET
http://swagger.io/v2/schema.json == Inactivity timeout at
/usr/share/perl5/JSON/Validator.pm line 274.
Compilation failed in require at (eval 389) line 1.
Child process 3159 exited with status 255
````

The only change I made this morning was changing the server's timezone, but I
doubt that's related. I did put it back to UTC, but no improvement. Disabling
plack works for me, but my site is a lot slower (and it wasn't real quick to
begin with).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list