canvas-data-cli icon indicating copy to clipboard operation
canvas-data-cli copied to clipboard

Connection reset breaks sync

Open wbuchanan opened this issue 7 years ago • 0 comments

Description

What I did

Closed laptop when leaving the house this morning while running a first time sync.

What I expected to happen

  1. Once computer was reopened it would reestablish the connection and continue downloading files.
  2. If number 1 above didn't work, I could terminate the process in the terminal and re-run the synchronize command

What actually happens

Now I keep repeatedly getting a TLS Error when trying to run the sync command (copied below). Additionally, if I login to the front end I get an error message/icon when I navigate to the Canvas Data Portal page saying that the connection was reset and providing no other information.

Additional Information

$ node --version
v10.8.0
$ canvasDataCli --version
0.6.1
$ canvasDataCli sync -c ./config.js -l debug
fetching current list of files from API...
an error occured
{ Error: read ECONNRESET
    at TLSWrap.onread (net.js:660:25) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }
Error: read ECONNRESET
    at TLSWrap.onread (net.js:660:25)

wbuchanan avatar Aug 13 '18 14:08 wbuchanan