-
Notifications
You must be signed in to change notification settings - Fork 863
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
Warning after updating to 2.1.0 #2340
Comments
I am experiencing this too; is there any way to disable the warning? |
Was this specifically a change when going from 2.0 to 2.1, or did you see similar behavior in other versions as well? There were some changes around how different error conditions are classified, but I don't believe it should have affected these categories. Errors like |
I returned to v2.0.1 and the warning went away. There is definitely some sort of regression. I'm using it in this project: I'll see if I can provide the exceptions. |
Here's the exception, only seen in 2.1 and not in 2.0.1. .net8.0, macOS if that helps.
|
Between If you lower the log level you observe for YARP to |
Have you had a chance to confirm whether this is the case for you? |
Same issue here, many warnings being logged for cancelled requests after upgrading to 2.1.0. We try to keep a fairly clean house in terms of warnings and errors and this is now flooding our warning logs with messages that we are not going to be able to do anything with because it is expected that some requests will be cancelled from time to time. |
Agreed on the cancelled requests being too noisy here. Given that there is no indication that there is a regression here resulting in more errors, and only that the existing errors were raised from Info to Warn, I'm closing this as a duplicate of #2195 which deals with reducing the amount of noise from cancelled requests. |
Hi @MihaZupan just to be sure I understand, you state that those 3 warnings mentioned by @marekott are logged due to request aborted by client and Yarp is simply logging them with warning where in fact are more like debug logs. So we can simply ignore those till you fix severity level. |
Hi @MihaZupan, after updating
All are logged with warning level, should't it be fixed in |
Same warning here: What exactly means? I understand that is a message related to the websockets protocol, but how affects to it? |
Happening still, any way to switch this off, or handling this gracefully? |
Describe the bug
After updating to 2.1.0 of
Yarp.ReverseProxy
we have suddenly started observing a lot of warnings logged for traffic forwarded to microservice using SignalR. For example:UpgradeRequestClient: The client reported an error when copying the upgraded request body.
UpgradeResponseCanceled: Copying the upgraded response body was canceled.
RequestCanceled: The request was canceled before receiving a response.
Is it expected behavior after mentioned update? I've never observed such logs on previous version and there were no other changes that could explain it. If it is desired behavior (I can see there were some changes regarding logging: #2325) how should I understand above logs? Is there something to worry about?
The text was updated successfully, but these errors were encountered: