Skip to content
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

I'm getting a "Failed to connect to api.github.com" Error after integration starts #14

Open
rolandoam opened this issue Apr 7, 2015 · 4 comments

Comments

@rolandoam
Copy link

Hi, I'm getting this error after trying to initiate integration on a newly created bot:

Bot Issue: error. Build Service Error.
Issue: Failed to connect to api.github.com: Connection refused (-1).
Integration Number: 1.
Integration URL: https://REDACTED/xcode/bots/C373308/integrations
Description: Failed to connect to api.github.com: Connection refused (-1).

Tracing the code in Xcode, the problem is that the xbot returned is nil and the error status is "checkout-error" (printed here)

Not sure why there's a checkout error or what's the flow, I can manually checkout the code on my computer and I can manually create a bot for this project, it's just not working with XBotBuilder...

@gustavosaume
Copy link

Have you found any solution? I'm stuck at the same place. The result of every integration is connection refused.

@rolandoam
Copy link
Author

yes, it was a bug in the app: it was trying to clone from [email protected], I had to manually change the code in GitHubXBotSync.swift:191, to something like this:

                gitUrl:"[email protected]:\(gitHubRepo.repoName).git",

@rolandoam
Copy link
Author

btw, this seems to be fixed by PR #13

@gustavosaume
Copy link

Awesome, Thanks! I was looking at the network traffic with a proxy but I must've missed that. Hopefully this gets pulled into master soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants