Virginia-iGEM / igem-wikibrick

Virginia iGEM 2018's build tool for automating wiki creation
MIT License
4 stars 5 forks source link

gulp publish fails intermittently #14

Open serenahacker opened 4 years ago

serenahacker commented 4 years ago

When I run 'gulp publish -l', I see some files upload successfully, but then I see this error:

Upload failed, retrying upload...

Retry count exceeded.

Unhandled rejection Error: Upload failed

    at /Users/serenahacker/Desktop/iGEM/wiki2020/node_modules/igemwiki-api/lib/upload.js:110:13

    at processTicksAndRejections (internal/process/task_queues.js:97:5)

[23:10:33] The following tasks did not complete: publish, push:files

[23:10:33] Did you forget to signal async completion?

When I upload my files in smaller batches, it is more frequently successful. So, I repeatedly ran gulp publish -l on small batches and was able to eventually get all my images uploaded.

Mantissa-23 commented 4 years ago

I just realized I completely missed this, and the wiki deadline passed. Were you guys still able to get your wiki uploaded successfully?

Not that my answer would have helped you much - you just have to keep retrying. Increasing the retry count in the config.js file helps. This happens because iGEM uses a single server to host all of the wikis, and the closer you get to the wiki deadline, the more often the server just doesn't get to or completely rejects requests.

Apologies about that, been busy with work.