Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
No Logs for 503 HA-Proxy errors
« previous
next »
Print
Pages: [
1
]
Author
Topic: No Logs for 503 HA-Proxy errors (Read 2060 times)
mliebherr
Newbie
Posts: 25
Karma: 0
No Logs for 503 HA-Proxy errors
«
on:
June 23, 2021, 04:01:26 pm »
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
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: No Logs for 503 HA-Proxy errors
«
Reply #1 on:
June 23, 2021, 06:40:11 pm »
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.
Logged
mliebherr
Newbie
Posts: 25
Karma: 0
Re: No Logs for 503 HA-Proxy errors
«
Reply #2 on:
June 24, 2021, 09:24:35 am »
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?
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: No Logs for 503 HA-Proxy errors
«
Reply #3 on:
June 24, 2021, 10:51:34 am »
@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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
No Logs for 503 HA-Proxy errors