Connection closes after 20 seconds on SoftEther server

Support requests about VPN Client Pro
Post Reply
ekinyuksel12
Posts: 1
Joined: Wed Jun 15, 2022 11:23 am

Connection closes after 20 seconds on SoftEther server

Post by ekinyuksel12 »

I can connect to that server over my windows and Linux machine with no problem and connection stays on. But with this app it cannot sustains the connection after 20 seconds. It gives "B00C60ED76000000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:309" erorr before it closes. Here's the log of the whole connection the error happens at "2022-06-15 14:25:56".

Code: Select all

2022-06-15 14:25:35 VpnClientPro-google-api27-release-1.01.11 (23010111)
2022-06-15 14:25:35 Connecting request by user
2022-06-15 14:25:35 OpenSSL 3.0.3 3 May 2022
2022-06-15 14:25:35 try to connect to xxx.xxx.xxx.xxx:443
2022-06-15 14:25:35 Connecting to xxx.xxx.xxx.xxx:443
2022-06-15 14:25:35 Set TLS SNI extension to "xxx.xxx.xxx"
2022-06-15 14:25:35 Sending client signature
2022-06-15 14:25:35 link write queue(1)
2022-06-15 14:25:35 Ca is not set, certificate verify error ignored:
2022-06-15 14:25:35   certificate: /CN=EC2AMAZ-47IOI29/O=EC2AMAZ-47IOI29/OU=EC2AMAZ-47IOI29/C=US
2022-06-15 14:25:35   depth: 0 error: self-signed certificate(18)
2022-06-15 14:25:35 WARNING! server certificate CN "EC2AMAZ-47IOI29" doesn't match host name "xxx.xxx.xxx"
2022-06-15 14:25:35 TLSv1.3 connection established with cipher TLS_AES_256_GCM_SHA384
2022-06-15 14:25:35 Enable TCP_NODELAY socket option
...
2022-06-15 14:25:36 DHCP client started
2022-06-15 14:25:36 Connected
2022-06-15 14:25:36 link socket is ready for write
2022-06-15 14:25:36 tun socket is ready for write
2022-06-15 14:25:36 link socket is ready for read
2022-06-15 14:25:36 SSL_read ret=203, ssl_error=0
2022-06-15 14:25:36 link socket read (203/203) from 77
2022-06-15 14:25:36 tun socket is ready for read
2022-06-15 14:25:36 tun socket read (342/4088) from 82
2022-06-15 14:25:36 link write queue(1)
2022-06-15 14:25:36 link socket is ready for write
2022-06-15 14:25:36 SSL_write ret=350, ssl_error=0
2022-06-15 14:25:36 link socket write (350/350) to 77
2022-06-15 14:25:36 tun socket is ready for write
2022-06-15 14:25:36 link socket is ready for read
2022-06-15 14:25:36 SSL_read ret=350, ssl_error=0
2022-06-15 14:25:36 link socket read (350/350) from 77
2022-06-15 14:25:36 tun write queue(1)
2022-06-15 14:25:36 link socket is ready for write
2022-06-15 14:25:36 tun socket is ready for write
2022-06-15 14:25:36 tun socket write (342/342) to 82
2022-06-15 14:25:36 tun socket is ready for read
2022-06-15 14:25:36 tun socket read (342/4088) from 82
2022-06-15 14:25:36 link write queue(1)
2022-06-15 14:25:36 link socket is ready for write
2022-06-15 14:25:36 SSL_write ret=350, ssl_error=0
2022-06-15 14:25:36 link socket write (350/350) to 77
2022-06-15 14:25:36 tun socket is ready for write
2022-06-15 14:25:36   set DHCP server "192.168.204.1"
2022-06-15 14:25:36   set lease time "7200"
2022-06-15 14:25:36   add address "192.168.204.101/24"
2022-06-15 14:25:36 DHCP client completed
2022-06-15 14:25:36 TapEmulator started
2022-06-15 14:25:36 link socket is ready for read
2022-06-15 14:25:36 SSL_read ret=350, ssl_error=0
2022-06-15 14:25:36 link socket read (350/350) from 77
2022-06-15 14:25:36 tun write queue(1)
2022-06-15 14:25:36 link socket is ready for write
2022-06-15 14:25:36 tun socket is ready for write
2022-06-15 14:25:36 tun socket write (342/342) to 82
2022-06-15 14:25:39 link socket is ready for read
2022-06-15 14:25:39 SSL_read ret=134, ssl_error=0
2022-06-15 14:25:39 link socket read (134/134) from 77
2022-06-15 14:25:39 tun write queue(1)
2022-06-15 14:25:39 tun write queue(2)
2022-06-15 14:25:39 link socket is ready for write
2022-06-15 14:25:39 tun socket is ready for write
2022-06-15 14:25:39 tun socket write (80/80) to 82
2022-06-15 14:25:39 tun socket write (42/42) to 82
2022-06-15 14:25:41 link socket is ready for write
2022-06-15 14:25:41 tun socket is ready for write
2022-06-15 14:25:43 link socket is ready for read
2022-06-15 14:25:43 SSL_read ret=453, ssl_error=0
2022-06-15 14:25:43 link socket read (453/453) from 77
2022-06-15 14:25:43 link socket is ready for write
2022-06-15 14:25:43 tun socket is ready for write
2022-06-15 14:25:44 link socket is ready for read
2022-06-15 14:25:44 SSL_read ret=134, ssl_error=0
2022-06-15 14:25:44 link socket read (134/134) from 77
2022-06-15 14:25:44 tun write queue(1)
2022-06-15 14:25:44 tun write queue(2)
2022-06-15 14:25:44 link socket is ready for write
2022-06-15 14:25:44 tun socket is ready for write
2022-06-15 14:25:44 tun socket write (80/80) to 82
2022-06-15 14:25:44 tun socket write (42/42) to 82
2022-06-15 14:25:49 link socket is ready for read
2022-06-15 14:25:49 SSL_read ret=134, ssl_error=0
2022-06-15 14:25:49 link socket read (134/134) from 77
2022-06-15 14:25:49 tun write queue(1)
2022-06-15 14:25:49 tun write queue(2)
2022-06-15 14:25:49 link socket is ready for write
2022-06-15 14:25:49 tun socket is ready for write
2022-06-15 14:25:49 tun socket write (80/80) to 82
2022-06-15 14:25:49 tun socket write (42/42) to 82
2022-06-15 14:25:54 link socket is ready for read
2022-06-15 14:25:54 SSL_read ret=134, ssl_error=0
2022-06-15 14:25:54 link socket read (134/134) from 77
2022-06-15 14:25:54 tun write queue(1)
2022-06-15 14:25:54 tun write queue(2)
2022-06-15 14:25:54 link socket is ready for write
2022-06-15 14:25:54 tun socket is ready for write
2022-06-15 14:25:54 tun socket write (80/80) to 82
2022-06-15 14:25:54 tun socket write (42/42) to 82
2022-06-15 14:25:55 link socket is ready for write
2022-06-15 14:25:55 tun socket is ready for write
2022-06-15 14:25:56 link socket is ready for read
2022-06-15 14:25:56 SSL_read ret=0, ssl_error=1
2022-06-15 14:25:56 SSL socket read error
2022-06-15 14:25:56 B00C60ED76000000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:309:
2022-06-15 14:25:56 delete all buf from link write queue(0)
2022-06-15 14:25:56 delete all buf from tun write queue(0)
2022-06-15 14:25:56 Wait 5 seconds...
2022-06-15 14:25:56 TapEmulator stopped
2022-06-15 14:25:57 Disconnecting request by user
2022-06-15 14:25:57 received disconnect signal
2022-06-15 14:25:57 Disconnecting...
2022-06-15 14:25:57 Disconnected
2022-06-15 14:25:57 delete all buf from link write queue(0)
2022-06-15 14:25:57 delete all buf from tun write queue(0)
admin
Site Admin
Posts: 670
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: Connection closes after 20 seconds on SoftEther server

Post by admin »

Hello,

I tried to reproduce the problem but everything seems to work fine on my devices.
Perhaps the problem is related to the new OpenSSL 3.0.3 library.
I sent you a private message with the previous version to try.
Post Reply