-
Notifications
You must be signed in to change notification settings - Fork 763
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
Timing out client: IPv4Address(TCP, 'xxxx', xxx) in the twisted logs #829
Comments
Yeah, it does seem to fill up the logs -- and I don't really see any usefulness there either, personally.... |
I agree, it is annoying and mostly noise. There is a corresponding issue crossbario/crossbar#974 This likely needs bits in Twisted: https://github.com/twisted/twisted/blob/trunk/src/twisted/web/http.py#L2161 |
Do we have a twisted bug already? |
@tardyp I'm not aware of a Twisted issue tracking this .. |
I do have a patch that fixes this without touching Twisted: crossbario/crossbar#1060 Not ideal, because I basically just override the method that does the logging -- but I don't see any other solution because this Twisted code is still using the old-twisted-logger, so it's |
@meejah ah, right. you already fixed it;) I am catching up with stuff, merged this one. Only thing left: use the new LessNoisy thing in all places within CB where we do Web (REST bridge, Universal Transport .. |
Because of the way it's set up, this patch works for the REST bridge as well. It looks like the universal transport also (or, the way it steals the transport means the channel doesn't timeout, maybe?) In any case, I can't repeat this with the universal transport. |
@meejah thanks for checking! |
When using autobahn websocket, using browsers which idle, the buildbot logs are filled with "Timing out client: IPv4Address([...])"
this is coming from:
I wonder if it would make sense to override this method in autobahn and drop this log.
Client timing out is obviously an expected behaviour, which does not require a log.
What do you think?
The text was updated successfully, but these errors were encountered: