The proxy

Troubleshooting

Start with the proxy’s logs and its status page: between them they name almost every problem below.

Visitors get 502 Bad Gateway

The proxy is running but can’t reach your site. The log says The site did not answer and why.

  • Check Awenen__Upstream: the port must be the one your site listens on. As a sidecar the host is localhost; on a Docker network it is the site’s container or service name.
  • Check that your site is running and ready. Visitors get 504 instead when the site is reachable but too slow.

The proxy exits as soon as it starts

  • Awenen:Upstream must be an http or https address: the upstream is missing or mistyped.
  • Address already in use: something else in the replica or pod listens on 8080 or 8081, often your site. Set Awenen__Port to a free port and send visitors there.

Nothing shows on the dashboard

Your site works through the proxy, but Ingestion stays empty. Work down this list.

  • Is the proxy sending? The status page says "shipping": false when Awenen__Key or Awenen__IngestUrl is missing, and the first log line says so too.
  • Is the key right? A log line with HTTP 401 means the key is wrong; key_revoked means it was revoked on the Sites page. Create a new key there.
  • Can it reach Awenen? A rising dropped with connection errors in the log means the proxy can’t reach ingest.awenen.com. Allow outbound HTTPS to it, including in DNS or web filters.
  • Is the hostname listed? Requests for hostnames not on the site’s list in Sites are dropped after they arrive, so everything above looks healthy. Add the hostname exactly as visitors type it.

Every visitor has the same address

That address is your CDN, load balancer or platform ingress. Set Awenen__ClientIpHeader to the header your edge puts the visitor’s address in.

The Proxies page shows warnings

  • CPU near its limit, or slowed by it: requests wait for the proxy. Give its container more CPU.
  • Memory near its limit, or ran out: give it more memory. If use keeps climbing over days, tell us.
  • Dropping events: Awenen was unreachable or slow for a while. Requests weren’t affected; those events are lost.
  • Not reporting: the proxy stopped without saying so, or can’t reach Awenen. Check your platform for restarts.
  • Update available: pull the newer image and redeploy.

Still stuck

Email support@awenen.com with the proxy’s status page output and its last log lines. Neither contains your key.