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

The SSL connection broken after running for a certain period of time on OpenWrt 23.05 #1920

Open
1 of 2 tasks
danielaskdd opened this issue Oct 22, 2023 · 7 comments
Open
1 of 2 tasks

Comments

@danielaskdd
Copy link

danielaskdd commented Oct 22, 2023

Prerequisites

  • Can you reproduce?
  • Are you running the latest version of SoftEtherVPN?

SoftEther version: Client Version 4.38 Build 9760 / Server Version Doesn't Matter 4.22 or 4.38 or 5.01
Component: Server
Operating system: OpenWrt 23.05
Architecture: aarch64 and x86_64
Processor: Cortex-A53/A55 and Intel N5105

Description

I'm experiencing an issue where, after establishing a connection to Cascade using SSL VPN, the TCP connections fail after running for a day. The cascade connection status still displays as "online" but the TCP connection count drops to 0. SoftEther continuously attempts to reconnect, but it fails to establish a successful connection.

This issue occurs when one of the operating systems is OpenWrt 23.05.0, while there is no such problem with OpenWrt 22.03.5.

cascade connection settings:
image

connection status:
image

SoftEther Server log (repeat every second):

2023-10-22 12:52:57.420 On the TCP Listener (Port 1195), a Client (IP address 14.145.153.206, Host name "14.145.153.206", Port number 36530) has connected.
2023-10-22 12:52:57.420 For the client (IP address: 14.145.153.206, host name: "14.145.153.206", port number: 36530), connection "CID-272544" has been created.
2023-10-22 12:52:57.481 SSL communication for connection "CID-272544" has been started. The encryption algorithm name is "TLS_AES_256_GCM_SHA384".
2023-10-22 12:52:57.501 Connection "CID-272544" has been terminated.

Expected behavior:
The cascade connection should work. The TCP connection number is 2.

Actual behavior:
The cascade connection is not working. The TCP connection number is 0.

Steps to reproduce

  1. Set up a cascade connection between two virtual hubs.
  2. Enable the SSL encryption option of the cascade connection.
  3. Let the cascade connection online, and run for a day or longer.
  4. The connection is broken. Though the cascade connection status still displays as "online"
@officialh1
Copy link

This might be a small issue, but can you make sure everything is at 5.x, the posts here are all about 5.x only not 4.x.

@alex3594
Copy link

Hello!
I can confirm I have the same issue on 4.38 Build 9760 under Openwrt 23.05. I don't see any "issues" tab in the Softether Stable repo. Where should I post the bug?

@chipitsine
Copy link
Member

@alex3594 , please tell us where did you download 4.38 ? maybe there's a support link

@alex3594
Copy link

@alex3594 , please tell us where did you download 4.38 ? maybe there's a support link
It was built from the source code (feed from official Openwrt 23.05). The feed link goes here: https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.38-9760-rtm/softether-src-v4.38-9760-rtm.tar.gz

@chipitsine
Copy link
Member

does feed from official openwrt has some kind of support link ?

@chipitsine
Copy link
Member

chipitsine commented Dec 28, 2023 via email

@chipitsine
Copy link
Member

I suggest to try the following link: https://github.com/openwrt/packages/issues

found at

Screenshot from 2023-12-28 22-11-38

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

No branches or pull requests

5 participants
@chipitsine @alex3594 @officialh1 @danielaskdd and others