-
Notifications
You must be signed in to change notification settings - Fork 27
default_listing BrowseTemplate causing 500 response #55
Copy link
Copy link
Open
Description
This was mentioned in issue #50, but the issue was closed by the reporter. I'm having the same issue. If you are using the default BrowseTemplate, a 500 error is returned to the user. Error logs in Caddy:
{
"level": "error",
"ts": 1643739892.6739354,
"logger": "http.log.error",
"msg": "template: default_listing:5:26: executing \"default_listing\" at <.PageObj>: can't evaluate field PageObj in type caddys3proxy.PageObj",
"request": {
"remote_addr": "10.113.133.2:46012",
"proto": "HTTP/1.1",
"method": "GET",
"host": "s3proxy.redacted",
"uri": "/?max=20",
"headers": {
"X-Request-Id": ["913cd8227b352f76365baa7c2c255f"],
"X-Real-Ip": ["10.167.1.129"],
"X-Forwarded-Host": ["s3proxy.redacted"],
"User-Agent": ["curl/7.80.0"],
"Content-Type": ["text/html"],
"X-Forwarded-For": ["10.17.1.19"],
"X-Forwarded-Port": ["80"],
"X-Forwarded-Proto": ["http"],
"X-Scheme": ["http"],
"Accept": ["*/*"]
}
},
"duration": 1.04688346,
"status": 500,
"err_id": "eqh8tru7r",
"err_trace": "caddy-s3-proxy.convertToCaddyError (errors.go:118)"
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels