[error] Error in runEval code: csPostMessage: timeout 5000 ms

Hello,

I’m facing a very strange behaviour with a simple storeEval command.
On a specific computer, every single storeEval command ended with the following error :
[error] Error in runEval code: csPostMessage: timeout 5000 ms.

I then found out that the same code (simple debugging storeEval commands) worked well when the selected browser tab displays an internet website. On the other hand, when a local web server file is displayed (WAMP server installed on the computer running Kantu) or even an intranet site, I always have that same error…

Thanks a lot for your help

Regards,
Thomas

1 Like

Hello,

Does somebody know about this error message ? I didn’t find anything about “csPostMessage”…

Thanks a lot
Thomas

I’m using Firefox and I also get this error if an executeScript hangs for more than 5s (async await with a URL fetch). Did you find a way to solve this?

I found this timeout debugging the extension. Somewhere that 5000ms is being defined.

setTimeout((function() {
s(new Error(“csPostMessage: timeout " + i + " ms”))
}), i)

The funny thing is that the Chrome extension version has this comment in that same line. :stuck_out_tongue:

setTimeout(function () {
  reject(new Error('E353: csPostMessage: timeout ' + timeout + ' ms')); //Why 5000?
}, timeout);