-
Notifications
You must be signed in to change notification settings - Fork 81
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
Switching songs is being treated as an error? #90
Comments
And that I have no idea if it is related, but here it is: |
I have noticed similar errors before and spent a lot of time investigating them. Some of the related issues are rwf2/Rocket#1023, rwf2/Rocket#1254, and possibly rwf2/Rocket#580. The common theme is that these errors are bugs in old versions of Hyper (the HTTP library used by Rocket). The bugs in Hyper were fixed a long time ago, but there isn't a release of Rocket with an up to date Hyper (yet). The waiting room for Rocket 0.5 which fixes all this is here. I did implement the |
Same thing for me, and I don't think that this is an something about meanfull error, since it didn't break anything. I think this is because client opens new connection for new track, and possibly don't wait for connection to be closed or forcelly closes connection, in time when server is pushing track or was hanging on connection. But I wasn't dig into the problem, just saw this error in log. |
I would ignore it. The browser closes the connection (which is the graceful way to abort a request) so the server gets a write error. Most web servers don't log these by default, but Rocket seems to do. I don't think this is really an issue. |
Fixed in release 0.13 |
Sometimes when I switch song its being logged as an error (although more correct would be saying "almost everytime")
Example:
I don't know if it is something you can fix, because it seems that error originates from rocket crate (as indicated by path), but maybe you can catch it somehow.
Btw. I get similar error on linux (ogarcia/docker-polaris), but it is a little bit different:
Polaris is running on Windows 10 19041.450.
Accessed on Firefox 79.0
The text was updated successfully, but these errors were encountered: