Page 1 of 1

Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Fri Sep 14, 2018 2:28 pm
by DrydenK
Hi,

I'm hitting what appears to be a size limit in OpenKM Digital Signature Client 1.0.2. If I try to sign and upload files up to 86MB, everything works fine. If I try with 100MB+ (tried 100MB and 107MB files), the client fails showing a large error screen (attached, I was unable to copy the text).

If I upload the files directly to OpenKM, without using the client, OpenKM accepts the files fine, so the problem is not in OpenKM. Is this size limit in the Digital Signature Client known? Is there any workaround?

I'm Using OpnKM 6.3.6 build 87d181f, running in Ubuntu 18.4. The signature client, as mentioned, is OpenKM Digital Signature Client 1.0.2. My workstation is running Windows 7-x64 with 8GB RAM.

Thank you,

Roberto

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Fri Sep 14, 2018 6:23 pm
by jllort
What is the document size you are signing?

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Thu Sep 20, 2018 6:33 pm
by DrydenK
The document has 112MB

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Tue Oct 09, 2018 5:19 pm
by DrydenK
So, is there a limit? Is there a way around?

Tks,

Roberto

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Thu Oct 11, 2018 5:56 pm
by jllort
You should use Webservices 1.0 rather 6.0. Tell me if that solved the issue.

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Thu Oct 11, 2018 6:52 pm
by DrydenK
No, it didn't work.

I've tried both Webservices 1.0+ (which failed with an "unexpected element" error message) and Webservices 2.0+ (which failed with an "Document exists" error message, despite no document existing with that name), and none worked. Using Webservice 1.0 or 2.0 failed even with small files (~10MB).

Roberto

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Sat Oct 13, 2018 9:57 am
by jllort
You should use always webservices 1.0, now we are testing from our side the issue with big documents.

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Mon Oct 15, 2018 11:30 am
by DrydenK
jllort wrote: Sat Oct 13, 2018 9:57 am You should use always webservices 1.0, now we are testing from our side the issue with big documents.
Ok. Two problems:
- There is no reference to using "webservices" in the documentation (at least I found none);
- Using the "webservices" option (both 1.0 and 2.0) does not work at all, even for small files. I tried with 10MB files and it failed.

Is there any other known alternative?

Thanks,

Roberto

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Thu Oct 25, 2018 6:21 pm
by jllort
We are working in the library to solve it.

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Thu Nov 01, 2018 10:53 pm
by pherrera
Hi DrydenK,

Apparently, RestSharp has some limitations regarding large files, you can upload files no more than 1GB.
Please try this version: https://we.tl/t-yI1iXH1Zg5 , you need to work with OpenKM version 6.3.7 and upper.
I await your comments.
Regards.

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Thu Nov 22, 2018 4:34 pm
by DrydenK
Hi,
sorry for the delay.

I've tested the program but it failed with a long message (in short, it complained saying "Unmarshalling Error: Text size limit (134217728) exceeded"). Before proceeding, I saw that version 6.3.7 is required. I've searched for the instructions to upgrade, but I need the file OpenKM.war, but am unable to find this file. It's not inside the openkm installer, nor in the repository (https://sourceforge.net/projects/openkm/files/). Where do I get this file?

Thank you,

Roberto Greiner

Re: Size limit in OpenKM Digital Signature Client 1.0.2

PostPosted:Fri Nov 23, 2018 1:01 pm
by jllort
Should compile the source code and then follow the steps described here https://docs.openkm.com/kcenter/view/ok ... o-637.html

You must have git and maven installed, then:

$ git clone https://github.com/openkm/document-mana ... system.git
$ cd document-management-system
$ mvn -Dmaven.test.skip=true clean package