SSTP VPN connection terminated in 10 seconds while entering credentials (on Windows native client)

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
vova
Posts: 1
Joined: Wed May 12, 2021 7:00 pm

SSTP VPN connection terminated in 10 seconds while entering credentials (on Windows native client)

Post by vova » Wed May 12, 2021 7:40 pm

Hello!
I noticed a strange behavior while connecting to SSTP VPN using Windows 10 native client: after credentials pop-up appears, the connection is being terminated in 10 seconds with error "A connection to the remote computer could not be established, so the port used for this connection was closed".
However, if I submit credentials within 10 seconds or credentials are already saved, the connection works as expected.

Server logs (Oracle Linux Server release 7.8):

Code: Select all

2021-05-12 16:32:21.550 On the TCP Listener (Port 443), a Client (IP address 10.0.0.5, Host name "**********", Port number 65486) has connected.
2021-05-12 16:32:21.550 For the client (IP address: 10.0.0.5, host name: "**********", port number: 65486), connection "CID-7" has been created.
2021-05-12 16:32:21.682 SSL communication for connection "CID-7" has been started. The encryption algorithm name is "AES128-SHA".
2021-05-12 16:32:31.948 Connection "CID-7" terminated by the cause "Connection has been disconnected." (code 3).
2021-05-12 16:32:31.948 Connection "CID-7" has been terminated.
2021-05-12 16:32:31.948 The connection with the client (IP address 10.0.0.5, Port number 65486) has been disconnected.
Also I ran Wireshark on Windows client machine and found out that the server sends TCP RST packet that causes connection termination. So I believe that the problem is on the server side.

Is there any kind of time-out that can be configured? Thanks!

eddiewu
Posts: 89
Joined: Wed Nov 25, 2020 9:10 am

Re: SSTP VPN connection terminated in 10 seconds while entering credentials (on Windows native client)

Post by eddiewu » Fri May 14, 2021 3:59 pm

It's fixed in the code (PPP_PACKET_RECV_TIMEOUT). You can change it by modifying the code and rebuild yourself.

Post Reply