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
Prometheus returns HTTP 500 "seeker can't seek" error on /favicon.ico #10697
Comments
This |
Same issue here |
the issue occurred also when using the PromQL editor. The UI cannot get the icon for the editor. There is a And yes it's only in Docker. When we are using the binary directly, the issue doesn't happen. |
issue wasn't there in 2.34. I'm looking about what changed between 2.34 and 2.35 |
It's not only in docker, it's when building with promu crossbuild. |
that's weird @roidelapluie. I downloaded the last archive and run the binary and I don't see the issue like @fpapadamis said it too. |
then
|
tar xvf prometheus-2.36.1.darwin-amd64.tar.gz
cd prometheus-2.36.1.darwin-amd64/
./prometheus
no issue in darwin arch. Perhaps the issue is more on linux actually |
My initial thinking: https://github.com/prometheus/common/blob/627089d3a7af73be778847aa577192b937b8d89a/server/static_file_server.go#L21 We need more extensions here. If the extension is not known, go http will seek the file to know the mimetype, which is not possible. |
After some testing, I confirm that prometheus/common#385 fixes the issue. |
cool, thank you @roidelapluie. I commented the PR in order to add more mimeTypes support. |
Closes prometheus#10697 Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Thank you, folks! |
Closes #10697 Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Properly fix prometheus#10697 Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Properly fix prometheus#10697 Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Properly fix #10697 Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Hello everyone, do you notice that alertmanager |
Closes prometheus#10697 Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Properly fix prometheus#10697 Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
What did you do?
docker run -it -p 9090:9090 quay.io/prometheus/prometheus:latest
)What did you expect to see?
Prometheus' favicon.
What did you see instead? Under which circumstances?
A HTTP 500 response with Go's
seeker can't seek
error message.System information
Darwin 21.4.0 x86_64
Prometheus version
Prometheus configuration file
No response
Alertmanager version
No response
Alertmanager configuration file
No response
Logs
None relevant to the issue (not even with
--log.level=debug
).The text was updated successfully, but these errors were encountered: