ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

Trying to connect to my postgres app. It’s been like this for the past several weeks, I’m not sure what to do. Logs for the postgres app seem to either hang or show nothing. I can connect to my other app in the same org.

$ fly postgres connect -a project-hub-db --debug
Connecting to [IPV6_HERE]... complete
Error: error connecting to SSH server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Stacktrace:
goroutine 1 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.21.7/x64/src/runtime/debug/stack.go:24 +0x5e
github.com/superfly/flyctl/internal/cli.printError(0xc0008b6000, 0xc000841b3e, 0x2947ea0?, {0x3184360, 0xc000dcf848})
	/home/runner/work/flyctl/flyctl/internal/cli/cli.go:162 +0x4db
github.com/superfly/flyctl/internal/cli.Run({0x31a1108?, 0xc000a4e540?}, 0xc0008b6000, {0xc0000501f0?, 0x5, 0x5})
	/home/runner/work/flyctl/flyctl/internal/cli/cli.go:110 +0x928
main.run()
	/home/runner/work/flyctl/flyctl/main.go:47 +0x156
main.main()
	/home/runner/work/flyctl/flyctl/main.go:26 +0x18

Hi… There were glitches with logs reported in the forum a couple weeks ago, so perhaps fly pg restart -a project-hub-db will at least get those flowing again…

(And fly status -a project-hub-db to check for available image upgrades might be prudent, too.)

:snowflake:  

Hope this helps a little!

Added logs

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