2

Can't figure how to resolve an error when trying to setup upsource on EC2 where everything is fine except when trying to integrate with GitHub.

I simply use ssh for authentication and then input my GitHub url as

git@github.<company>.com:<user>/<repo>.git

But I get the message:

GitHub URL is not detected

Also tried https with same result.
It's not that it tries to authenticate; it's not able to parse and recognize the url.

I tried my personal github repo without the enterprise name in the url and that worked fine.
I tried builds 3.0 and 3.5.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
horatio1701d
  • 8,809
  • 14
  • 48
  • 77

1 Answers1

1

It's not that it tries to authenticate; it's not able to parse and recognize the url.
I tried my personal github repo without the enterprise name in the url and that worked fine

That means the Upsource in-cloud installation expects a github.com url (in "Creating a GitHub project"), and not a github.<compny>.com url when using ssh.

You can see in issue UP-6585 that https urls are preferred (but not always possible for a private GitHub server instance).
ssh should be supported but, as you commented:

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.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • interesting. okay. that's too bad then. Didn't realize that it wouldn't be possible with a private enterprise repo. Thanks. – horatio1701d Jan 19 '17 at 12:18