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

QUIC: Reword error message Read on stream X canceled with error code 1 #2721

Closed
lukedirtwalker opened this issue May 29, 2019 · 0 comments · Fixed by #3306
Closed

QUIC: Reword error message Read on stream X canceled with error code 1 #2721

lukedirtwalker opened this issue May 29, 2019 · 0 comments · Fixed by #3306
Assignees

Comments

@lukedirtwalker
Copy link
Collaborator

When a quic read times out the following error is printed:

2019-05-29 04:14:35.131603+0000 [DBUG] Unclassified RPC error msg=
>  [Messenger] Request error
>      Read on stream 0 canceled with error code 1

It is far from clear that error code 1 is a timeout, it would be nice to have a more descriptive error text.

lukedirtwalker added a commit to lukedirtwalker/scion that referenced this issue Nov 4, 2019
If we have an error we should not simply ignore it and continue processing.
Instead the fetcher now returns the error immediately.

Also
* do not continue resolving&fetching when 0 up/down segments are cached
* log sciond error code in debug
* remove duplicated log about convergence problem
* improve returned error when a timeout occurs in QUIC

Fixes scionproto#2721
Fixes scionproto#3293
Fixes scionproto#3294
Fixes scionproto#3094
lukedirtwalker added a commit to lukedirtwalker/scion that referenced this issue Nov 4, 2019
If we have an error we should not simply ignore it and continue processing.
Instead the fetcher now returns the error immediately.

Also
* do not continue resolving&fetching when 0 up/down segments are cached
* log sciond error code in debug
* remove duplicated log about convergence problem
* improve returned error when a timeout occurs in QUIC

Fixes scionproto#2721
Fixes scionproto#3293
Fixes scionproto#3294
Fixes scionproto#3094
lukedirtwalker added a commit that referenced this issue Nov 4, 2019
If we have an error we should not simply ignore it and continue processing.
Instead the fetcher now returns the error immediately.

Also
* do not continue resolving&fetching when 0 up/down segments are cached
* log sciond error code in debug
* remove duplicated log about convergence problem
* improve returned error when a timeout occurs in QUIC

Fixes #2721
Fixes #3293
Fixes #3294
Fixes #3094
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants