Error: connect ECONNREFUSED

I've taken the first step in trying to migrate the tracker items from:

https://alioth.debian.org/projects/benchmarksgame/

:to Debian Salsa GitLab using your tracker-migration scripts.

After about 15 minutes the connection is refused and the script continues to attempt to connect:

{ Error: connect ECONNREFUSED
at Object._errnoException (util.js:1003:13)
at _exceptionWithHostPort (util.js:1024:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1194:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',

In this case, attempting to reconnect is futile, the requests are throttled. Seems like if I wait until the following hour begins, then connections will be accepted for about another 15 minutes.

  1. Is there a delay between requests that I could adjust?

  2. Does the connection failure cause gaps in the export, or is that taken-care-of when I restart the script an hour later?

Edited by Isaac Gouy