Hi Owen,

Maybe just write Tim a mail and ask him to put us on his cloudflare allowlist.
Maybe we should also send a more specific user agent when requesting 3rd party APIs in general.
Just a thought, though. Really only confirming what you already proposed.

Kind regards

Paul
--
LMSCloud GmbH
Paul Derscheid - Software Engineer
Bismarckstr. 3 -  D-72764 Reutlingen
m +49 174 2436308
e paul.derscheid@lmscloud.de
w www.lmscloud.de

On 29. Sep 2023, at 13:10, Owen Leonard <oleonard@myacpl.org> wrote:

I noticed recently that requests to LibraryThing's ThingISBN service
are being blocked. Koha tries to access a url like this:

https://www.librarything.com/api/thingISBN/0439139600

...which opens fine in a browser, but triggers the response "WARNING:
URL Request Failed 403 Forbidden" when Koha tries it.

Koha is currently sending the user agent "libwww-perl/6.52" and if I
use Firefox's developer tools to load the page with that set as a
custom user agent I get a CloudFlare-generated "access denied"
message.

I see other CloudFlare customers complaining about this, so it may
just be a default. Should we ask LibraryThing to change their
configuration? Should we send a less obtrusive user agent with the
request?

-- Owen

--
Web Developer
Athens County Public Libraries
(740) 737-6006
https://www.myacpl.org
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/