Skip to content

Error 422 loading a pdf to be signed #4483

@ktrls

Description

@ktrls

Hi, after the resolution of the issue #4455 I continued to test the libresign.
I'm able to assign a signer and draw a signing area. The signer receive the mail but when I click on the link and after the login I have a NO FILE FOUND error page.

Then I click on libresign icon and I view in the list of the document, the pdf to be signed.
I try to sign it but I wait forever.
So I try to sign with the browser console opened and this is the result:

Content-Security-Policy: Le impostazioni della pagina hanno bloccato l’esecuzione di un worker script (worker-src) da https://myserver/nextcloud/apps/libresign/js/pdf.worker.min.mjs in quanto viola la seguente direttiva: “script-src 'nonce-Ckc6FXiuc6w2LLChmWUBSfDqjfn2YkcKvivdHsVU/9Q=' 'unsafe-eval'”

and as a last error

Object { message: 'Unexpected server response (422) while retrieving PDF "https://myserver/nextcloud/apps/libresign/pdf/0009430e-bda9-48ee-ba43-5abad79a097a".', name: "UnexpectedResponseException", status: 422, stack: "29082/r/4491/ue<@https:///nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:1770445\n4491@https:///nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:1770473\nn@https:///nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:2146048\n29082/r/<@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:2171260\n29082/r/<@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:2590086\nr@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:2590091\n29082@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:2590105\no@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:4960483\n65111@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:3668248\no@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:4960483\n@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:4980008\n@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:5045898\n@https://myserver/nextcloud/apps/libresign/js/libresign-main.js?v=49e87620-0:2:5045902\n" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions