Socket hang up Jsreport and Docker worker



  • I get the following error when trying to use jsreport and docker worker

    socket hang up
    undefined
    

    Debug Log

    socket hang up
    logs:
    +0      Starting rendering request 5 (user: null)
    +1      Rendering template { name: Invoice, recipe: chrome-pdf, engine: handlebars, preview: true }
    +1      Adding sample data B1Ns-r1M
    +1      Resources not defined for this template.
    +2      Base url not specified, skipping its injection.
    +3      Replaced assets ["Invoice styles.css","Invoice logo.png"]
    +3      Rendering engine handlebars using http-server strategy
    +139    Compiled template not found in the cache, compiling
    +156    Calculating item Website design; you should see this message in debug run
    +222    Executing recipe chrome-pdf
    +3250   Rendering request 5 finished with error in 3250 ms
    undefined
    

    Worker Log

    Chrome strategy is dedicated-process
    
    Chrome custom launch options are
    
    ErrorEvent {
    
    target: WebSocket {
    
    _events: [Object: null prototype] { open: [Function], error: [Function] },
    
    _eventsCount: 2,
    
    _maxListeners: undefined,
    
    readyState: 3,
    
    protocol: '',
    
    _binaryType: 'nodebuffer',
    
    _closeFrameReceived: false,
    
    _closeFrameSent: false,
    
    _closeMessage: '',
    
    _closeTimer: null,
    
    _closeCode: 1006,
    
    _extensions: {},
    
    _receiver: null,
    
    _sender: null,
    
    _socket: null,
    
    _isServer: false,
    
    _redirects: 0,
    
    url: 'ws://127.0.0.1:43021/devtools/browser/09c93493-caca-410b-aff5-ca78d2e1d844',
    
    _req: null,
    
    [Symbol(kCapture)]: false
    
    },
    
    type: 'error',
    
    message: 'socket hang up',
    
    error: Error: socket hang up
    
    at connResetException (internal/errors.js:604:14)
    
    at Socket.socketOnEnd (_http_client.js:460:23)
    
    at Socket.emit (events.js:323:22)
    
    at endReadableNT (_stream_readable.js:1204:12)
    
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
    
    code: 'ECONNRESET'
    
    }
    
    }
    

Log in to reply
 

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