I have setup separate orgs for prod and dev and created apps with fly launch --no-deploy and also managed to setup secrets using fly secrets but when I try to do deploy it keeps failing with no such organization
deploy works now which means it was a fly deploy issue. This is now becoming a routine that deployment downtime is neither reported nor acknowledged. Leaving users in the dark. This is not great. Deployment has become very flaky
Syncing data across workers can take a moment, so if you create an org and deploy to it immediately after, it might say the org is not found. It usually should be less than a minute before the sync works.
Hi @dar ! I’m checking on this issue, trying to narrow down the problem. Could you please try fly --access-token $FLY_ACCESS_TOKEN_DEV orgs list and confirm the expected org is listed?
Thanks for the confirmation! Based on my preliminary research, I’d say it’s not related to a specific org but something not working as expected with the wireguard agent. I’ll keep investigating and update here with my findings.
fly agent stop is failing with Error: failed dialing agent: agent not running and deploy fails with Error: Could not find App <app name>. I checked the logs under ~/.fly/agent-logs/ and can see it is connecting to the wrong org most likely because it is holding token from last deploy and I can’t stop the agent successfully.