Fly proxy keeps hanging

LOG_LEVEL=debug fly proxy 10022:22 -a magic-mail-bot-production-db
DEBUG Loaded flyctl config from/Users/guiporto/.fly/config.yml
DEBUG determined hostname: "Guis-MacBook-Air.local"
DEBUG determined working directory: "/Users/guiporto/Code/magic-mail-bot"
DEBUG determined user home directory: "/Users/guiporto"
DEBUG determined config directory: "/Users/guiporto/.fly"
DEBUG ensured config directory exists.
DEBUG ensured config directory perms.
DEBUG cache loaded.
DEBUG config initialized.
DEBUG initialized task manager.
DEBUG skipped querying for new release
DEBUG client initialized.
DEBUG no app config found at /Users/guiporto/Code/magic-mail-bot/fly.toml; skipped.
DEBUG --> POST https://api.fly.io/graphql

DEBUG Config has metrics token
{
  "query": "query ($appName: String!) { appbasic:app(name: $appName) { id name platformVersion organization { id slug paidPlan } } }",
  "variables": {
    "appName": "magic-mail-bot-production-db"
  }
}

DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (698.87ms)

{
  "data": {
    "appbasic": {
      "id": "magic-mail-bot-production-db",
      "name": "magic-mail-bot-production-db",
      "platformVersion": "machines",
      "organization": {
        "id": "OnX7k3pwgYXlqieReXQ40ABQ42FyYe",
        "slug": "personal",
        "paidPlan": false
      }
    }
  }
}
DEBUG --> POST https://api.fly.io/graphql

{
  "query": "mutation($input: ValidateWireGuardPeersInput!) { validateWireGuardPeers(input: $input) { invalidPeerIps } }",
  "variables": {
    "input": {
      "peerIps": [
        "fdaa:0:17d0:a7b:9330:0:a:902"
      ]
    }
  }
}

DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (285.02ms)

{
  "data": {
    "validateWireGuardPeers": {
      "invalidPeerIps": []
    }
  }
}
DEBUG --> POST https://api.fly.io/graphql

{
  "query": "mutation($input: ValidateWireGuardPeersInput!) { validateWireGuardPeers(input: $input) { invalidPeerIps } }",
  "variables": {
    "input": {
      "peerIps": [
        "fdaa:0:17d0:a7b:9330:0:a:902"
      ]
    }
  }
}

DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (288.04ms)

{
  "data": {
    "validateWireGuardPeers": {
      "invalidPeerIps": []
    }
  }
}
Proxying local port 10022 to remote [magic-mail-bot-production-db.internal]:22

What should I do?

This is the correct behaviour for the flyctl proxy command. You should open a new terminal on your local machine and do whatever you need to do on your database :slightly_smiling_face:

2 Likes

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