[Bug 37839] New: /api endpoint stops working on strict firewall
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37839 Bug ID: 37839 Summary: /api endpoint stops working on strict firewall Change sponsored?: --- Product: Koha Version: 23.11 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: adifbbk1@gmail.com QA Contact: testopia@bugs.koha-community.org CC: tomascohen@gmail.com Created attachment 171045 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171045&action=edit Screenshot of the issue My firewall doesn't allow access to the site http://json-schema.org/draft-04/schema and the Koha logs shows below- Warning: "Could not load REST API spec bundle: GET http://json-schema.org/draft-04/schema: Service unavailable at /usr/share/perl5/JSON/Validator/Store.pm line 190. And, the /api endpoint now suddenly stops working. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37839 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #1 from David Cook <dcook@prosentient.com.au> --- Try running an "apt upgrade". There should be a new libjson-validator-perl project which comes with cached JSON schema so you shouldn't have to fetch it remotely anymore. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37839 Aditya <adifbbk1@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Aditya <adifbbk1@gmail.com> --- Problem resolved. Issue: installed libjson-validator-perl version: "5.99+really5.14-koha2" Solution: sudo apt update && sudo apt upgrade apt-cache policy libjson-validator-perl # This should return version 5.99+really5.14-koha3 or above Alternate Solution (if above does not work, like me): wget https://debian.koha-community.org/koha/pool/main/libj/libjson-validator-perl... && sudo apt install ./libjson-validator-perl_5.99+really5.14-koha3_all.deb -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37839 Emily Lamancusa (emlam) <emily.lamancusa@montgomerycountymd.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42778 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42778 [Bug 42778] Editing SIP configuration through staff interface can silently change default behavior on upgraded systems -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37839 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|42778 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42778 [Bug 42778] Editing SIP configuration through staff interface can silently change default behavior on upgraded systems -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org