"Remote GitHub operation failed: GitHub connection is not configured correctly"

Using Upsource 3.0.

I have created a project by connecting to Github, and I am logged in to Github following this page.
However, when I try to comment on a review/commit, the message "Remote GitHub operation failed: GitHub connection is not configured correctly" is shown,
without any hints on how to fix this.

Any ideas?

6 comments

I have the same problem. Any idea how to fix this?

FWIW, if it matters - I'm using github enterprise, and the repository url is the "ssh clone url" (not the HTTPS URL). 

I did select the two checkboxes when importing the project from github  (automatically create branches/ automatically synchronize). 

0

I'm not using Github enterprise, but did indeed check both checkboxes.

0

Same issue here, I also cannot create reviews from pull requests. Only clue in the log file is

[2016-04-07 09:45:02,990] INFO github-sync-2 ion.github.GithubImportService - Starting GitHub synchronization
[2016-04-07 09:45:02,999] WARN github-sync-2 ion.github.GithubImportService - GitHub repository not detected from repository URL
java.lang.AssertionError: GitHub repository not detected from repository URL
at com.jetbrains.upsource.backend.server.integration.github.GithubImporter.<init>(GithubImporter.java:91)
at com.jetbrains.upsource.backend.server.integration.github.GithubImportService.a(GithubImportService.java:135)
at java.util.HashMap$KeySet.forEach(HashMap.java:928)
at com.jetbrains.upsource.backend.server.integration.github.GithubImportService.a(GithubImportService.java:105)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at com.jetbrains.upsource.util.NamedDaemonThreadFactory.a(NamedDaemonThreadFactory.java:34)
at java.lang.Thread.run(Thread.java:745)

0

That stack trace made me test a public repository added with HTTPS instead of SSH, using an anonymous authentication method. That way the Github synchronization does work. It seems that it cannot parse a SSH remote properly.

 

0
I just installed 3.5 and also unable to use an enterprise ssh url such as git@github.<company>.com:<user>/<repo>.git using ssh authentication.
0

Please sign in to leave a comment.