Timeout error when exporting dataset, investigation ongoing.
8 replies
Last updated: May 4, 2020
G
Hello, I get a timeout when I try to export the dataset. It says 180000ms, which should be 3 minutes, but it only takes a few seconds before the timeout error appear. Is this a known issue?
I’ve done this before and it has worked fine
🙂
I’ve done this before and it has worked fine
🙂
Exporting dataset "production" to "/Users/thomas/dev/bkk/deko/containers/cms/exports/20200504/production.tar.gz" ✔ Exporting documents... (494/494) ⠙ Downloading assets... (54/447)(node:51103) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit (node:51103) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit ⠦ Downloading assets... (62/447)(node:51103) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit (node:51103) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit ⠧ Downloading assets... (62/447)(node:51103) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit (node:51103) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit ⠇ Downloading assets... (77/447)(node:51103) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit ⠋ Downloading assets... (77/447)(node:51103) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit ✔ Downloading assets... (447/447) ⠏ Adding assets to archive...events.js:174 throw er; // Unhandled 'error' event ^ Error: Read timeout: No data received on socket for 180000 ms at TLSSocket.response.connection.setTimeout (/Users/thomas/dev/bkk/deko/containers/cms/node_modules/@sanity/export/lib/requestStream.js:76:32) at Object.onceWrapper (events.js:277:13) at TLSSocket.emit (events.js:194:15) at TLSSocket.Socket._onTimeout (net.js:440:8) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) Emitted 'error' event at: at emitErrorNT (internal/streams/destroy.js:82:8) at process._tickCallback (internal/process/next_tick.js:63:19)
May 4, 2020, 10:30 AM
M
Hi User, thanks for reporting! I’ve shared this internally for the team to investigate, as we’ve seen a few more reports of this warning lately. Have you tried running it locally outside of the container? Also, what versions of Sanity are you on? =>
sanity versionsAnd what node version in this case?
May 4, 2020, 10:40 AM
M
And could you DM me your project ID? 🙂
May 4, 2020, 10:41 AM
T
╰─ sanity versions
user Q
/cli 1.149.9 (up to date)user Q
/base 1.149.10 (up to date)user Q
/color-input 1.149.7 (up to date)user Q
/components 1.149.10 (up to date)user Q
/core 1.149.12 (up to date)user Q
/default-layout 1.149.10 (up to date)user Q
/default-login 1.149.11 (up to date)user Q
/desk-tool 1.149.10 (up to date)user Q
/rich-date-input 1.149.7 (up to date)user Q
/vision 1.149.0 (up to date)May 4, 2020, 10:44 AM
T
Thanks, User 👍 🙂
May 4, 2020, 10:45 AM
P
Hi User, thanks for reporting! I’ve shared this internally for the team to investigate, as we’ve seen a few more reports of this warning lately. Have you tried running it locally outside of the container? Also, what versions of Sanity are you on? =>
sanity versionsAnd what node version in this case?
May 4, 2020, 10:40 AM
P
And could you DM me your project ID? 🙂
May 4, 2020, 10:41 AM
T
Node version: v10.15.3
May 4, 2020, 10:52 AM
T
Upgraded to Node v12.16.3 and now it worked 👍
Thanks for following up in DM, User
Thanks for following up in DM, User
May 4, 2020, 1:05 PM
Sanity– build remarkable experiences at scale
Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.