Replies: 1 comment 1 reply
-
Can you share the full output of Also, please share the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
we tried to configure teleport to connect to a postgresql database but we have this error :
root@detcisedt0009:~# tsh db connect example-postgres3
psql: error: connection refused
ERROR: exit status 2
we tryed to follow this tutorial :
https://www.youtube.com/watch?v=8Hks1JA9JR4&t=2546s
some informations :
root@detcisedt0009:~# teleport version
Teleport v14.2.0 git:api/v14.2.0-0-g5d4cf8198c go1.21.4
root@detcisedt0009:~# tsh status
root@detcisedt0009:~# tsh db ls
Name Description Allowed Users Labels Connect
and we have this error on teleport :
2024-01-24T11:59:06+01:00 ERRO [DB:SERVIC] Failed to handle connection. addr:10.59.12.52:33048 error:[
ERROR REPORT:
Original Error: syscall.Errno connection refused
Stack Trace:
github.com/gravitational/teleport/lib/srv/db/common/errors.go:159 github.com/gravitational/teleport/lib/srv/db/common.ConvertConnectError
github.com/gravitational/teleport/lib/srv/db/postgres/engine.go:271 github.com/gravitational/teleport/lib/srv/db/postgres.(*Engine).connect
github.com/gravitational/teleport/lib/srv/db/postgres/engine.go:143 github.com/gravitational/teleport/lib/srv/db/postgres.(*Engine).HandleConnection
github.com/gravitational/teleport/lib/srv/db/common/reporting.go:87 github.com/gravitational/teleport/lib/srv/db/common.(*reportingEngine).HandleConnection
github.com/gravitational/teleport/lib/srv/db/server.go:1021 github.com/gravitational/teleport/lib/srv/db.(*Server).handleConnection
github.com/gravitational/teleport/lib/srv/db/server.go:945 github.com/gravitational/teleport/lib/srv/db.(*Server).HandleConnection
github.com/gravitational/teleport/lib/reversetunnel/transport.go:246 github.com/gravitational/teleport/lib/reversetunnel.(*transport).start
github.com/gravitational/teleport/lib/reversetunnel/agent.go:584 github.com/gravitational/teleport/lib/reversetunnel.(*agent).handleDrainChannels.func2
runtime/asm_amd64.s:1650 runtime.goexit
User Message: connection refused] db/server.go:947
Beta Was this translation helpful? Give feedback.
All reactions