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

httprepl nice idea, but why are error messages like fail to connect shown as stacktraces? #304

Closed
scottaddie opened this issue Dec 2, 2019 · 1 comment · Fixed by #419
Labels
5.0-dash Potential final items for 5.0 enhancement New feature or request usability
Milestone

Comments

@scottaddie
Copy link
Member

Issue originally opened by @mattiasw2 at dotnet/AspNetCore.Docs#15936.

For example, instead of "No connection ...." I get this

http://localhost:5000/> options
System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
:
:

@tlmii
Copy link
Member

tlmii commented Dec 2, 2019

Thanks for the heads up @scottaddie. Definitely something we'd like to make better.

@tlmii tlmii added the enhancement New feature or request label Dec 2, 2019
@tlmii tlmii added the 5.0-dash Potential final items for 5.0 label Oct 22, 2020
@tlmii tlmii added this to the 5.0.0 milestone Oct 23, 2020
@tlmii tlmii closed this as completed in #419 Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.0-dash Potential final items for 5.0 enhancement New feature or request usability
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants