file is too big and it pass the upload limits of serve



  • When i render docx report about 10 pages it is OK. but when it reaches about 30 pages I got the error.

    Error in console

    alt text

    My Config File
    {
      "httpPort": 5488,
      "store": {
        "provider": "fs"
      },
      "blobStorage": {
        "provider": "fs"
      },
      "logger": {
        "console": {
          "transport": "console",
          "level": "debug"
        },
        "file": {
          "transport": "file",
          "level": "info",
          "filename": "logs/reporter.log"
        },
        "error": {
          "transport": "file",
          "level": "error",
          "filename": "logs/error.log"
        }
      },
      "allowLocalFilesAccess": true,
      "reportTimeout": 6000000,
      "templatingEngines": {
        "timeout": 6000000,
        "strategy": "dedicated-process",
        "forkOptions": {
          "execArgv": ["--max-old-space-size=6096"]
        }
      },
      "extensions": {
        "express": {
                "renderTimeout": 60000000,
                "inputRequestLimit": "2000mb"
            },
        "sample-template": {
          "createSamples": false
        },
        "scripts": {
          "strategy": "http-server"
        }
      }
    }
    
    

    Is my configuration wrong? or How can I solve this?



  • The config looks correct.
    Could you share the jsreport server logs?
    What jsreport version do you use?
    Don't you use a web server like nginx to work as proxy to jsreport server?



  • Yes I found it because of limitation of Microsoft temporary upload for preview


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.