问题
两台主机在相同的局域网下,人工设置了一个Security Key密钥,注意不是自动生成的。
开始两个主机能连上,但是过了一段时间会自动中断。
分析
查看日志
SendOrReceiveARandomDataBlockPerInitialIV: Exception writing to the socket stream: SocketException/无法将数据写入传输连接: 远程主机强迫关闭了一个现有的连接。。. (This is expected when the remote machine closes the connection during desktop switch or reconnection.)
并看出什么问题
继续观察,软件在断开连接的时候会弹出不能使用自己编写的密钥,必须使用机器生成的密钥。
解决方法
将自己编写的密钥,改成机器生成的密钥。
虽然机器生成的密钥比较难记,但是目前只能这样。