TorpedoSync
TorpedoSync copied to clipboard
partially connected?
since one of the last windowsupdates some of the torpedo clients are not connected and the sync process do not start
i tried to figure out which windows updated is causing the problem. the clients nearly the same, based on .net Patches. the Master with ip X.28 is starting without problems. Also no errors in the log.
client x.75 find the master, but did not start. see errors below
client x.32 has similar problems, but he has 3 IP Adressen (2 of them internaly)
Error Client-x75
-----------------------------------------------------
______ __ ____
/_ __/__ _______ ___ ___/ /__ / __/_ _____ ____
/ / / _ \/ __/ _ \/ -_) _ / _ \_\ \/ // / _ \/ __/
/_/ \___/_/ / .__/\__/\_,_/\___/___/\_, /_//_/\__/
/_/ /___/
-----------------------------------------------------
TorpedoSync - Folder Sync Application
Version : 1.7.5.0
File Version : 1.7.6.676
-----------------------------------------------------
11:23:56|DEBUG| Starting Server...
11:23:56|DEBUG| UDP server on port = 21000
11:23:56|DEBUG| TCP server on port = 21001
11:23:56|DEBUG| WEB server on port = 88
11:23:56|DEBUG| my ip = 192.168.178.75
System.Net.Sockets.SocketException (0x80004005): Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat
bei System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
bei System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
bei TorpedoSync.UDP.searchIP(Int32 port, IPAddress ip, List`1 list)
11:23:58|INFO| List of currently connected machines :
11:23:58|INFO| Connected to : 192.168.178.28
11:23:58|ERROR| System.Exception: Could not find token at index 0
bei fastJSON.JsonParser.NextTokenCore(Char* p)
bei fastJSON.JsonParser.LookAhead(Char* p)
bei fastJSON.JsonParser.ParseValue(Char* p, Boolean val)
bei fastJSON.JsonParser.Decode()
bei fastJSON.deserializer.ToObject(String json, Type type)
bei fastJSON.deserializer.ToObject[T](String json)
bei TorpedoSync.TorpedoSyncServer.ReadCompShares()
bei TorpedoSync.TorpedoSyncServer.StartQueueProcessors()
bei TorpedoS
D:\TSYNC>
error Client-x32
-----------------------------------------------------
______ __ ____
/_ __/__ _______ ___ ___/ /__ / __/_ _____ ____
/ / / _ \/ __/ _ \/ -_) _ / _ \_\ \/ // / _ \/ __/
/_/ \___/_/ / .__/\__/\_,_/\___/___/\_, /_//_/\__/
/_/ /___/
-----------------------------------------------------
TorpedoSync - Folder Sync Application
Version : 1.7.5.0
File Version : 1.7.6.676
-----------------------------------------------------
11:30:38|DEBUG| Starting Server...
11:30:38|DEBUG| UDP server on port = 21000
11:30:38|DEBUG| TCP server on port = 21001
11:30:38|DEBUG| WEB server on port = 88
11:30:38|DEBUG| my ip = 192.168.31.1
11:30:38|DEBUG| my ip = 192.168.178.32
11:30:38|DEBUG| my ip = 192.168.88.1
System.Net.Sockets.SocketException (0x80004005): Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat
bei System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
bei System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
bei TorpedoSync.UDP.searchIP(Int32 port, IPAddress ip, List`1 list)
System.Net.Sockets.SocketException (0x80004005): Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat
bei System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
bei System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
bei TorpedoSync.UDP.searchIP(Int32 port, IPAddress ip, List`1 list)
System.Net.Sockets.SocketException (0x80004005): Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat
bei System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
bei System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
bei TorpedoSync.UDP.searchIP(Int32 port, IPAddress ip, List`1 list)
11:30:40|INFO| List of currently connected machines :
11:30:40|INFO| Connected to : 192.168.178.28
11:30:40|INFO| Connected to : 192.168.178.28
Press 'q' to exit...
11:30:40|ERROR| System.Net.HttpListenerException (0x80004005): Zugriff verweigert
bei System.Net.HttpListener.AddAllPrefixes()
bei System.Net.HttpListener.Start()
bei TorpedoSync.CoreWebServer.Start()
11:30:45|DEBUG| Shutting down.
Check your firewall settings, make sure the ports 21000 and 21001 udp and tcp are open.
i disabled defender firewall as well as the windows firewall on both maschines. Still the same. In the firewall log i can see the UDP connection. But no TCP. I think the missing TCP Connectin is causing the error.
Try running as an administrator.
The error is still there. Slightly different. Also compiled the latest source code as well as the lastest binary from your site.
17:22:58|DEBUG| Starting Server...
17:22:58|DEBUG| UDP server on port = 21000
17:22:58|DEBUG| TCP server on port = 21001
17:22:58|DEBUG| WEB server on port = 88
17:22:58|DEBUG| my ip = 192.168.178.75
17:23:00|INFO| List of currently connected machines :
17:23:00|INFO| Connected to : 192.168.178.28
17:23:00|ERROR| System.Net.HttpListenerException (0x80004005): Zugriff verweigert
bei System.Net.HttpListener.AddAllPrefixes()
bei System.Net.HttpListener.Start()
bei TorpedoSync.CoreWebServer.Start()
17:23:00|ERROR| System.Exception: Could not find token at index 0
bei fastJSON.JsonParser.NextTokenCore(Char* p)
bei fastJSON.JsonParser.LookAhead(Char* p)
bei fastJSON.JsonParser.ParseValue(Char* p, Boolean val)
bei fastJSON.JsonParser.Dec
Try restarting...
Restartes already both windows maschines. then also both services. The master X.28 always came up without problems. both slave services stop Immediately. This was the reason to do more tests. The last test done on command line with and without admin rights (only the both slaves)
Stop your services when testing from the command line, you are getting "access denied" which means there is another process using the ports.
it is already considered. due to the fact that the services do not start it is not a problem. However, I have checked the services additionally.
regarding netstat -a -b -n -o
the required ports not in use
checked on all maschines
with adminrights running command line i got this error
10:58:36|DEBUG| Starting Server...
10:58:36|DEBUG| UDP server on port = 21000
10:58:36|DEBUG| WEB server on port = 88
10:58:36|DEBUG| TCP server on port = 21001
10:58:37|DEBUG| my ip = 192.168.178.75
10:58:39|INFO| List of currently connected machines :
10:58:39|INFO| Connected to : 192.168.178.28
10:58:39|ERROR| System.Exception: Could not find token at index 0
bei fastJSON.JsonParser.NextTokenCore(Char* p)
bei fastJSON.JsonParser.LookAhead(Char* p)
bei fastJSON.JsonParser.ParseValue(Char* p, Boolean val)
bei fastJSON.JsonParser.Dec
whitout admin rights i got this
10:58:24|DEBUG| Starting Server...
10:58:24|DEBUG| TCP server on port = 21001
10:58:24|DEBUG| UDP server on port = 21000
10:58:24|DEBUG| WEB server on port = 88
10:58:25|DEBUG| my ip = 192.168.178.75
10:58:27|INFO| List of currently connected machines :
10:58:27|INFO| Connected to : 192.168.178.28
10:58:27|ERROR| System.Net.HttpListenerException (0x80004005): Zugriff verweigert
bei System.Net.HttpListener.AddAllPrefixes()
bei System.Net.HttpListener.Start()
bei TorpedoSync.CoreWebServer.Start()
10:58:27|ERROR| System.Exception: Could not find token at index 0
bei fastJSON.JsonParser.NextTokenCore(Char* p)
bei fastJSON.JsonParser.LookAhead(Char* p)
bei fastJSON.JsonParser.ParseValue(Char* p, Boolean val)
bei fastJSON.JsonParser.Dec