Skip to content
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

[Bug]: Proxy Error Second Server #2791

Open
SanderVreeken opened this issue Jul 10, 2024 · 1 comment
Open

[Bug]: Proxy Error Second Server #2791

SanderVreeken opened this issue Jul 10, 2024 · 1 comment

Comments

@SanderVreeken
Copy link

Description

I'm using my Raspberry Pi 5 with Coolify, running smoothly by opening ports 80 and 443 to access its dashboard via the instance domain. Today, I added a second server using my Raspberry Pi 4, following a tutorial video.

To integrate the Pi 4, I added its public key to the Coolify dashboard and opened port 22 for SSH access. Despite no visible errors during setup, proxy logs indicate issues affecting the Pocketbase application's accessibility, likely related to proxy settings.

I suspect the Traefik configuration file needs adjustments for the second server. Could you advise on what changes are necessary to resolve this?

Summary:

  • Utilizing Coolify on two Raspberry Pis (Pi 5 and Pi 4).
  • Initial setup on Pi 5, added Pi 4 via SSH in Coolify dashboard.
  • Both Pis share the same public IP.
  • Ports opened: 80 & 443 on Pi 5, 22 on Pi 4.
  • Proxy logs hint at configuration issues affecting application access.

Any guidance on updating the configuration files would be greatly appreciated.

Minimal Reproduction (if possible, example repository)

You could reproduce the same error by self hosting Coolify on two devices that share the same public ip address.

Exception or Error

Proxy Error Log
2024-07-10T17:50:19.622231726Z time="2024-07-10T17:50:19Z" level=error msg="Unable to obtain ACME certificate for domains "<SECRET: MY ACCESS PAGE>": unable to generate a certificate for the domains <SECRET: MY ACCESS PAGE>: error: one or more domains had a problem:\n<SECRET: MY ACCESS PAGE> acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: <SECRET: MY PUBLIC IP>: Invalid response from http://<SECRET: MY ACCESS PAGE>/.well-known/acme-challenge/_t0eeL2cf3VIbCxZs1BKd4PtE9FzQ5Mlup7E_0Lf2Vk: 404\n" rule="Host(<SECRET: MY ACCESS PAGE>) && PathPrefix(/app)" ACME CA="https://acme-v02.api.letsencrypt.org/directory" providerName=letsencrypt.acme routerName=coolify-realtime-wss@file

Version

v4.0.0-beta.307

Copy link
Member

It looks like your domain setings is incorrect based on the following line:

rule="Host(``) && PathPrefix(/app)

Could you please reset the proxy labels in your application's configuration and restart your application?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants