Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading...unknown push error; rpc error: code = PermissionDenied desc = permission denied #534

Open
MeetAnithaVarghese opened this issue Mar 12, 2024 · 3 comments

Comments

@MeetAnithaVarghese
Copy link

Scenario:

  • created anew branch.
  • checked out to new branch
  • made some table insert from csv.
    But when trying to do 'dolt push' i receive this error
    'Uploading...unknown push error; rpc error: code = PermissionDenied desc = permission denied'

Can you please explain the exact solution for this?

what i tried are:

  • generated new cred. updated in dolt settings.
  • cloned the database again to my local and tried all work from scratch.
  • All the above steps repeated around 2-3 times and then on the 3rd attempt only the error was gone.

My worry is will this issue crop up while we have moved ahead with development?

@timsehn
Copy link

timsehn commented Mar 12, 2024

Do you have write permissions on the database?

@MeetAnithaVarghese
Copy link
Author

MeetAnithaVarghese commented Mar 13, 2024

yes i do.
Kindly excuse my doubts. They may seem silly but if possible, do explain. I couldn't use discord.

1.I have a local Doltlab(with config being set),
2.a public Dolthub (signs in using github)
3. and also a hosted Doltab in a remote server.
While working i feel the key are getting expired and (the above error crops up on each push activity)
each time i need to generate a new key and set in respective dolt UI.
Is this how it is supposed to be ?or am i doing it wrong. How can i work on all three simultaneously without regenerating the keys?

@macneale4
Copy link

Hi @MeetAnithaVarghese - Authentication to DoltLab, DoltHub, and Hosted are all a little different.

Which is your preferred option? It will help simplify the discussion.

Also, rather than tell me in words what you have attempted, can you specify the commands you ran, and their output. It will help me to be sure I know we are on the same page.

The RPC permission denied error is usually the result of attempting to push to a server which is expecting that you have set the DOLT_REMOTE_PASSWORD environment variable, but not always. Knowing more about your setup will help to know if that's the problem or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants