Closed akariv closed 6 years ago
@akariv seems like it throws that exception when you hit authz api several times within some short period of time. E.g., I've experienced it while doing multiple "push"s in parallel in the tests - https://travis-ci.org/datahq/data-cli/jobs/344397536#L675 /cc @zelima
TESTED by pushing a lot of datasets in a short period of time:
$ npm test test/push/push.test.js
> data-cli@0.7.9 test /home/user/work/datahq/data-cli
> ava -v "test/push/push.test.js"
✔ push command succeeds with regular CSV file (3.5s)
✔ push command succeeds for valid dataset (3.4s)
✔ push command succeeds for valid dataset with path to dp.json (3.6s)
✔ push command succeeds with regular CSV file from URL (4.1s)
✔ push command succeeds with packaged invalid CSV (4.3s)
✔ push command succeeds for CSV with wrong ext but force formatting (7.7s)
✔ push command succeeds for Excel with wrong ext but force formatting (10.5s)
✔ push command succeeds for simple Excel with 1 sheet (10.8s)
✔ push command succeeds for Excel with selected sheet (20.9s)
oh, sorry, I see now here https://github.com/datahq/auth/issues/24
Tried to push a file to testing and got an 'internal server error' message.
From inspecting the logs, this is the exception:
Retrying the upload succeeded (so this was a temporary issue it seems).