Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fly postgres connect broken #3313

Open
owenthereal opened this issue Feb 21, 2024 · 1 comment
Open

fly postgres connect broken #3313

owenthereal opened this issue Feb 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@owenthereal
Copy link

Please only report specific issues with flyctl behavior. Anything like a support request for your application should go to https://community.fly.io. More people watch that space and can help you faster!

Describe the bug
Briefly, describe what broke and provide the following details:

fly postgres connect is broken for a postgres-flex image

  • Operating system: macos
  • fly version
    fly v0.2.9 darwin/arm64 Commit: 3fbcdb9-dirty BuildDate: 2024-02-19T16:54:19Z

** Paste your fly.toml

# fly.toml file generated for shaun-flex-stable-3 on 2023-01-24T10:42:59-06:00


kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[env]
  PRIMARY_REGION = "ord"

[checks]
  [checks.pg]
    grace_period = "30s"
    interval = "15s"
    method = "get"
    path = "/flycheck/pg"
    port = 5500
    timeout = "10s"
    type = "http"

  [checks.vm]
    grace_period = "1s"
    interval = "1m"
    method = "get"
    path = "/flycheck/vm"
    port = 5500
    timeout = "10s"
    type = "http"

  [checks.role]
    grace_period = "30s"
    interval = "15s"
    method = "get"
    path = "/flycheck/role"
    port = 5500
    timeout = "10s"
    type = "http"

[[mounts]]
  destination = "/data"
  source = "pg_data"

[metrics]
  path = "/metrics"
  port = 9187

** Command output: **

fly postgres connect -a MYAPP --debug --verbose
Error: Malformed version: ustom
Stacktrace:
goroutine 1 [running]:
runtime/debug.Stack()
	runtime/debug/stack.go:24 +0x64
github.com/superfly/flyctl/internal/cli.printError(0x1400051c000, 0x14000c8fb76, 0x14000c00308, {0x106d49318, 0x14000b86a00})
	github.com/superfly/flyctl/internal/cli/cli.go:162 +0x3c8
github.com/superfly/flyctl/internal/cli.Run({0x106d65770?, 0x140002e7e80?}, 0x1400051c000, {0x1400004c240, 0x6, 0x6})
	github.com/superfly/flyctl/internal/cli/cli.go:110 +0x7fc
main.run()
	github.com/superfly/flyctl/main.go:47 +0x174
main.main()
	github.com/superfly/flyctl/main.go:26 +0x20
@owenthereal owenthereal added the bug Something isn't working label Feb 21, 2024
@DoingItNow
Copy link

+1

This has been broken since dec 2023. Exact same error

Operating system: macos and win10
fly version v0.2.25

Maybe related to fe493fa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants