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

Tokio Panic #348

Closed
Draconich opened this issue Sep 12, 2024 · 1 comment
Closed

Tokio Panic #348

Draconich opened this issue Sep 12, 2024 · 1 comment
Labels

Comments

@Draconich
Copy link

Draconich commented Sep 12, 2024

wstunnel_logs.txt

Describe the bug

Wstunnel crashes with a frequency about once a day with this error
thread 'tokio-runtime-worker' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.4.1/src/common/time.rs:37:17:

There is also constant spamming of this error which i don't know if relevant or not.
Error while upgrading cnx: hyper::Error(HeaderTimeout)

To Reproduce

Run /usr/local/bin/wstunnel server --restrict-config /etc/restrictions.yaml wss://[::]:5555 for about a day.

Expected behavior

Not to panic.

Your wstunnel setup

Added log snippet as a file. It's running without a reverse proxy and clients that are connecting to it go through a MITM squid proxy.

Desktop (please complete the following information):

It's running on 32-bit Ubuntu 18.04.
Wstunnel v10.1.0
Additional context
If it's not enough i can switch to DEBUG log level or run with RUST_BACKTRACE=1 - i just only discovered it by looking at systemctl status wstunnel.service and seeing a 1 day uptime.

@Draconich Draconich added the bug label Sep 12, 2024
@erebe
Copy link
Owner

erebe commented Sep 13, 2024

Hello,

Please use the latest version. It has been fixed in v10.1.1 https://github.com/erebe/wstunnel/releases/tag/v10.1.1

It must ve due to some bot trying to crawl your server.

@erebe erebe closed this as completed Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants