-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Conectivity issue when upgrading from .NET 7.0.1 to .NET 7.0.4 on Windows server #48965
Comments
Hi, |
Sorry for the delay getting to this. This is interesting... I'm fairly sure none of the changes between 7.0.1 and 7.0.4 (at least on the Kestrel side) would affect this. I see you mentioned that downgrading to 6.0 solved it. How confident are you that 7.0.1 doesn't have the issue? It might be helpful to see 'Trace' level logs for "Microsoft.AspNetCore". And maybe a dump while the server is in the bad state? |
Hi, thank you for the reply. |
Is there any additional information that we can provide? This has caused us to downgrade several customers to .NET 6.0, which is not a long term strategy, obviously. |
As mentioned above, Trace level logs for "Microsoft.AspNetCore" would be the best next step (since @haludi said dumps are not going to be possible). |
Also curious whether you can test on .NET 8 |
There is a plan to do so |
In many/most cases the update is just flip the target framework and rebuild. Do you have the ability to do that, and deploy (perhaps temporarily and limited, just enough to see whether it's fixed)? That would give another data point but depending on your processes and limitations might be a way to get the fix. |
Currently, our customers running on dotnet 6. |
Is there an existing issue for this?
Describe the bug
Our product is a distributed system consisting of multiple ASP servers.
There are TCP connections open between the servers.
And the servers also communicate with HTTP (version 1.1).
The issue:
The server doesn’t accept HTTP requests between the servers.
Even not from the server itself.
No errors on Microsoft logs (the configuration below) on the target server.
In the source server, we got:
(full stack trace below)
The issue starts between 1 hour to a couple of hours after a restart.
Azure firewall and OS firewall were checked.
Some details:
One of our customers had an issue in a production environment when upgrading our product.
This customer tested the upgrade in a test environment but no issue there.
We upgraded the servers again to collect more information.
We collected Microsoft logs (the configuration below) and also
tcpdump
.In the Microsoft logs, we saw no error.
On
tcpdump
that was collected (for 3 minutes) for the target server, we see all HTTPS packages to the port the server is listening to has no response packages[Conversation completeness: Incomplete, SYN_SENT (1)]
.We didn’t have any changes regarding the server communication handling between our product versions besides upgrading
.Net
from.Net6
to.Net7
so we created the same build with one difference, we used.Net6
instead and the issue was solved.Since this is a production we deployed the
.Net7
version twice after the first issue to collect the logs and the issue happened again on both times.We also saw the issue again in another customer system, this time the .Net upgrade was between .NET 7.0.1 to .NET 7.0.4 - again using
.Net6
build solved the issue.Both customers’ servers were on:
Addition finding:
Microsoft.AspNetCore.Hosting.Diagnostics
, we see only HTTP/2 (this is external communication typically when you access the server from a browser).tcpdump
there are no packages that go out from the HTTPS port even though there are packages that go in.tcpdump
from this time).tcpdump
was collected for 3 minutes while the issue happenedMicrosoft log configuration:
Expected Behavior
No response
Steps To Reproduce
We couldn't reproduce
Exceptions (if any)
Exception Stack Trace:
.NET Version
.NET 7.0.4
Anything else?
No response
The text was updated successfully, but these errors were encountered: