Skip to content

Instantly share code, notes, and snippets.

@Nutomic
Created February 5, 2018 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nutomic/a4ee953f2d87ca930a2f9dc10610e95f to your computer and use it in GitHub Desktop.
Save Nutomic/a4ee953f2d87ca930a2f9dc10610e95f to your computer and use it in GitHub Desktop.
syncthing java tls log
02-06 03:32:56.087 23077-23108/net.syncthing.lite D/SyncthingClient: openConnection(DeviceAddress(deviceId=VQ65PF2-PLQYHNB-G4XHQOO-PX24DPH-RJL6MRU-WRYZHKS-Z3SI4FH-OV3H5AX, instanceId=null, address=tcp://221.161.38.55:2970, producer=UNKNOWN, score=14, lastModified=Tue Feb 06 03:32:36 GMT+09:00 2018))
02-06 03:32:56.091 23077-23108/net.syncthing.lite I/ConnectionHandler: connecting to tcp://221.161.38.55:2970
02-06 03:32:56.093 23077-23108/net.syncthing.lite D/ConnectionHandler: opening tcp ssl connection
02-06 03:32:56.285 23077-23108/net.syncthing.lite D/KeystoreHandler: cipherSuite=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, peerCertificateChain=[Certificate:
Data:
Version: 3 (0x2)
Serial Number:
18:a6:5e:22:fb:2b:0c:eb
Signature Algorithm: ecdsa-with-SHA384
Issuer: CN=syncthing
Validity
Not Before: Sep 16 14:46:27 2016 GMT
Not After : Dec 31 23:59:59 2049 GMT
Subject: CN=syncthing
Subject Public Key Info:
Public Key Algorithm: id-ecPublicKey
Public-Key: (384 bit)
00000000 04 91 80 ad 7e aa f3 db 3c 57 34 f4 fa b0 bb cd |....~...<W4.....|
00000010 d0 2c 39 28 44 5c 4d 23 36 fe 7f 09 b4 6f 69 c7 |.,9(D\M#6....oi.|
00000020 39 d9 33 4f 53 d7 ee 73 04 f0 a4 83 00 43 20 2d |9.3OS..s.....C -|
00000030 9a 43 bb fb 18 d6 52 fb 23 3d a8 9c 90 7f 1c e8 |.C....R.#=......|
00000040 52 c7 ab c9 9a b3 c7 9f ea 03 cf 8e 97 4e 82 e9 |R............N..|
00000050 0c 69 18 bd 54 ea 43 05 56 98 a0 78 4d f1 c4 5d |.i..T.C.V..xM..]|
00000060 5d |]|
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature, Key Encipherment
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
X509v3 Basic Constraints: critical
CA:FALSE
Signature Algorithm: ecdsa-with-SHA384
30:65:02:31:00:fc:69:32:c0:c9:e1:88:46:75:c3:36:44:f7:
75:37:af:a3:8a:a9:03:fb:1c:43:cd:2d:66:7b:b1:08:56:5a:
29:56:5f:c1:d7:2c:ab:19:a9:db:4b:53:5e:b3:64:80:4f:02:
30:3d:c4:ab:44:02:0b:40:fd:7a:54:30:b9:5c:f7:fe:3b:f9:
10:0d:8f:83:99:79:3e:47:e2:b0:37:6d:44:bc:75:e7:d5:e1:
66:b3:8f:ee:f6:be:c4:08:ea:90:c8:d7:ac
], peerCertificates=[Lcom.android.org.conscrypt.OpenSSLX509Certificate;@1ad385, peerPrincipal=CN=syncthing
02-06 03:32:56.286 23077-23108/net.syncthing.lite I/ConnectionHandler: Received hello message, deviceName=felix-t420, clientName=syncthing, clientVersion=v0.14.43
02-06 03:32:56.288 23077-23108/net.syncthing.lite D/KeystoreHandler: remote ssl certificate match deviceId = DeviceId(deviceId=VQ65PF2-PLQYHNB-G4XHQOO-PX24DPH-RJL6MRU-WRYZHKS-Z3SI4FH-OV3H5AX)
02-06 03:32:56.291 23077-23108/net.syncthing.lite I/ConnectionHandler: send delta index info device = VQ65PF2-PLQYHNB-G4XHQOO-PX24DPH-RJL6MRU-WRYZHKS-Z3SI4FH-OV3H5AX index = 9121774157408111136 max (local) sequence = 964
02-06 03:32:56.291 23077-23325/net.syncthing.lite D/ConnectionHandler: sending message type = CLUSTER_CONFIG 631074244
02-06 03:32:56.292 23077-23108/net.syncthing.lite D/ConnectionHandler: wait for cluster config
02-06 03:32:56.327 23077-23326/net.syncthing.lite E/ConnectionHandler: error receiving message
java.io.EOFException
at libcore.io.Streams.readFully(Streams.java:83)
at java.io.DataInputStream.readShort(DataInputStream.java:152)
at net.syncthing.java.bep.ConnectionHandler.receiveMessage(ConnectionHandler.kt:245)
at net.syncthing.java.bep.ConnectionHandler.access$receiveMessage(ConnectionHandler.kt:46)
at net.syncthing.java.bep.ConnectionHandler$startMessageListenerService$1.invoke(ConnectionHandler.kt:364)
at net.syncthing.java.bep.ConnectionHandler$startMessageListenerService$1.invoke(ConnectionHandler.kt:46)
at net.syncthing.java.core.utils.ExecutorUtilsKt$submitLogging$2.call(ExecutorUtils.kt:40)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
02-06 03:32:56.331 23077-23327/net.syncthing.lite I/ConnectionHandler: closed connection DeviceAddress(deviceId=VQ65PF2-PLQYHNB-G4XHQOO-PX24DPH-RJL6MRU-WRYZHKS-Z3SI4FH-OV3H5AX, instanceId=null, address=tcp://221.161.38.55:2970, producer=UNKNOWN, score=14, lastModified=Tue Feb 06 03:32:36 GMT+09:00 2018)
02-06 03:32:56.332 23077-23108/net.syncthing.lite W/SyncthingClient: error connecting to device = DeviceAddress(deviceId=VQ65PF2-PLQYHNB-G4XHQOO-PX24DPH-RJL6MRU-WRYZHKS-Z3SI4FH-OV3H5AX, instanceId=null, address=tcp://221.161.38.55:2970, producer=UNKNOWN, score=14, lastModified=Tue Feb 06 03:32:36 GMT+09:00 2018)
java.io.IOException: unable to retrieve cluster config from peer!
at net.syncthing.java.bep.ConnectionHandler.connect(ConnectionHandler.kt:170)
at net.syncthing.java.client.SyncthingClient.openConnection(SyncthingClient.kt:85)
at net.syncthing.java.client.SyncthingClient.getPeerConnections(SyncthingClient.kt:100)
at net.syncthing.java.client.SyncthingClient.updateIndexFromPeers(SyncthingClient.kt:112)
at net.syncthing.java.client.SyncthingClient.access$updateIndexFromPeers(SyncthingClient.kt:39)
at net.syncthing.java.client.SyncthingClient$1.invoke(SyncthingClient.kt:52)
at net.syncthing.java.client.SyncthingClient$1.invoke(SyncthingClient.kt:39)
at net.syncthing.java.client.SyncthingClientKt$sam$Runnable$c2ef2031.run(SyncthingClient.kt)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:278)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment