I have a Bitbucket Free workspace named scottyhuff.
The subscription page shows 1 user, and User Management also shows only 1 user. I created a new private repository in this workspace. SSH authentication succeeds, but attempting to push produces:
Your push failed because the account 'scottyhuff2' has exceeded its user limit and this repository is restricted to read-only access.
I do not have a scottyhuff2 workspace. My only listed workspace is scottyhuff. The Free subscription shows a quantity of 1 user.
Can you check whether my Bitbucket account/workspace has an incorrect legacy account or entitlement association with scottyhuff2?
Thanks,
Scotty
Hi @Scotty Huff
This looks like a Bitbucket-side workspace entitlement issue rather than an SSH authentication problem.
What is the output of this?
git remote -v
does it point to scottyhuff?
And also verify the SSH identity.
If the remote is definitely scottyhuff and SSH authentication succeeds, there isn't much more to fix locally. The user limit check is performed server-side by Bitbucket.
At that point I'd raise a ticket with Atlassian Support and ask them to check the workspace entitlement subscription and any workspace association for your other account.
I wouldn't delete the repository or recreate SSH keys until Atlassian has checked the server-side association.
If the remote points to scottyhuff2 and SSH authentication fails, first correct the remote to scottyhuff and fix the SSH key/configuration. Then retry the push. If the error still references scottyhuff2, it would be worth contacting Atlassian Support to check for a legacy workspace or entitlement association.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
git remote -v returns:
origin git@bitbucket-gigprompter:scottyhuff/gigprompter.git (fetch)
origin git@bitbucket-gigprompter:scottyhuff/gigprompter.git (push)
And it will authenticate scottyhuff but when I did a 'git push -u origin main', the response was:
******************************************************************************** [ALERT] Your push failed because the account 'scottyhuff2' has exceeded its [ALERT] user limit and this repository is restricted to read-only access. [ALERT] Change your plan to restore write access: [ALERT] https://bitbucket.org/scottyhuff/workspace/settings/plans ******************************************************************************** fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
It's like it thinks there are two workspaces or repositories but when I look at my bitbucket settings, there is only one workspace (scottyhuff) and one repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And I'm on the free version so there is no Atlassian Support other than this discussion group. Tough to think about paying for something that's already broken.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can still raise support ticket on free plan, support can still help. Or guide you.
As the remote points to scottyhuff, it is more on bitbucket server-side. I would still raise support ticket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Scotty,
There's a detail in your own paste that I don't think anyone has picked up yet. Your remote reads git@bitbucket-gigprompter:scottyhuff/gigprompter.git, and bitbucket-gigprompter isn't a Bitbucket hostname at all; it's a Host alias out of your ~/.ssh/config. That means the key your push offers is whichever IdentityFile that particular block names, and it needn't be the same key you tested with.
The distinction matters because Bitbucket works out who you are from the key you present rather than from the path written into the remote. A remote pointing at scottyhuff will still be evaluated as whatever account the offered key belongs to. In most cases that's how you'd end up staring at an error naming scottyhuff2 while your remote, your workspace and your user list all say scottyhuff.
What I'd do is test the alias itself rather than the host, so run ssh -Tv bitbucket-gigprompter and read which identity file it offers and which one the server accepts. Atlassian's documented check is ssh -T git@bitbucket.org, and I'd usually expect that to pass regardless, since it walks a different path than your push does.
Does the alias resolve to the key you were expecting?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all. But oddly enough, I tried the push again without changing anything and it worked. Must've been a timing/propogation thing? Who knows. It's working though. Onward through the fog!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.