Skip to content
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

Reduce noise caused by remote addresses having improper host/port combinations #567

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mpldr
Copy link

@mpldr mpldr commented Mar 10, 2024

This is not even two weeks and there is nothing to infer or fix from it, since it is mostly the misconfiguration of other people.

2024-03-10-22-08-35

@turt2live turt2live self-requested a review March 14, 2024 04:28
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise lgtm - thanks!

@@ -45,7 +44,6 @@ func (h *HostRouter) ServeHTTP(w http.ResponseWriter, r *http.Request) {
host, _, err := net.SplitHostPort(raddr)
if err != nil {
logrus.Error(err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we're not reporting it to sentry then we also shouldn't be logging it at the error level. Please reduce this to debug.

@turt2live turt2live changed the title remove noisy exception Reduce noise caused by remote addresses having improper host/port combinations Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants