`flyctl m api-proxy` fails inside fly deployment

# /app/.fly/bin/flyctl m api-proxy
automatically selected personal organization: <redacted>@gmail.com
Oops, something went wrong! Could you try that again?
# ^[[A^C
# ^C
# LOG_LEVEL=debug /app/.fly/bin/flyctl m api-proxy              
DEBUG Loaded flyctl config from/app/.fly/config.yml
DEBUG determined hostname: "a03309a4"
DEBUG determined working directory: "/workspace"
DEBUG determined user home directory: "/app"
DEBUG determined config directory: "/app/.fly"
DEBUG ensured config directory exists.
DEBUG ensured config directory perms.
DEBUG cache loaded.
DEBUG config initialized.
DEBUG initialized task manager.
DEBUG started querying for new release
DEBUG client initialized.
DEBUG --> POST https://api.fly.io/graphql

{
  "query": "query { organizations { nodes { id slug name type } } }",
  "variables": null
}

DEBUG {}
DEBUG querying for release resulted to v0.0.410
DEBUG <-- 200 https://api.fly.io/graphql (136.35ms)

{
  "data": {
    "organizations": {
      "nodes": [
        {
          "id": "3KXm0g39B6X2ZT0l0QXO89qXOZfp1A",
          "slug": "personal",
          "name": "<redacted>@gmail.com",
          "type": "PERSONAL"
        }
      ]
    }
  }
}
automatically selected personal organization: <redacted>@gmail.com
DEBUG --> POST https://api.fly.io/graphql

{
  "query": "query($slug: String!) { organization(slug: $slug) { id internalNumericId slug name type } }",
  "variables": {
    "slug": "personal"
  }
}

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

{
  "data": {
    "organization": {
      "id": "3KXm0g39B6X2ZT0l0QXO89qXOZfp1A",
      "internalNumericId": "21855",
      "slug": "personal",
      "name": "<redacted>@gmail.com",
      "type": "PERSONAL"
    }
  }
}
DEBUG --> POST https://api.fly.io/graphql

{
  "query": "mutation($input: ValidateWireGuardPeersInput!) { validateWireGuardPeers(input: $input) { invalidPeerIps } }",
  "variables": {
    "input": {
      "peerIps": []
    }
  }
}

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

{
  "data": {
    "validateWireGuardPeers": {
      "invalidPeerIps": []
    }
  }
}
Opening a wireguard tunnel to personal 🌎 Error tunnel unavailable for organization personal: failed probing "personal": context deadline exceeded
flyctl ssh console -a flyctl-http
Update available 0.0.406 -> v0.0.410.
Run "flyctl version update" to upgrade.
Connecting to top1.nearest.of.flyctl-http.internal... complete
# /app/.fly/bin/flyctl agent ping
PID       : 589
Version   : 0.0.410
Background: true
#

Note: I am in flyctl ssh console -a flyctl-http

Sorry to hear this is happening:

We are having some issues with our fly proxy commands:

1 Like

Should be fixed now on fly v0.0.411. Feel free to fly version update now.