Pietro
Pietro3w ago

Activation DeniedWe are not able to activate your device.

When I run convex dev or npm convex dev -local I keep getting Activation Denied for no reason. Have search docs and cant find anything about it. Any tips on why this is happening? We're on github behind SSO, I've logged into Github and authorized convex. I've tried incognito. Nothing is really working. Please advise Pietro
9 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
It should be npx convex dev (not npm). Not sure if that will solve the problem, but that's the correct way to launch local dev mode AFAIK.
Pietro
PietroOP3w ago
thanks no thats a typo. I manage to run anonymous but cant login to run local from cli for some reason. tried multiple users too. deleted .convex etc its like my device would be blocked by convex or something... what does convex activation do behind the scenes is it trying to talk to my command line program somehow? could be network related. (we're behind zscaler)
Clever Tagline
I don't know all the details, but it first tries to open your browser so that you can log into your Convex account if that hasn't been done yet (or if you've changed activation; e.g. switched to a different project under another account). Once that's done it saves some data into a .env.local file for future reference. Beyond that I don't know the inner workings. I'm not familiar with Zscaler, but that may affect the process.
Pietro
PietroOP3w ago
Ok so I tried on a new fresh laptop with a new npm create convex@latest project. When I login with my github.com account (personal) it works fine When I login with my github.com/enterprises account it fails with this error Do you know if there is a setting for allowing this authentication?
Clever Tagline
Not sure. We’ll have to wait and see if one of the team chimes in.
Pietro
PietroOP3w ago
Now I tried with a fresh github user, same error... so its seems like convex doesnt like github enterprise
Clever Tagline
Yeah, that sounds accurate based on what you've shared. Curious to hear from the devs re: what it would take to support it.
Pietro
Pietro3w ago
Ok I’ve opened a ticket

Did you find this page helpful?