Caddy redirects no longer working.

Started by The_Istar, December 09, 2024, 07:30:02 PM

Previous topic - Next topic
Since the last update to 24.7.10 it seems my redirects no longer work.

It seems it does pick up the request properly but then redirects to a URL that looks something like this:

http://bazarr/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/10.67.0.52:6767/.......
This address goes on like this until finally the request is aborted with: ERR_RESPONSE_HEADERS_TOO_BIG

My Caddy file is attached.

Looking at it I do not see any reason why the redirects should behave the way they do. There does not seem to be anything different in the Caddy file itself than before the update, as far as I can see.

Hello thanks for the report, I think this will fix it:

https://github.com/opnsense/plugins/pull/4390

Hardware:
DEC740

That was fast. Thanks. Looking forward to seeing this implemented.

I think I can merge it tomorrow and I will post the patch command here.
Hardware:
DEC740

You can install the patch with:

opnsense-patch -c plugins b4e133bb39d6e304d135bd2d26ddf2774a87ce09
Hardware:
DEC740

Patch seems to have worked.
It did require a reboot of the system though, a simple stop and start of Caddy was not enough.

Thanks for the quick support!

Thank you for verifying :)
Hardware:
DEC740