Acquisitions EDI Fetcher Hangs with Bad SFTP Credentials
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Evergreen versions: 3.11.5, 3.12.3
Since the code for bug 2040514 went in, the EDI fetcher hangs when retrieving files via SFTP with bad credentials, i.e. an incorrect username and/or password. It seems to get into a loop trying to login, or it does not recognize the server response and gets stuck. (I have not figured out which.)
When the above occurs, the edi_fetcher.pl will run seemingly forever, must be manually stopped, the lock file remove, and then restarted. The acq.provider entry for the offending account also needs to be deactivated to avoid a repetition of the freeze.
We should add code to detect a login failure with SFTP and cause the process to move on to the next account. A warning or error message should also be emitted.