Page not found for Github Integration.
Hello Huly team,
I am facing strange issue where github connection works almost fine but an error appears and i cannot connect github to my self hosted instance (uses traefik example). These are environment variables used:
GITHUB_URL=https://myprojects.com/github
GITHUB_APP=MyProjects
GITHUB_CLIENT_ID=<client-id-here>
GITHUB_CLIENTID=<client-id-here>
GITHUB_CLIENT_SECRET=<client-secret-here>
GITHUB_REDIRECT_URI=https://myprojects.com/auth/github/callback
After redirecting back to my site, i get:
{"level":"info","message":"::ffff:172.19.0.2 - GET /github?code=<code>&state=<long-state-3-line-token> HTTP/1.1 200 418 - 1.622 ms\n","name":"requests","timestamp":"2025-08-31T19:40:11.728Z"}
{"level":"info","message":"::ffff:172.19.0.2 - GET /config.json HTTP/1.1 200 1071 - 0.514 ms\n","name":"requests","timestamp":"2025-08-31T19:40:11.886Z"}
{"level":"info","message":"::ffff:172.19.0.2 - POST /github/api/v1/auth HTTP/1.1 404 158 - 0.365 ms\n","name":"requests","timestamp":"2025-08-31T19:40:12.013Z"}
This is the log that shows what exactly happens when i try to connect github from settings -> integrations -> Github Integration -> Add -> Authorize Github App, I get redirected to github asking for permission to connect, and then get redirected back to instance's "Processing complete, redirecting in 3,21, seconds" and page closes but no changes in github integration page. Even after reload no chages.
Connected to Huly®: SELFH-197
I have the same problem, have you solved it? @ChetSocio
I thinkered a bit to see if there was a workaround as I was curious on trying this app at home to see if it would be a good match at our company :
I believe I fixed it by doing so : Once on the processing complete tab, go to your console and run
window.close = function() {
console.warn("window.close() blocked");
};
Copy the body of the post request and instead post it using Postman/Insomnia at the github service localhost:3500/api/v1/auth
Although if you ask me, ditch this projet. 2 months to fix such a simple issue will not be worth it for me, is that what we should expect with their cloud service? Disappointed.
Then for the next step, you need to change in the url on github your the id after /apps/ to the name you gave it (e.g huly-self-hosted)
Finally repeat the same thing to prevent closing and posting to localhost:3500/api/v1/installation.
I cant even get it to process.
- https://my-huly.tld/workbench/my-workbench/setting/integrations
- Click the "Connect" for GitHub
- Click the "Authorize Platform GitHub App"
- This leads to a url like https://github.com/login/oauth/authorize?client_id=&login=&state=random-large-string-here&allow_signup=true
So I cant even get to that spot. I dont think there are any "variables" to add anywhere, this doc does not mention anything such: https://docs.huly.io/integrations/github/
After that you authorize in github, my steps start after that
I get that… I can’t even go that far. It’s 404 on GitHub - all url Params are empty.
Is there some doc as of how to do the 2-way sync of the GitHub integration? The official doc smartly skips the first step and simply assumes you’ve authorized already. Which is exactly where it fails for me
But reading you it doesn’t even work if authorized.. so I’m starting to doubt its even worth to spend another hour on this on top of the 5 spent already lol.