Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the generation of the export file #86

Open
martinraynov opened this issue Oct 25, 2021 · 1 comment
Open

Error in the generation of the export file #86

martinraynov opened this issue Oct 25, 2021 · 1 comment

Comments

@martinraynov
Copy link

martinraynov commented Oct 25, 2021

We have an error in the end of the script that blocks the generation of the export file :

  ⚛  Normalizing result.
  Uploading chunk of size 4194304 bytes at offset 0 with content range: bytes 0-4194303/4439402
  Uploading chunk of size 1898701 bytes at offset 0 with content range: bytes 0-1898700/1898701
  (node:1835) UnhandledPromiseRejectionWarning: Error: read ECONNRESET
      at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27)
  (node:1835) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
  (node:1835) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.```
@zibs1
Copy link

zibs1 commented Jan 6, 2022

Same here. Looks like there is some cap on size of repo users or the amount of repos or maybe the size of exported csv file?
It works ok for me with smaller size orgs and a smaller amount of users.
Found this one below:
https://docs.microsoft.com/en-us/answers/questions/61020/connectionerror-connection-lost-read-econnreset-no.html

Would it be the case to follow workaround?: tediousjs/tedious#923 (comment)

or probably better handling TCP connections as per?
https://stackoverflow.com/questions/54408047/how-to-stop-the-error-read-econnreset-from-happening

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@martinraynov @zibs1 and others