I previously posted about getting a bad request error on PKP PN: https://forum.pkp.sfu.ca/t/ojs-3-3-0-10-pkp-pn-bad-request-error/73058
At the end of that thread I thought it was fixed but it turns I was wrong. We thought that the error might be due to the journal not being public. And on 10 May I republished the the issues as public and reset the deposit.
My log files from 10 May show that the main deposits I’m concerned about were OK:
[2022-05-10 07:08:32] [Notice] Task process started.
[2022-05-10 07:08:32] [Notice] PLN Depositor executeActions started
[2022-05-10 07:08:32] [Notice] Depositor processing for Neuroanatomy and Behaviour.
[2022-05-10 07:08:32] [Notice] Getting service document.
[2022-05-10 07:08:35] [Notice] Processing deposit status updates.
[2022-05-10 07:08:35] [Notice] Trying status update for 6 (Issue: 6) (Local Status: [Transferred], Processing Status: [Sent to LOCKSS], Lockss Status: [Unknown])
[2022-05-10 07:08:37] [Notice] Processing status got for 6 -> (deposited)
[2022-05-10 07:08:37] [Notice] Deposit 6 has unknown LOCKSS state inProgress
[2022-05-10 07:08:37] [Notice] Processing updated content.
[2022-05-10 07:08:37] [Notice] Processing new content.
[2022-05-10 07:08:37] [Notice] Packaging content for deposit.
[2022-05-10 07:08:37] [Notice] Sending deposits to the PKP PN.
[2022-05-10 07:08:37] [Notice] Depositor processing for Journal for Reproducibility in Neuroscience.
[2022-05-10 07:08:37] [Notice] Getting service document.
[2022-05-10 07:08:37] [Notice] Processing deposit status updates.
[2022-05-10 07:08:37] [Notice] Processing updated content.
[2022-05-10 07:08:37] [Notice] Processing new content.
[2022-05-10 07:08:37] [Notice] Packaging content for deposit.
[2022-05-10 07:08:37] [Notice] Sending deposits to the PKP PN.
[2022-05-10 07:08:37] [Notice] Task process stopped.
However, I noticed that after a few days that the journal wasn’t showing up on the nightly list. So I checked the plugin status again and it was showing the “PKP PLN does not know about this journal yet” error. I then reset the deposits and now I’m back to square 1 with the bad request errors:
The Ts&Cs have all been accepted:
I have a Cloudflare firewall rule to let the PKP PN bot bypass their security:
But I’m still getting the same errors:
[2022-05-16 08:15:00] [Notice] Task process started.
[2022-05-16 08:15:00] [Notice] PLN Depositor executeActions started
[2022-05-16 08:15:00] [Notice] Depositor processing for Neuroanatomy and Behaviour.
[2022-05-16 08:15:00] [Notice] Getting service document.
[2022-05-16 08:15:02] [Notice] Processing deposit status updates.
[2022-05-16 08:15:02] [Notice] Trying status update for 6 (Issue: 6) (Local Status: [Transferred], Processing Status: [Sent to LOCKSS], Lockss Status: [Unknown])
[2022-05-16 08:15:03] [Notice] Processing status got for 6 -> (deposited)
[2022-05-16 08:15:03] [Notice] Deposit 6 has unknown LOCKSS state inProgress
[2022-05-16 08:15:03] [Notice] Processing updated content.
[2022-05-16 08:15:03] [Notice] Processing new content.
[2022-05-16 08:15:03] [Notice] Packaging content for deposit.
[2022-05-16 08:15:03] [Notice] Sending deposits to the PKP PN.
[2022-05-16 08:15:03] [Notice] Depositor processing for Journal for Reproducibility in Neuroscience.
[2022-05-16 08:15:03] [Notice] Getting service document.
[2022-05-16 08:15:03] [Notice] Processing deposit status updates.
[2022-05-16 08:15:03] [Notice] Processing updated content.
[2022-05-16 08:15:03] [Notice] Processing new content.
[2022-05-16 08:15:03] [Notice] Packaging content for deposit.
[2022-05-16 08:15:03] [Notice] Trying package deposit 4 (Issue: 4) (Local Status: [New], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-05-16 08:15:05] [Notice] Packaging for deposit 4 succeeded
[2022-05-16 08:15:05] [Notice] Trying package deposit 5 (Issue: 5) (Local Status: [New], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-05-16 08:15:06] [Notice] Packaging for deposit 5 succeeded
[2022-05-16 08:15:06] [Notice] Sending deposits to the PKP PN.
[2022-05-16 08:15:06] [Notice] Trying transfer deposit 4 (Issue: 4) (Local Status: [Packaged], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-05-16 08:15:06] [Notice] Posting the Atom file to staging server for deposit 4 (Local Status: [Packaged], Processing Status: [Unknown], Lockss Status: [Unknown]) - (Url: [http://pkp-pln.lib.sfu.ca/api/sword/2.0/col-iri/54960F22-A02D-4480-97B7-374EA389EDDD], AtomPath: [/var/www/files/journals/4/pln/140E2B1C-D0F3-47E1-90EF-8B5A5BBABF4A/140E2B1C-D0F3-47E1-90EF-8B5A5BBABF4A.xml], Method: [PostFile])
[2022-05-16 08:15:07] [Notice] Posting the Atom file to staging server for deposit 4 failed (Error: [Client error: `POST http://pkp-pln.lib.sfu.ca/api/sword/2.0/col-iri/54960F22-A02D-4480-97B7-374EA389EDDD` resulted in a `400 Bad Request` response:
<?xml version="1.0" encoding="utf-8"?>
<sword:error xmlns="http://www.w3.org/2005/Atom"
xmlns:sword="http://purl. (truncated...)
- []])
[2022-05-16 08:15:07] [Notice] Network error Client error: `POST http://pkp-pln.lib.sfu.ca/api/sword/2.0/col-iri/54960F22-A02D-4480-97B7-374EA389EDDD` resulted in a `400 Bad Request` response:
<?xml version="1.0" encoding="utf-8"?>
<sword:error xmlns="http://www.w3.org/2005/Atom"
xmlns:sword="http://purl. (truncated...)
connecting to the PKP PN to send the deposit.
[2022-05-16 08:15:07] [Notice] Trying transfer deposit 5 (Issue: 5) (Local Status: [Packaged], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-05-16 08:15:07] [Notice] Posting the Atom file to staging server for deposit 5 (Local Status: [Packaged], Processing Status: [Unknown], Lockss Status: [Unknown]) - (Url: [http://pkp-pln.lib.sfu.ca/api/sword/2.0/col-iri/54960F22-A02D-4480-97B7-374EA389EDDD], AtomPath: [/var/www/files/journals/4/pln/E71FFA89-C1E2-44CA-9FE5-D9AA5AA813F4/E71FFA89-C1E2-44CA-9FE5-D9AA5AA813F4.xml], Method: [PostFile])
[2022-05-16 08:15:07] [Notice] Posting the Atom file to staging server for deposit 5 failed (Error: [Client error: `POST http://pkp-pln.lib.sfu.ca/api/sword/2.0/col-iri/54960F22-A02D-4480-97B7-374EA389EDDD` resulted in a `400 Bad Request` response:
<?xml version="1.0" encoding="utf-8"?>
<sword:error xmlns="http://www.w3.org/2005/Atom"
xmlns:sword="http://purl. (truncated...)
- []])
[2022-05-16 08:15:07] [Notice] Network error Client error: `POST http://pkp-pln.lib.sfu.ca/api/sword/2.0/col-iri/54960F22-A02D-4480-97B7-374EA389EDDD` resulted in a `400 Bad Request` response:
<?xml version="1.0" encoding="utf-8"?>
<sword:error xmlns="http://www.w3.org/2005/Atom"
xmlns:sword="http://purl. (truncated...)
connecting to the PKP PN to send the deposit.
[2022-05-16 08:15:07] [Notice] Task process stopped.
I’ve tried resetting the deposits again, but no effect. Any ideas?