Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

sftp upload broken in staging #1199

Closed
erkannt opened this issue Jul 23, 2020 · 1 comment
Closed

sftp upload broken in staging #1199

erkannt opened this issue Jul 23, 2020 · 1 comment
Assignees

Comments

@erkannt
Copy link
Contributor

erkannt commented Jul 23, 2020

{"level":30,"time":1595509262557,"pid":1,"hostname":"libero-reviewer--stg-submission-845488bcb9-6xqb9","service":"reviewer-submission","realm":"infra","msg":"resolver: saveDisclosurePage(e5146ae5-5114-4046-95bd-ca922f2b2597)","v":1}
{"level":50,"time":1595509262617,"pid":1,"hostname":"libero-reviewer--stg-submission-845488bcb9-6xqb9","service":"reviewer-submission","realm":"infra","msg":"User not allowed to submit Error: User not allowed to submit\n    at WizardService.saveDisclosurePage (/app/dist/application/wizard/service.js:68:19)","v":1}
(node:1) UnhandledPromiseRejectionWarning: Error: connect: client-socket error. Address lookup failed for host sftp.ejpress.com
 after 2 attempts
    at Object.formatError (/app/node_modules/ssh2-sftp-client/src/utils.js:62:18)
    at Client.connectErrorListener (/app/node_modules/ssh2-sftp-client/src/index.js:98:21)
    at Object.onceWrapper (events.js:417:26)
    at Client.emit (events.js:310:20)
    at Client.EventEmitter.emit (domain.js:482:12)
    at Socket.<anonymous> (/app/node_modules/ssh2/lib/client.js:307:10)
    at Socket.emit (events.js:310:20)
    at Socket.EventEmitter.emit (domain.js:482:12)
    at emitErrorNT (internal/streams/destroy.js:92:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:1) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
@erkannt erkannt self-assigned this Jul 23, 2020
@erkannt
Copy link
Contributor Author

erkannt commented Jul 23, 2020

Caused by linebreak at end of base64 encoded hostname. Reencoded using echo -n "foobar" | base64

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

No branches or pull requests

1 participant