#12049·coolify

[Bug]: Coolify Cloud rejects Sentinel pushes with 429 for hours while the server sends nothing else to app.coolify.io

Author: makiJSCreated Sep 28, 2026Updated Sep 28, 2026

Description

On Coolify Cloud, Sentinel on one of our servers has been rejected with HTTP 429 on nearly every push for more than five hours, so the server shows "Out of sync" / "Attention required". Nothing on that server talks to app.coolify.io apart from Sentinel's one push per minute, and our second server, pushing at the same time, is fine. The throttle looks like it is counting someone else's traffic against this server.

Evidence

  • Sentinel log (push interval 60 s, collection rate 10 s): 67 of the last 75 pushes failed, from 07:57:58 UTC (start of the retained log) onwards. The last accepted push was at 11:37:59 UTC; at 12:57 UTC it is still failing.
    2026-09-28T12:27:58.785568Z INFO push: pushing url=https://app.coolify.io/api/v1/sentinel/push
    2026-09-28T12:27:59.010608Z WARN push: push operation failed error=push to https://app.coolify.io/api/v1/sentinel/push returned 429: <!DOCTYPE html> ...
  • Sync (restart of coolify-sentinel) changed nothing: pushes right after it still got 429.
  • On the server itself, a 30-second tcpdump -i any dst port 443 filtered to the addresses of app.coolify.io (104.18.16.163, 104.18.17.163, 2606:4700::6812:10a3, 2606:4700::6812:11a3) captured no packets at all, from the host or any container, and ss -tnp showed no connections to them. Nothing on that IP is using the API.
  • Our other server (US, Ashburn), same team and same Sentinel settings, pushes successfully the whole time. The affected one is a Hetzner server in Falkenstein (EU).
  • An API request with our token right now gets x-ratelimit-limit: 200, x-ratelimit-remaining: 199, so the limit itself is the default 200/min.

Likely cause

POST /api/v1/sentinel/push is registered in routes/api.php, so it goes through the api middleware group and ThrottleRequests:api. The api limiter in RouteServiceProvider keys by $request->user()?->id ?: $request->ip(), and a Sentinel push has no user, so it is keyed by IP. TrustProxies has $proxies = '*', which trusts only the immediate caller (REMOTE_ADDR). If there is more than one proxy hop in front of the app (Cloudflare, then a load balancer), $request->ip() resolves to the Cloudflare edge address rather than the server's. In that case every tenant whose traffic goes through the same edge shares one 200/min bucket. A busy European edge would exhaust it, while a server that goes through a different edge (our US one) would be unaffected, which matches what we see.

We cannot confirm the proxy chain from outside; the facts above are what we can measure.

Suggested fix

  • Give /sentinel/push its own limiter keyed by the Sentinel token or server, or exempt it from the api throttle — it is authenticated by its token and runs at a fixed interval.
  • And/or trust the Cloudflare ranges (or the load balancer) in TrustProxies, so $request->ip() is the real client for every API route.

A secondary detail: Sentinel does not send Accept: application/json, so the 429 comes back as the full HTML error page, which floods the Sentinel log.

Steps to reproduce

Not reproducible on our side; it depends on shared traffic. We can share the server UUID and full Sentinel log with the Coolify team if needed.

Coolify version

4.3.23 (Coolify Cloud)

Are you using Coolify Cloud?

Yes

Operating system (server)

Ubuntu 22.04.5 LTS, Docker 29.5.3, Sentinel enabled (metrics on, push interval 60 s)