On Mon, Apr 26, 2021 at 4:08 PM Emil <[email protected]> wrote: > This is really odd if the connection is authenticated and it cannot find > the repo... > I have copied & pasted the URL from the actual repo. I am also using the > very same URL a material and I am puzzled what I might be doing wrong!? > It is internal Enterprise instance of GitHub and I am using SSH. My URL is > simply this: *git@github:test-repo/python-build.git *where github is the > hostname. > > For the configuration of the GitHub Pull Requests plugin I have added > */api/v3/* to the hosname url as described in the documentation here > <https://github.com/ashwanthkumar/gocd-build-github-pull-requests#github> - > Is there something similar for the pluggable scm? >
Here's what the test suite checks for: https://github.com/ashwanthkumar/gocd-build-github-pull-requests/blob/84b6e83478107dcb2d7e5452435e8c25a019be6d/src/test/java/in/ashwanthkumar/gocd/github/provider/github/GHUtilsTest.java#L11 You know, I'd responded earlier that the authentication had succeeded after browsing the Github side code (via their library). Given that you are using SSH, I'm not sure if Github is providing an informative response code. I suggest that you see which of the test cases you can match with as part of your tests. > > > On Thursday, 22 April 2021 at 14:54:05 UTC+1 [email protected] wrote: > >> On Thu, Apr 22, 2021 at 9:33 PM Emil <[email protected]> wrote: >> >>> Hi Folks, >>> >>> I am unable to *Create Pluggable SCM* with "Github Pull Requests >>> Builder" because of the following error: >>> Check connection failed. Reason(s): check connection failed. >>> {"message":"Not Found","documentation_url":" >>> https://docs.github.com/rest/reference/repos#get-a-repository"} >>> >> >> This is a response returned by the Github instance: >> https://docs.github.com/en/rest/reference/repos#get-a-repository >> >> Resource not found >> >> Status: 404 Not Found >> >> >> Your credentials are correct ( hence it authenticated you). >> >> Could you check the URL for typos in the the repo name? >> >> Could you independently verify the existence of and access to the >> repository via a web browser and/or via curl? >> >> >>> >>> My Github is an Enterprise instance on the local network. I have also >>> configured the "Github Pull Requests status notifier" just in case as I >>> thought it could be related. >>> >>> Any ideas how can I troubleshoot this please? >>> >>> Thanks for your help! >>> Emil >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "go-cd" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/go-cd/fd6d53dd-d7b2-4f94-a64b-1b8e45f360b7n%40googlegroups.com >>> <https://groups.google.com/d/msgid/go-cd/fd6d53dd-d7b2-4f94-a64b-1b8e45f360b7n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/46cf3160-95a4-4993-98e5-3de11047a720n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/46cf3160-95a4-4993-98e5-3de11047a720n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CANiY96ZmHJs5%2B1y%2BHr2cuObyOm8t5HxPLqfg8JBDGQ8COarpLQ%40mail.gmail.com.
