dolthub / dolthub-issues

Issues for dolthub.com
https://dolthub.com
4 stars 1 forks source link

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

Open MeetAnithaVarghese opened 6 months ago

MeetAnithaVarghese commented 6 months ago

Scenario:

Can you please explain the exact solution for this?

what i tried are:

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

timsehn commented 5 months ago

Do you have write permissions on the database?

MeetAnithaVarghese commented 5 months ago

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)

  1. 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 commented 5 months ago

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.