-
Notifications
You must be signed in to change notification settings - Fork 652
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
www/Caddy - Layer4 Proxy Causing Issues #4384
Labels
upstream
Third party issue
Comments
I need your caddyfile with l4 enabled and disabled. Ensure there is no sensitive data like API keys in it before sharing. |
Before enabling Layer4
After enabling Layer4
|
Thanks, I could reproduce it. Really weird. Might take some time to know whats going on. This feels like upstream. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Enabling Layer4 Proxy on Caddy breaks the ability to view OPNsense's firmware status.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Status page loads data.
Screenshots
Console showing that connection was closed with Layer4 Proxy enabled:
Page loads without Layer4 Proxy enabled and no console errors:
Relevant log files
Caddy Error:
"debug","ts":"2024-12-04T17:18:20Z","logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"10.254.254.1:10443","duration":2.971530084,"request":{"remote_ip":"10.254.253.2","remote_port":"6014","client_ip":"10.254.253.2","proto":"HTTP/2.0","method":"GET","host":"opnsense.jokosolutions.com","uri":"/api/core/firmware/info","headers":{"Sec-Fetch-Site":["same-origin"],"X-Requested-With":["XMLHttpRequest"],"Sec-Fetch-Mode":["cors"],"Accept-Language":["en-US,en;q=0.9,es;q=0.8"],"Priority":["u=1, i"],"X-Forwarded-Proto":["https"],"Cache-Control":["no-cache"],"Content-Type":["application/json"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"],"Sec-Fetch-Dest":["empty"],"Sec-Ch-Ua":["\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Accept":["application/json, text/javascript, */*; q=0.01"],"Dnt":["1"],"X-Forwarded-Host":["opnsense.jokosolutions.com"],"Accept-Encoding":["gzip, deflate, br, zstd"],"X-Csrftoken":["fxOhJ71D6vwUohhe2uuq5A"],"X-Forwarded-For":["10.254.253.2"],"Pragma":["no-cache"],"Cookie":["REDACTED"],"Referer":["https://opnsense.jokosolutions.com/ui/core/firmware"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"opnsense.jokosolutions.com"}},"error":"context canceled"}
Additional context
I admit, this could be an issue within my configuration. If you need any additional information or feel this isn't a bug let me know. Thank you!
Environment
OPNsense 24.7.10_2
Caddy Plugin 1.7.5
Google Chrome 131.0.6778.108
Mentioning: @Monviech since it appears you are the primary maintainer of this plugin. My apologies if this is considered bad etiquette.
The text was updated successfully, but these errors were encountered: