Running with LOG_LEVEL=1 fly ssh console -a -t -C “echo hello”
I get a lot of 200 responses, ending with:
...
DEBUG Fetching certificate for fdaa:c:dc02:a7b:15f:c52e:6a9b:2
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "mutation($input: IssueCertificateInput!) { issueCertificate(input: $input) { certificate, key } }",
"variables": {
"input": {
"appNames": [
"taxbot"
],
"organizationId": "<my org id>",
"principals": [
"root",
"fly"
],
"publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDz1iIIwxul4nwhO1D0lVzrDiNlD0TZw4FqQa57BTqcG",
"validHours": 1
}
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (125.56ms)
DEBUG {
"data": {
"issueCertificate": {
"certificate": "ssh-ed25519-cert-v01@openssh.com <the private key>",
"key": null
}
}
}
DEBUG Keys for fdaa:c:dc02:a7b:15f:c52e:6a9b:2 configured; connecting...
Connecting to fdaa:c:dc02:a7b:15f:c52e:6a9b:2... complete
DEBUG Task manager done
DEBUG done monitoring tokens
DEBUG started querying for host issues
DEBUG started querying for statuspage incidents
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "query($appName: String!) { apphostissues:app(name: $appName) { hostIssues { nodes { internalId message createdAt updatedAt } } } }",
"variables": {
"appName": "taxbot"
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (121.69ms)
DEBUG {
"data": {
"apphostissues": {
"hostIssues": {
"nodes": []
}
}
}
}
DEBUG querying for host issues resulted to []
DEBUG querying for statuspage incidents resulted to &{[]}
Error: error connecting to SSH server: dial: connect tcp [fdaa:c:dc02:a7b:15f:c52e:6a9b:2]:22: operation timed out
I’ve also tried flyctl doctor
which encouraged me to run fly agent stop
and flyctl wireguard websockets enable -t "${FLY_API_TOKEN}"
Still hanging…