Closed V2RVPNShop closed 1 month ago
Please use the template and provide more information regarding your setup.
This is how I use wstunnel:
wstunnel server wss://[::]:8443
wstunnel client -L tcp://0.0.0.0:80:localhost:80 -L tcp://0.0.0.0:443:localhost:443 -L tcp://0.0.0.0:512:localhost:512 -L tcp://0.0.0.0:530:localhost:530 wss://sub.domain.ir:8443
After a while, when the number of connections on a port increases, that port will go out of listening mode. And I need to restart the wstunnel service. I also used the reverse mode and I still have this problem.
I thanks for providing more information. Would you mind testing this pre-release and let me know if it fix your issue https://github.com/erebe/wstunnel/releases/tag/v9.2.5
Most likely what is happening is that accepting new connection is too slow, and it returns an error, which before was exiting the listening loop. If it is the case, it means your server is under-sized for the load you want it to manage.
Anyway let me know if it fix the issue, or a least you should see an error message now
Hi, The problem is solved in version 9.2.5. Thank you very much for your attention and quick fix.
When the number of requests increases, the packet loss increases. When the number of requests gets too high, it stops and I have to restart the service. I restart the service every 5 minutes (using Crontab), the problem is solved to some extent.