Error connecting to postgres importer

I used the pg import tool several times a couple weeks ago and it worked beautifully. Now it is failing consistently with the following error message when attempting to connect to the importer machine that it spins up:

Connecting to <private IPv6>...⣯Error failed to run ssh: error connecting to SSH server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

I can ssh into the machine myself just fine (while wireguard is active) with:

ssh root@<private IPv6>

Logs from the importer include:

2023-04-06T13:57:42.259 app[e286564df77978] iad [info] 2023/04/06 13:57:42 user: '' does not exist

2023-04-06T13:57:42.373 app[e286564df77978] iad [info] 2023/04/06 13:57:42 unexpected error: [ssh: no auth passed yet, user: '' does not exist]

The importer’s image is:

flyio/postgres-importer:15.2 (v0.0.5)

Any ideas?

This seems to be because of the recent changes in flyctl. I can reproduce on the current master. I will take a look.

1 Like

@elliotdickison The fix has been merged and will be available in the next flyctl release.

2 Likes

:rocket:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.