Skip to content

[Bug]: Creating GitHub source throws error and doesn't automatically set up #5626

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

Open
hybridherbst opened this issue Apr 16, 2025 · 6 comments
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@hybridherbst
Copy link

Error Message and Logs

There's an error log when trying to add GitHub as source.

Image

Steps to Reproduce

  1. Click Sources > +Add
  2. Enter org name
  3. Enable "system wide"
  4. Click "Continue"
  5. Observe error messages as per screenshot above

Example Repository URL

No response

Coolify Version

v4.0.0-beta.409

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04.2 LTS

Additional Information

This is a fresh Coolify installation.

@hybridherbst hybridherbst added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Apr 16, 2025
@ktufekcic
Copy link

Why are you using localhost tho? You should have more options, you should use either the one with the domain name or the one with the public IP

@hybridherbst
Copy link
Author

This is a default Coolify installation, and the default value that gets put here is "localhost". The error also appears before one can even select that dropdown.

@ktufekcic
Copy link

Image Unfortunately I can't replicate that behavior, is this on a server or on a local machine? If it's a local machine and the router/firewall aren't configured to allow external traffic to access your app, Coolify can detect that and not give the option

@hybridherbst
Copy link
Author

This is on a server.

The steps were

  1. Buy Hetzner machine
  2. Run the Coolify install script in the machine terminal
  3. Log in to Coolify
  4. Click on "Sources"
  5. Click on "Add"
  6. Type in org name
  7. Click "Continue"
  8. Observe error

As far as I can tell the default (empty) name for the environment is "localhost" when doing the above steps.

I can confirm that after changing "Settings > Instance's Domain" to either the public IP or a domain, I can go through the "Sources > Add" flow properly. But I think it's still a bit strange that "by default" one gets that error (e.g. the page could tell me, set the Instance's Domain to a useful value).

Side note, and probably related: I also got non-working default sslip domains for services, e.g. "asudasidj.localhost.sslip...."

@ktufekcic
Copy link

Is it possible you opened port 8000 after setup was done? It's a bit of a longshot, but it's possible that either

  1. If you pass those root user variables it skips some checks/steps during setup
    OR
  2. If port 8000 is not open during setup, it only allows localhost (as the dashboard is only available at 127.0.0.1:8000 or localhost:8000 at that point, and not via the public IP)

@hybridherbst
Copy link
Author

Hm, I don't think so – I really only did the steps above. I did run Coolify setup from the built-in console on Hetzner though, not via a separate terminal, but I'm not sure if that can have an influence on the outcome (maybe that terminal is ready "earlier" than proper external access?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.
Projects
None yet
Development

No branches or pull requests

2 participants