Menu

problem with signing big files

Help
zZzergU
2016-04-05
2016-04-15
  • zZzergU

    zZzergU - 2016-04-05

    Hello,

    I encounter problem while signing big file, as you can see below in signserver logs, request with length: 9000048 does not pass, a request with length: 9044 did.

    10:01:45,295 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) >doPost()
    10:01:45,296 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Received a request with length: 9000048
    10:01:45,297 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Using default max upload size as no HTTP_MAX_UPLOAD_SIZE configured
    10:01:45,306 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Request is FORM_URL_ENCODED
    10:01:45,306 INFO  [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Bad request: Missing field 'data' in request
    10:02:27,108 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) >doPost()
    10:02:27,109 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Received a request with length: 9044
    10:02:27,110 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Using default max upload size as no HTTP_MAX_UPLOAD_SIZE configured
    10:02:27,111 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Found a signerName in the request: zero
    10:02:27,112 DEBUG [org.signserver.ejb.worker.impl.WorkerFactory] (http--0.0.0.0-8080-1) getSignerIdFromName : returning 248
    10:02:27,113 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Request is FORM_URL_ENCODED
    10:02:27,113 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Request of type: signDocument
    10:02:27,113 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Recieved HTTP process request for worker 248, from ip 192.168.0.34
    10:02:27,122 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Authentication: none
    10:02:27,133 DEBUG [org.signserver.web.GenericProcessServlet] (http--0.0.0.0-8080-1) Received bytes of length: 9013
    

    any ideas what might cause this ?

     
  • Markus Kilås

    Markus Kilås - 2016-04-15

    Hi zZzergU,

    The error is "Bad request: Missing field 'data' in request" which does not necesarly has to do with the size of the file. The default value of HTTP_MAX_UPLOAD_SIZE is 100MB so it should not be an issue with a file of about 9MB.

    Are you able reproduce the problem again?
    Which upload forms are you using or are using using the CLI (SignClient)?

    Cheers,
    Markus
    PrimeKey Solutions

    Save time and money with an Enterprise support subscription. Please see www.primekey.se for more information.
    https://www.primekey.se/technologies/products-overview/
    https://www.primekey.se/service-support/support/

     

Log in to post a comment.