-
Notifications
You must be signed in to change notification settings - Fork 50
ERROR: The operation was canceled. -> Unable to read data from the transport connection: Operation canceled. #87
Comments
I just got back from vacation. I'll look into this as soon as I can. |
Of course it doesn't repro for me on my machine/network. I have a version of the dotnet-symbol tool with the request timeout doubled to 4 minutes. I have attached the new nuget package that you can try before I push it but I'm not sure how to install it in your above docker repro. The install command would need to be modified to point to a local "source" or directory like:
You will have to download this zip and rename it it to |
Yes, this fix works! Thank you :) Here is updated
How do you think is it possible to pass timeout through command line argument or environment variable and doesn't hardcode it? |
I'm not sure if I want to add the complexity of either if hard coding this request timeout increase doesn't have any ill effects. |
Issue dotnet#87 Bump dotnet-symbol version to 1.0.2.
Version 1.0.2 will have the fix for the issue. It will be available as soon as nuget is finished its validation.
|
I've run into the same issue. I'm trying to download the symbols for libcoreclr.so, and it fails with the I extracted the URI (http://msdl.microsoft.com/download/symbols/_.debug%2Felf-buildid-sym-07da889c2290c495ba1c723452ed6f5b98cd8fc2%2F_.debug) and ran the download on my web browser, the file is 86MB and it's downloading at ~270 KB/s, so it's going to take more than 5 minutes. Of course the question would be "why is the symbol server so slow right now?", but I guess overriding the timeout is still needed in some cases. |
It is not a coincidence that multiple people are reporting these timeout issues as an unexpected behavior (dotnet/diagnostics#602, dotnet/diagnostics#412). This internet connection downloads 10 GB in less than 200 seconds while streaming Netflix videos, so downloading 70 MB file (for singlefilehost symbols) should take about 1.1 second, while it waits for four minutes and timesout. It looks like the symbol servers are not setup with CDN, so folks outside the US will hit the slow connection (but I don't know why it is THIS slow?) I think @mikem8361, should we report it as a new issue or could this be reopened for tracking purposes? Diagnostic tools are unusable for some of us. |
@am11 could you submit a new issue to add a --timeout option to dotnet-symbol? Thanks. |
#246. |
Hello,
When I run
dotnet symbol
to download debug symbols for .NET Core SDK 2.1.10 it throw the following error:Looks like
dotnet symbol
is trying to download large file and can't do it because exceed read timeout. Could you please check it?Steps to reproduce:
Create
Dockerfile
:Run
docker build
to build this docker file:It should show error described above.
Thank you.
The text was updated successfully, but these errors were encountered: