msanie
msanie3w ago

My Convex deployments are consistently timing out

I am working with an AI assistant to build an application on Convex. We have written the necessary backend code for user authentication using Resend for email one-time passcodes. Problem: We are unable to deploy our backend changes. Every time we run npx convex deploy, the command executes for exactly 60 seconds and then fails with a timeout error. Command Executed: npx convex deploy Exact Error Message: Error executing command: Command timed out after 60000ms: npx convex deploy Impact: This is a critical issue. Our live application is running old code, which has a broken authentication system. Users cannot log in because the backend with the correct Resend API key configuration and verification logic is not deployed. Troubleshooting Steps Taken: My AI assistant has already attempted the following: 1. Identified a potential missing dependency (@react-email/render) that might have been causing build issues. 2. Installed the dependency successfully using pnpm add @react-email/render. 3. Re-ran npx convex deploy, but it failed again with the same 60-second timeout error. The code itself has been validated and should be correct. The problem appears to be with the deployment process on the Convex platform timing out. Could you please investigate why our deployments are failing to complete?
4 Replies
Convex Bot
Convex Bot3w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Clever Tagline
If you're a Pro plan customer, I recommend opening a support ticket from your dashboard. Otherwise you could write to support @ convex.dev. Either way, they're the only ones who can look at your account and see if the problem lies there or somewhere else. No matter which option you choose, you may end up waiting 'til Monday, as there's no guarantee that Convex staff will get to this over the weekend. (Sometimes they do, but it's their discretion.) I'm going to delete the other post you made with this same subject, as all the details are here. In the future, you can just edit the post's opening message to add more details instead of starting a new one. Unfortunately I don't have anything to suggest to solve this.
erquhart
erquhart3w ago
Code validation ultimately occurs during the deployment process, so it's hard to say whether this is an issue in the code being deployed or in the deployment process itself. Can you try running with the verbose flag and see what kind of logs you get?
npx convex deploy --verbose
npx convex deploy --verbose
msanie
msanieOP3w ago
thanks

Did you find this page helpful?