No Logs for 503 HA-Proxy errors

Started by mliebherr, June 23, 2021, 04:01:26 PM

Previous topic - Next topic
Hello,

i use HA-Proxy and it returns a 503 Page.
I enabled " Detailed Logging " in the Public Services.

All i can see are those start logs:

2021-06-23T15:55:08   haproxy[12619]   Proxy load_balancing_portal_foo_net_Port_443 started.   
2021-06-23T15:55:08   haproxy[12619]   Proxy portal.foo.net_ht-access_8443 started.

Why wont it log my requests/errors?

I also disabled the Service which gave me a timeout, so i guess i actually access/use/hit the HAProxy Service.

Cheers,
Michael

503 means that it cannot reach the upstream or there is no upstream.

Try to access the server using curl on the OPNsense shell and if that works, your LB config is wrong, otherwise you should check your network / upstream host.

thanks fabian.

verify error:num=10:certificate has expired
notAfter=Jun 10 04:43:13 2021 GMT


But why wont it log it in the ha logs?

@mliebherr
hi. of course, lines with an SC flag should have appeared in the logs. can you try to cleari the log and reapply the settings?
and what level is set in "HAProxy: Settings: Logging"?
not sure if the notice level (if 'notice' is set) adds these lines. 'info' level should work