Open vijaykota opened 6 years ago
From a Wireshark capture, I see that SSL connection is being established with api.github.com
instead of git.mycompany.com
.
Do I need to set github-pr.targetRemote
to something other than origin? From the code at https://github.com/jasonnutter/vscode-github-pr/blob/2ba733ffa8ad381d608f3e753a32bd0a0d9e5057/src/workflows.js#L245 , it seems like a hint is needed to figure out the repoHost.
I don't believe you need to include your user name for the token value in github-pr.accessTokens
, e.g.:
"github-pr.accessTokens": {
"https://git.mycompany.com": "token"
}
Can you please try that and let me know if you still have issues?
And I'm not sure why it would be trying to call api.github.com
, I'll see if I can figure out why that would be happening.
i have tried both
"github-pr.accessTokens": {
"https://git.mycompany.com": "foo_user:token"
}
and
"github-pr.accessTokens": {
"https://git.mycompany.com": "token"
}
both still giving me
Github PR: {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}
@jkxdev I'm having trouble reproducing this (granted, I don't have access to a Github Enterprise server). What format is the remote address in, something like this: git@git.mycompany.com:group/name.git
or something else?
@jkxdev I'm having trouble reproducing this (granted, I don't have access to a Github Enterprise server). What format is the remote address in, something like this:
git@git.mycompany.com:group/name.git
or something else?
Yes it is like git@git.mycompany.com:group/name.git
@jkxdev @jasonnutter Did we resolve this? I am hitting this with GHE where my curl command to apis succeed.
curl -v -v -v
Hi, I am looking for help on configuring the extension to use with GitHub Enterprise. It currently fails for me with foll. pop-up:
My extension settings look like:
The foll. curl command line works fine
Would appreciate any pointers.
Thanks!