rokucommunity / roku-deploy

An npm module for zipping and deploying to Roku devices.
MIT License
41 stars 17 forks source link

Error downloading the package after using deployAndSignPackage when file name is too long #132

Open Christian-Holbrook opened 10 months ago

Christian-Holbrook commented 10 months ago

Adding this issue to help track this bug. We are implementing a temporary work around but ultimately want to fix the underlying cause.

When the outFile configuration value in RokuDeployOptions gets too long the package fails to download.

This is the error output after a ~3 minute timeout:

 Error: ESOCKETTIMEDOUT
    at ClientRequest.<anonymous> (/Users/christianholbrook/work/rokukor/node_modules/postman-request/request.js:1138:19)
    at Object.onceWrapper (node:events:627:28)
    at ClientRequest.emit (node:events:513:28)
    at ClientRequest.emit (node:domain:489:12)
    at Socket.emitRequestTimeout (node:_http_client:839:9)
    at Object.onceWrapper (node:events:627:28)
    at Socket.emit (node:events:525:35)
    at Socket.emit (node:domain:489:12)
    at Socket._onTimeout (node:net:550:8)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)