bjrmatos / electron-workers

Run electron scripts in managed workers :rocket:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Worker spawning under iisnode

notatestuser opened this issue · comments

This is a continuation of the topic started in bjrmatos/jsreport-electron-pdf#6.

Under iisnode (on my version of Windows at least) the following error may be observed when trying to spawn electron workers:

Error occured - Error during rendering report: Worker Timeout, the worker process does not respond after 10000 ms
Stak - Error: Worker Timeout, the worker process does not respond after 10000 ms
    at Timeout._onTimeout (C:\Users\...\node_modules\electron-workers\lib\ElectronManager.js:355:21)

I have tried to use execFile instead of spawn in server mode - still no joy. 😞

I understand that this is frustrating 😞 you can see some of our previous efforts here and here trying to make it work on IISNODE, but there is no luck, unfortunately.

however i would like to take another look at the issue again, but i don't have a windows machine right now, when i have some free time are you willing to help me reproduce the issue on your machine? (via remote access like teamviewer)

Ah, I was not aware that you guys had worked on this before, although I had noticed some iisnode references lingering around in the code. Thanks for the clarification and the great work. 😄

Are we aware of the root cause of this? I'd be interested to know out of curiosity...

As for remote access, do you think a VM could work? I'm located in China and internet connectivity is awful here.