Skip to content

Stored connection won't connect #1

@mdarrint

Description

@mdarrint

Version: 0.1.0

Steps to reproduce

  1. Installed the binary (and built to confirm issue) on Ubuntu
  2. Started app
  3. Created manual connection
  4. For password, entered password. NOTE: password is 64 characters.
  5. Connected and logged into the DB.
  6. Exited app.
  7. Started app and chose the previous connection (stored information).
  8. Error displays on previous connection.
╭──────────────────────────────────────────────────────╮                                               
│                                                      │                                               
│   Error: Connection Failed                           │                                               
│                                                      │                                               
│                                                      │                                               
│    Could not connect to localhost:5432               │                                               
│                                                      │                                               
│    Error: failed to ping database: failed to         │                                               
│    connect to `user=postgres database=postgres`:     │                                               
│    127.0.0.1:5432 (localhost): tls error: server     │                                               
│    refused TLS connection                            │                                               
│    [::1]:5432 (localhost): dial error: dial tcp      │                                               
│    [::1]:5432: connect: connection refused           │                                               
│    127.0.0.1:5432 (localhost): failed SASL auth:     │                                               
│    FATAL: password authentication failed for user    │                                               
│    "postgres" (SQLSTATE 28P01)                       │                                               
│                                                      │                                               
│  Press Enter or Esc to dismiss                       │                                               
│                                                      │                                               
╰──────────────────────────────────────────────────────╯

My Guess...for what it's worth

I can enter in the credentials each time to connect, so I know once manually entered, the connection works. Just thinking it's not storing the full password.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions