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"}
Status: 404 Not FoundMy 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 go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/fd6d53dd-d7b2-4f94-a64b-1b8e45f360b7n%40googlegroups.com.
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 - Is there something similar for the pluggable scm?
--On Thursday, 22 April 2021 at 14:54:05 UTC+1 srir...@gmail.com wrote:On Thu, Apr 22, 2021 at 9:33 PM Emil <emil....@gmail.com> 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-repositoryResource not found
Status: 404 Not FoundYour 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 go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/fd6d53dd-d7b2-4f94-a64b-1b8e45f360b7n%40googlegroups.com.
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 go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/46cf3160-95a4-4993-98e5-3de11047a720n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/dd456fb4-48ed-40ea-a185-ffd0d3ffdfd7n%40googlegroups.com.


To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/8419783b-9b2f-4f05-a32d-acbd5f19a97bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/8c5c3fd5-8ed3-4750-a9e5-c922083b7626n%40googlegroups.com.
Ashwanth,I have copied the url (https://github/api/v3/repos/devops/python-build) from the 401 error message (reported in my earlier post) and I have successfully hit the GitHub API using postman & curl using the very same url reported by the error message:It looks like there is no issue with the URL and the 401 error is misleading. I wonder if I have hit a configuration bug related to a private GitHub instance... ?!I shall wait to hear your thoughts and if there are any other trouble shooting steps I can take...
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/8419783b-9b2f-4f05-a32d-acbd5f19a97bn%40googlegroups.com.
On Tue, Apr 27, 2021 at 9:51 PM Emil <emil....@gmail.com> wrote:Ashwanth,I have copied the url (https://github/api/v3/repos/devops/python-build) from the 401 error message (reported in my earlier post) and I have successfully hit the GitHub API using postman & curl using the very same url reported by the error message:It looks like there is no issue with the URL and the 401 error is misleading. I wonder if I have hit a configuration bug related to a private GitHub instance... ?!I shall wait to hear your thoughts and if there are any other trouble shooting steps I can take...From the screenshot, it appears that you used the "devops" user to log in via Postman. The error in your earlier screenshot shows a 401 (which is "Requires Authentication" as per https://docs.github.com/en/rest/reference/repos#get-a-repository).

To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/d1d14e4b-5ae6-4113-a28c-e27fe8d0ffafn%40googlegroups.com.
Great!May I request you to start a fresh thread on this second issue, please?