"Error: Page crashed!



  • message":"Error generating report from JS Report function {"remoteStack":"Error: Page crashed!\n at #onTargetCrashed (/jsreportapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Page.js:393:50)\n at /jsreportapp/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:1:269\n at Array.map (<anonymous>)\n at Object.emit (/jsreportapp/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:1:252)\n at CdpCDPSession.emit (/jsreportapp/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js:91:23)\n at CdpCDPSession._onMessage (/jsreportapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CDPSession.js:77:18)\n at Connection.onMessage (/jsreportapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:261:25)\n at WebSocket.<anonymous> (/jsreportapp/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js:52:32)\n at callListener (/jsreportapp/node_modules/ws/lib/event-target.js:290:14)\n at WebSocket.onMessage (/jsreportapp/node_modules/ws/lib/event-target.js:209:9)"}","level":"error"}

    Having issue while downloading PDF
    this is my config file

    {
    "httpPort": 5488,
    "allowLocalFilesAccess": true,
    "store": {
    "provider": "fs"
    },
    "blobStorage": {
    "provider": "fs"
    },
    "reportTimeout":60000,
    "templatingEngines": {
    "timeout": 900000
    },
    "chrome": {
    "timeout": 900000,
    "launchOptions": {
    "args": ["--no-sandbox"],
    "headless": true
    }
    },

    "extensions": {
            "phantom-pdf": {
                        "numberOfWorkers": 4,
                        "timeout": 900000,
                        "allowLocalFilesAccess": true,
                        "defaultPhantomjsVersion": "1.9.8"
                },
        "authentication" : {
            "cookieSession": {
                "secret": "<your strong secret>"
            },
            "admin": {
                "username" : "admin",
                "password": "password"
            },
            "enabled": false
        },
        "sample-template": {
            "createSamples": true
        },
        "scripts": {
            "timeout": 30000
        }
    }
    

    }



  • Please try the first section of the chrome troubleshooting
    https://jsreport.net/learn/chrome-pdf#troubleshooting


Log in to reply
 

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