GWSL-Source icon indicating copy to clipboard operation
GWSL-Source copied to clipboard

No auth sock

Open kl3sk opened this issue 4 years ago • 16 comments

Hello,

Using VcXsrv before GWSL with Gitkrakn, I ran to this similar problem and solved it with this solution following this thread

Everything worked, but when using GWSL this error came back.

image

And don't know/found how to solve it.

Thanks

kl3sk avatar Jun 14 '21 07:06 kl3sk

I looked at the threads but do not completely understand what you mean. Which step exactly did you have to do before with vcxsrv?

Pololot64 avatar Jun 14 '21 15:06 Pololot64

Thanks for your answer

I follow the step from the GitHub post. Copying it into my WSL (Debian) .bashrc

The last one at this time by CoolCold.

What informations do you need else ?

kl3sk avatar Jun 14 '21 17:06 kl3sk

I don't see any reason why the bash code shouldn't work with GWSL... were you using any specific flags for vcxsrv?

Pololot64 avatar Jun 14 '21 17:06 Pololot64

I didn't set any flags, using the defaults.

kl3sk avatar Jun 14 '21 17:06 kl3sk

What distro? And can I see what .profile and .bashrc currently look like?

Pololot64 avatar Jun 14 '21 18:06 Pololot64

Disto. Debian 10

.profile is as default .bashrc too (unless what we are talking about, and default "un"commented alias and colorization)

kl3sk avatar Jun 14 '21 19:06 kl3sk

hmm

Pololot64 avatar Jun 14 '21 19:06 Pololot64

I am not currently on my computer. But tell me what you need and I'll give it to you as soon as I can.

kl3sk avatar Jun 14 '21 19:06 kl3sk

👍 It is bizzare because GWSL is just vcxsrv, I need to think. Git kraken works fine for me

Pololot64 avatar Jun 14 '21 19:06 Pololot64

Maybe because I use a private repo with ssh key auth?

kl3sk avatar Jun 14 '21 19:06 kl3sk

Probably. But I don't see how the xserver affects that :-/

Pololot64 avatar Jun 14 '21 20:06 Pololot64

Hello,

I finally found a solution, I used to use SSH agent before GWSL (and worked perfectlly), but uncheck SSH agent and set the keys, it appears that GK allow me to push/pull correctlly now.

image

kl3sk avatar Jun 15 '21 08:06 kl3sk

Yay! :)

Pololot64 avatar Jun 15 '21 13:06 Pololot64

Hi, I reopen this issue, because I have to manage 2 different ssh keys, and the problem still remains.

kl3sk avatar Nov 02 '21 14:11 kl3sk

I install keychain to manage ssh keys.

If it can help,

echo $SSH_AUTH_SOCK

return

/tmp/ssh-5b2plVYsijaV/agent.196

but gitkranken always says; image

kl3sk avatar Nov 02 '21 20:11 kl3sk

Update:

If I start Gitkraken from the shell, the error fade away.

So it look like it is GWSL that do not read my .bashrc

kl3sk avatar Jul 19 '22 08:07 kl3sk