Size limit in OpenKM Digital Signature Client 1.0.2

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
DrydenK
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Aug 31, 2018 12:30 pm

Size limit in OpenKM Digital Signature Client 1.0.2

Post by DrydenK » Fri Sep 14, 2018 2:28 pm

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
Attachments
erro_openkm.png
Error window displayed by OpenKM Digital Signature Client 1.0.2

jllort
Moderator
Moderator
Posts: 10347
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by jllort » Fri Sep 14, 2018 6:23 pm

What is the document size you are signing?

DrydenK
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Aug 31, 2018 12:30 pm

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by DrydenK » Thu Sep 20, 2018 6:33 pm

The document has 112MB

DrydenK
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Aug 31, 2018 12:30 pm

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by DrydenK » Tue Oct 09, 2018 5:19 pm

So, is there a limit? Is there a way around?

Tks,

Roberto

jllort
Moderator
Moderator
Posts: 10347
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by jllort » Thu Oct 11, 2018 5:56 pm

You should use Webservices 1.0 rather 6.0. Tell me if that solved the issue.

DrydenK
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Aug 31, 2018 12:30 pm

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by DrydenK » Thu Oct 11, 2018 6:52 pm

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

jllort
Moderator
Moderator
Posts: 10347
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by jllort » 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.

DrydenK
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Aug 31, 2018 12:30 pm

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by DrydenK » Mon Oct 15, 2018 11:30 am

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

jllort
Moderator
Moderator
Posts: 10347
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by jllort » Thu Oct 25, 2018 6:21 pm

We are working in the library to solve it.

pherrera
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Wed Oct 12, 2016 1:41 pm

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by pherrera » Thu Nov 01, 2018 10:53 pm

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.

DrydenK
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Aug 31, 2018 12:30 pm

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by DrydenK » Thu Nov 22, 2018 4:34 pm

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

jllort
Moderator
Moderator
Posts: 10347
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Size limit in OpenKM Digital Signature Client 1.0.2

Post by jllort » Fri Nov 23, 2018 1:01 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests