Internal Error (code 23)

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
hamolski
Posts: 1
Joined: Wed May 30, 2018 2:44 am

Internal Error (code 23)

Post by hamolski » Wed May 30, 2018 2:57 am

Hi All,

I have configured the Windows server on Server 2008. All setup OK, and the client is Win7.

The two are communicating (the ports are open, tested via telnet).

Whenever I dial the connection, I get "An error has occurred"
Error (Error Code 23)
An internal error occured.

on the client log, it says.
2018-05-30 09:42:51.501 A Virtual Network Adapter "VPN" has been created.
2018-05-30 09:46:15.533 A new VPN Connection Setting "VPN Client" has been created.
2018-05-30 09:46:18.251 Connection processing for VPN Connection Setting "VPN Client" has started.
2018-05-30 09:46:18.253 VPN Connection Setting "VPN Client": Connection operation starting (this is now 1 times).
2018-05-30 09:46:19.279 VPN Connection Setting "VPN Client": The connection has been either disconnected or it failed. Cause: An internal error occurred. (code 23)"

And this is what the server log says:


2018-05-30 09:16:21.154 TCP Listener (port 5555) has started. Now listening for connection from client.
2018-05-30 09:16:21.154 Monitoring the directory "C:\Program Files\SoftEther VPN Server". If the amount of available free disk space becomes less than 8.00 GBytes, the backup files for log files and configurations that are saved on the sub-directories of this directory will be automatically deleted in the order of oldest first. The amount of free disk space that determines when to start deletion can be modified by changing the "AutoDeleteCheckDiskFreeSpaceMin" item in the configuration file.
2018-05-30 09:16:21.155 Starting the automatically saving background task. The interval between auto-saves is 300 seconds. You can change the interval by changing the parameter AutoSaveConfigSpan in the configuration file.
2018-05-30 09:16:56.206 On the TCP Listener (Port 5555), a Client (IP address 127.0.0.1, Host name "MMP-FS", Port number 62791) has connected.
2018-05-30 09:16:56.206 For the client (IP address: 127.0.0.1, host name: "MMP-FS", port number: 62791), connection "CID-1-5CD37BED21" has been created.
2018-05-30 09:16:56.235 SSL communication for connection "CID-1-5CD37BED21" has been started. The encryption algorithm name is "AES128-SHA".
2018-05-30 09:16:56.239 Connection "CID-1-5CD37BED21": 1 Virtual Hub servers have been enumerated on this server.
2018-05-30 09:16:56.265 Connection "CID-1-5CD37BED21" terminated by the cause "No error." (code 0).
2018-05-30 09:16:56.265 Connection "CID-1-5CD37BED21" has been terminated.
2018-05-30 09:16:56.265 The connection with the client (IP address 127.0.0.1, Port number 62791) has been disconnected.
2018-05-30 09:18:40.361 On the TCP Listener (Port 5555), a Client (IP address 127.0.0.1, Host name "MMP-FS", Port number 62794) has connected.
2018-05-30 09:18:40.361 For the client (IP address: 127.0.0.1, host name: "MMP-FS", port number: 62794), connection "CID-2-0173B7E3AC" has been created.
2018-05-30 09:18:40.398 SSL communication for connection "CID-2-0173B7E3AC" has been started. The encryption algorithm name is "AES128-SHA".
2018-05-30 09:18:40.401 Connection "CID-2-0173B7E3AC": 1 Virtual Hub servers have been enumerated on this server.
2018-05-30 09:18:40.426 Connection "CID-2-0173B7E3AC" terminated by the cause "No error." (code 0).
2018-05-30 09:18:40.426 Connection "CID-2-0173B7E3AC" has been terminated.
2018-05-30 09:18:40.426 The connection with the client (IP address 127.0.0.1, Port number 62794) has been disconnected.
2018-05-30 09:19:11.227 On the TCP Listener (Port 5555), a Client (IP address 192.168.1.5, Host name "MMP-FS", Port number 62795) has connected.
2018-05-30 09:19:11.227 For the client (IP address: 192.168.1.5, host name: "MMP-FS", port number: 62795), connection "CID-3-74C3DDDC98" has been created.
2018-05-30 09:19:11.262 SSL communication for connection "CID-3-74C3DDDC98" has been started. The encryption algorithm name is "AES128-SHA".
2018-05-30 09:19:11.265 Connection "CID-3-74C3DDDC98": 1 Virtual Hub servers have been enumerated on this server.
2018-05-30 09:19:11.290 Connection "CID-3-74C3DDDC98" terminated by the cause "No error." (code 0).
2018-05-30 09:19:11.290 Connection "CID-3-74C3DDDC98" has been terminated.

2018-05-30 09:23:37.340 IPsec Client 1 (xxx.xxx.xxx.xxx:500 -> 192.168.1.5:500): A new IPsec client is created.
2018-05-30 09:23:37.340 IPsec IKE Session (IKE SA) 1 (Client: 1) (xxx.xxx.xxx.xxx:500 -> 192.168.1.5:500): A new IKE SA (Main Mode) is created. Initiator Cookie: 0xD5A7562977242E9A, Responder Cookie: 0xAE8A154BCD6A8186, DH Group: MODP 768 (Group 1), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime: 4294967295 Kbytes or 86400 seconds
2018-05-30 09:23:37.568 IPsec Client 1 (xxx.xxx.xxx.xxx:4500 -> 192.168.1.5:4500): The port number information of this client is updated.
2018-05-30 09:23:47.379 IPsec Client 1 (xxx.xxx.xxx.xxx:4500 -> 192.168.1.5:4500): This IPsec Client is deleted.

thisjun
Posts: 2765
Joined: Mon Feb 24, 2014 11:03 am

Re: Internal Error (code 23)

Post by thisjun » Tue Jun 12, 2018 8:28 am

Timestamp of logs for client and server does not correspond.
Which logs correspond for?

Post Reply