-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to access server, error: 404: for GitHub #278
Comments
I'm just guessing, but I would think that in the following block, service_type should be the type of server, such as "github", "bitbucket", "gitlab", "bitbucket-server", "etc." and then the correct service should be called. Methinks the branch I'm working with may ONLY talk to bitbucket-server/stash. Correct me if this is reasonable / correct / wrong / ... [ { "service_type" : "github", "ssh_public_key_url" : "\/Users\/user\/.ssh\/id_rsa.pub", "id" : "2D993DA2-2E3B-4C12-B3C3-0CDD1EC3CCD2", "url" : "\/Users\/user\/buildasaur\/buildasaur\/Buildasaur.xcworkspace", "ssh_private_key_url" : "\/Users\/user\/.ssh\/id_rsa" }, { "service_type" : "github", "ssh_public_key_url" : "\/Users\/user\/.ssh\/id_rsa.pub", "id" : "19D91C4D-04B8-4088-9D96-51DBFE479D13", "url" : "\/Users\/user\/name\/myrepo\/Name\/Name.xcworkspace", "ssh_private_key_url" : "\/Users\/user\/.ssh\/id_rsa" }, { "service_type" : "github", "ssh_public_key_url" : "\/Users\/user\/.ssh\/id_rsa.pub", "id" : "AB5EDAF0-8C6B-4401-ABE1-188F0CC45C0F", "url" : "\/Users\/user\/buildasaur\/myrepo\/Buildasaur.xcworkspace", "ssh_private_key_url" : "\/Users\/user\/.ssh\/id_rsa" } ] More to do, I think.... |
Time to revisit forking directly off your branch and adding services for Stash as different than bitbucketEnterprise/bitbucketServer... ;-) What I have works "mostly", but apparently doesn't handle multiple repository types, or the part that creates the Project.json isn't updated correctly. |
Yeah the links above look suspicious, those must be added in the fork. Please consult the author directly, sorry I can't be of much help here. The pending PR for adding GitHub Enterprise actually is some good work and I'm willing to accept it (I was just waiting for someone else to give it a try and verify it works as I cannot do that myself). So if you want to add Stash support yourself, probably fork off that branch on #251 |
Tracking down a previous issue, I removed the offending entry from Projects.json and went through the steps of replicating the problem.
I added some extra log statements to BuildaUtils and I notice that when creating a new Syncer, for a project on the public GitHub, the Project screen shows the correct URL using SSH, and there are no SSH errors. However, the URL actually used to connect to GitHub is an HTTPS request.
GitHub responds with a 404.
I have a suspicion that this might be due to changes made by the fork/branch I'm using but wasn't expecting it since I we expecting Buildasaur to be able to talk to different repositories as needed. I will continue to research and try to fix the issue. I've bolded the part of the URL that makes me suspicious. (Of course the bolding didn't work inside a 'pre' block). Search for '**' below).
Here is my Log with the extra info I got:
The text was updated successfully, but these errors were encountered: