-
Notifications
You must be signed in to change notification settings - Fork 523
Include port in EADDRINUSE exception #1086
Comments
I really don't think this exception (or any UvException for that matter) should be surfaced to the user. What about a more specific exception here? |
I think #299 might've been closed a bit prematurely. I'm still seeing ECONNRESET exceptions occasionally as well. |
@khellang Are you getting the ECONNRESET for reads or writes? It's writes that should no longer fail for this reason. It's possible for reads of course if you don't get a complete request. In that case the UvException is an inner exception wrapped in an IOException. |
@halter73 I think I saw it while awaiting a |
@khellang ECONNRESETs should be logged as information like any other communication error. |
Soooo.... There shouldn't be any UvException surfaced to the user in the future builds? Or what is the bottom line of this? |
I think there might be different interpretations on what "surfaced to the user" means. People seem to mean two different things:
I'm not really sure any of those should occur 😕 |
I think |
@DovydasNavickas That's taken care of by #1143, but the |
Ok, got it. Missed the reference. |
Uh oh!
There was an error while loading. Please reload this page.
It is not the first time I get this exception:
Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException: Error -4091 EADDRINUSE address already in use
But this time I think I set the settings right and I can't seem to find the actual port Kestrel tried to use, which makes it impossible (or I don't know how) to check which port Kestrel tried to use.
It would be awesome if an exception included the port number Kestrel tried to use.
The text was updated successfully, but these errors were encountered: