twoshanster
twoshanster6d ago

Error: Invalid deployment address: Must start with "https://" or "http://".Found "https://..."

I am trying to deploy my ios expo go app to production and have added all environment variables to convex, expo, and my .env.production files. However, when I test signing up a new user on the app, I get this error "Error: Invalid deployment address: Must start with "https://" or "http://". Found "https://(my prod convex url here)"". The user correctly shows up on my Clerk production dashboard, but I don't see any user being created on the Convex production or development dashboard due to this error. I've verified that my environment variables all match and are actually production env variables, whether that's on my convex environment variables configuration, the expo environment variables, or the .env.production file.
2 Replies
Convex Bot
Convex Bot6d 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!
twoshanster
twoshansterOP5d ago
Solution in case anyone encounters this: When I looked at eas:env list --environment production, it looked like my variables didn't have anything wrong. No weird spaces or weird characters. However, when I went on the expo.dev (https://expo.dev/accounts/[your_username]/projects/[your_project]/environment-variables) website to check my environment variables for the project, there was a space in front of my EXPOPUBLIC CONVEX_URL
Expo
Log In — Expo
Log in to your Expo account.

Did you find this page helpful?