1
Answered

How to connect to GitHub Enterprise?

I'm trying to connect CatLight to a GitHub Enterprise instance via the access token, but I can't figure out what the API URL is supposed to be. Here's the error I get:

image-1670435412355.png

I've tried several permutations of the URL:

  • https://<HOSTNAME>/
  • https://<HOSTNAME>/api
  • https://<HOSTNAME>/api/v3

All three of these return the same error: An error occurred with this API request

How can I find out what the API URL is?

GitHub Enterprise version: 3.4.10

2 replies

Thanks for reporting this! There was a bug in GitHub client library that we used that affected connections to GitHub Enterprise. We pulled the newer version with a fix. Please try again with 3.0.24+  https://catlight.io/downloads 

The API url in the format "https://<HOSTNAME>/api/v3" should work.

If you still have issues after upgrade, please turn on the extended logging to collect GitHub server responses, try connecting again, and send us the logs to a private ticket.

BH

The API URL of https://<HOSTNAME>/api/v3 worked with 3.0.26. Thanks!