CrossPaste / crosspaste-desktop

Universal Pasteboard Across Devices
https://crosspaste.com
GNU Affero General Public License v3.0
869 stars 35 forks source link

Cannot find nearby devices #1763

Closed qux-bbb closed 2 months ago

qux-bbb commented 2 months ago

How frequently does the bug occur?

Always

Description

I have a Win11 and a Ubuntu22.4, and they cannot find each other in the Nearby Devices.

Stacktrace & log output

2024-09-02 07:23:39,823 INFO [main] c.c.CrossPaste [CrossPaste.kt:446] Starting CrossPaste
2024-09-02 07:23:39,837 INFO [main] c.c.a.DesktopAppLaunch [DesktopAppLaunch.kt:35] Application lock acquired.
2024-09-02 07:23:40,603 INFO [main] c.c.r.RealmManagerImpl [RealmManagerImpl.kt:90] RealmManager createRealm - C:\Users\Alice\.crosspaste\data\crosspaste.realm
2024-09-02 07:23:40,689 INFO [main] c.c.s.IdentityKeyStore [IdentityKeyStore.kt:183] Found identityKey encrypt file
2024-09-02 07:23:40,834 INFO [main] k.application [ApplicationEngineEnvironmentReloading.kt:161] Autoreload is disabled because the development mode is off.
2024-09-02 07:23:40,892 INFO [main] k.application [BaseApplicationEngine.kt:65] Application started in 0.07 seconds.
2024-09-02 07:23:41,195 INFO [DefaultDispatcher-worker-1] k.application [BaseApplicationEngine.kt:77] Responding at http://127.0.0.1:13129
2024-09-02 07:23:41,195 INFO [main] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:129] Server started at port 13129
2024-09-02 07:23:41,807 INFO [main] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-02 07:23:41,854 INFO [main] c.c.a.WindowsAppStartUpService [DesktopAppStartUpService.kt:175] CrossPaste is set to start on boot with the correct path.
2024-09-02 07:23:41,854 INFO [main] c.c.CrossPaste [CrossPaste.kt:448] CrossPaste started
2024-09-02 07:23:41,854 INFO [DefaultDispatcher-worker-6] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d4f77deaf66819091a6b53)
2024-09-02 07:23:41,859 ERROR [DefaultDispatcher-worker-1] c.c.CrossPaste [CrossPaste.kt:443] Uncaught exception in thread: Thread[DefaultDispatcher-worker-1,5,main]
java.net.SocketException: Invalid argument: setsockopt
    at java.base/sun.nio.ch.Net.setInterface6(Native Method)
    at java.base/sun.nio.ch.DatagramChannelImpl.setOption(DatagramChannelImpl.java:364)
    at java.base/sun.nio.ch.DatagramSocketAdaptor.setOption(DatagramSocketAdaptor.java:420)
    at java.base/sun.nio.ch.DatagramSocketAdaptor.setNetworkInterface(DatagramSocketAdaptor.java:605)
    at java.base/java.net.MulticastSocket.setNetworkInterface(MulticastSocket.java:445)
    at javax.jmdns.impl.JmDNSImpl.openMulticastSocket(JmDNSImpl.java:484)
    at javax.jmdns.impl.JmDNSImpl.<init>(JmDNSImpl.java:440)
    at javax.jmdns.impl.JmDNSImpl.<init>(JmDNSImpl.java:399)
    at javax.jmdns.JmDNS.create(JmDNS.java:99)
    at com.crosspaste.net.DesktopPasteBonjourService$registerService$2.invokeSuspend$lambda$0(DesktopPasteBonjourService.kt:51)
    at com.crosspaste.net.DesktopPasteBonjourService$registerService$2.invokeSuspend$lambda$1(DesktopPasteBonjourService.kt:50)
    at java.base/java.util.Map.computeIfAbsent(Map.java:1054)
    at com.crosspaste.net.DesktopPasteBonjourService$registerService$2.invokeSuspend(DesktopPasteBonjourService.kt:50)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: null
2024-09-02 07:23:41,888 INFO [DefaultDispatcher-worker-3] o.o.s.m.SeleniumManager [SeleniumManager.kt:193] Executing Process: [--browser, chrome, --language-binding, java, --output, json]
2024-09-02 07:23:42,922 INFO [DefaultDispatcher-worker-3] o.o.s.m.SeleniumManager [SeleniumManager.kt:219] code=0
output={
  "logs": [
    {
      "level": "INFO",
      "timestamp": 1725233022,
      "message": "Driver path: C:\\Users\\Alice\\.cache\\selenium\\chromedriver\\win64\\128.0.6613.86\\chromedriver.exe"
    },
    {
      "level": "INFO",
      "timestamp": 1725233022,
      "message": "Browser path: C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
    }
  ],
  "result": {
    "code": 0,
    "message": "",
    "driver_path": "C:\\Users\\Alice\\.cache\\selenium\\chromedriver\\win64\\128.0.6613.86\\chromedriver.exe",
    "browser_path": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
  }
}
2024-09-02 07:23:55,453 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:23:55,937 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:23:55,953 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:23:56,444 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:23:56,844 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:25:37,741 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:27:22,819 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:27:22,951 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:27:22,957 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:27:32,255 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:28:07,444 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:28:07,533 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:28:07,540 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:28:12,627 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:28:41,862 INFO [DefaultDispatcher-worker-4] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d4f8a9eaf66819091a6c25)
2024-09-02 07:30:04,814 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-02 07:30:04,815 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-02 07:30:04,815 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-02 07:30:04,815 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-02 07:30:04,815 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-02 07:30:04,820 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 2 ms
2024-09-02 07:30:04,859 INFO [DefaultDispatcher-worker-6] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 37 ms
2024-09-02 07:30:04,860 INFO [DefaultDispatcher-worker-6] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 39 ms
2024-09-02 07:30:04,878 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 18 ms
2024-09-02 07:30:04,930 INFO [DefaultDispatcher-worker-4] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 51 ms
2024-09-02 07:30:04,931 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 120 ms
2024-09-02 07:30:31,599 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-02 07:30:31,600 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-02 07:30:31,600 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-02 07:30:31,600 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-02 07:30:31,600 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-02 07:30:31,601 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 2 ms
2024-09-02 07:30:31,609 INFO [DefaultDispatcher-worker-5] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 8 ms
2024-09-02 07:30:31,609 INFO [DefaultDispatcher-worker-5] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 8 ms
2024-09-02 07:30:31,622 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 13 ms
2024-09-02 07:30:31,629 INFO [DefaultDispatcher-worker-4] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 7 ms
2024-09-02 07:30:31,629 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 30 ms
2024-09-02 07:30:49,488 INFO [DefaultDispatcher-worker-10] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-02 07:30:49,489 INFO [DefaultDispatcher-worker-10] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-02 07:30:49,489 INFO [DefaultDispatcher-worker-10] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-02 07:30:49,491 INFO [DefaultDispatcher-worker-10] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-02 07:30:49,491 INFO [DefaultDispatcher-worker-10] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-02 07:30:49,491 INFO [DefaultDispatcher-worker-10] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 3 ms
2024-09-02 07:30:49,502 INFO [DefaultDispatcher-worker-10] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 11 ms
2024-09-02 07:30:49,502 INFO [DefaultDispatcher-worker-10] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 11 ms
2024-09-02 07:30:49,528 INFO [DefaultDispatcher-worker-10] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 26 ms
2024-09-02 07:30:49,535 INFO [DefaultDispatcher-worker-4] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 6 ms
2024-09-02 07:30:49,535 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 47 ms
2024-09-02 07:30:59,009 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-02 07:30:59,009 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-02 07:30:59,009 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-02 07:30:59,011 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-02 07:30:59,011 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-02 07:30:59,011 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 2 ms
2024-09-02 07:30:59,015 INFO [DefaultDispatcher-worker-1] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 4 ms
2024-09-02 07:30:59,015 INFO [DefaultDispatcher-worker-1] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 4 ms
2024-09-02 07:30:59,026 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 11 ms
2024-09-02 07:30:59,032 INFO [DefaultDispatcher-worker-9] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 6 ms
2024-09-02 07:30:59,032 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 23 ms
2024-09-02 07:31:10,356 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-02 07:31:10,357 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-02 07:31:10,357 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-02 07:31:10,357 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-02 07:31:10,357 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-02 07:31:10,357 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 1 ms
2024-09-02 07:31:10,364 INFO [DefaultDispatcher-worker-9] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 7 ms
2024-09-02 07:31:10,364 INFO [DefaultDispatcher-worker-9] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 7 ms
2024-09-02 07:31:10,378 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 14 ms
2024-09-02 07:31:10,382 INFO [DefaultDispatcher-worker-3] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 4 ms
2024-09-02 07:31:10,383 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 27 ms
2024-09-02 07:33:41,873 INFO [DefaultDispatcher-worker-10] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d4f9d5eaf66819091a6e0f)
2024-09-02 07:38:41,885 INFO [DefaultDispatcher-worker-9] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d4fb01eaf66819091a6e15)
2024-09-02 07:40:00,746 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:40:00,852 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:40:00,858 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:40:05,539 INFO [DefaultDispatcher-worker-6] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-02 07:40:27,541 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:41:15,614 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-02 07:41:15,615 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-02 07:41:15,615 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-02 07:41:15,615 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-02 07:41:15,615 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-02 07:41:15,615 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 1 ms
2024-09-02 07:41:15,620 INFO [DefaultDispatcher-worker-4] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 5 ms
2024-09-02 07:41:15,620 INFO [DefaultDispatcher-worker-4] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 5 ms
2024-09-02 07:41:15,632 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 11 ms
2024-09-02 07:41:15,637 INFO [DefaultDispatcher-worker-6] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 5 ms
2024-09-02 07:41:15,638 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 24 ms
2024-09-02 07:43:29,442 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:43:29,556 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:43:29,562 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:43:41,490 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:43:41,900 INFO [DefaultDispatcher-worker-3] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d4fc2deaf66819091a7021)
2024-09-02 07:43:51,282 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:43:51,397 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:43:51,402 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:44:07,749 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:44:16,746 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:44:16,836 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:44:16,842 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:44:24,722 INFO [DefaultDispatcher-worker-7] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-02 07:44:26,537 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:47:45,722 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:47:45,796 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:47:45,802 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-02 07:47:46,223 INFO [DefaultDispatcher-worker-9] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-02 07:47:51,157 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-02 07:48:41,909 INFO [DefaultDispatcher-worker-7] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d4fd59eaf66819091a7039)
2024-09-02 07:49:08,685 INFO [DefaultDispatcher-worker-7] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: application/x-java-file-list
2024-09-02 07:49:08,687 INFO [DefaultDispatcher-worker-7] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 2 ms
2024-09-02 07:49:08,692 INFO [DefaultDispatcher-worker-7] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 5 ms
2024-09-02 07:49:08,693 INFO [DefaultDispatcher-worker-7] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 6 ms
2024-09-02 07:49:08,716 INFO [DefaultDispatcher-worker-7] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 22 ms
2024-09-02 07:49:08,723 INFO [DefaultDispatcher-worker-7] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 7 ms
2024-09-02 07:49:08,724 INFO [DefaultDispatcher-worker-7] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 39 ms
2024-09-02 07:49:13,619 INFO [DefaultDispatcher-worker-8] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: application/x-java-file-list
2024-09-02 07:49:13,619 INFO [DefaultDispatcher-worker-8] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 0 ms
2024-09-02 07:49:13,624 INFO [DefaultDispatcher-worker-8] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 4 ms
2024-09-02 07:49:13,624 INFO [DefaultDispatcher-worker-8] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 4 ms
2024-09-02 07:49:13,629 INFO [DefaultDispatcher-worker-8] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 5 ms
2024-09-02 07:49:13,634 INFO [DefaultDispatcher-worker-9] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 5 ms
2024-09-02 07:49:13,635 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 16 ms
2024-09-02 07:49:17,402 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: application/x-java-file-list
2024-09-02 07:49:17,402 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 0 ms
2024-09-02 07:49:17,407 INFO [DefaultDispatcher-worker-6] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 5 ms
2024-09-02 07:49:17,408 INFO [DefaultDispatcher-worker-6] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 6 ms
2024-09-02 07:49:17,414 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 6 ms
2024-09-02 07:49:17,419 INFO [DefaultDispatcher-worker-8] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 5 ms
2024-09-02 07:49:17,419 INFO [DefaultDispatcher-worker-8] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 17 ms

Can you reproduce the bug?

Always

Reproduction Steps

Just cannot find other device.

Version

1.0.7 (891)

OS

Windows

guiyanakuang commented 2 months ago

@qux-bbb Thank you for reporting this error. Let me analyze the possible causes.

guiyanakuang commented 2 months ago

@qux-bbb, It appears that jmDNS is using IPv6 addresses for broadcasting, which is causing the error. Could you please verify if the following method can fix the bug?

Edit the AppDir/conf/net.properties file Add the following lines:

java.net.preferIPv4Stack=true
java.net.preferIPv6Addresses=false

Then restart the application.

qux-bbb commented 2 months ago

@guiyanakuang It doesn't work.

guiyanakuang commented 2 months ago

Thank you for helping with the verification. I believe this is a bug in JDK 17, which has already been pointed out and verified by users in jmDNS. The reason it's not working might be that net.properties is not taking effect. Let me package a specific verification version tomorrow to address this issue.

https://github.com/jmdns/jmdns/issues/260 https://bugs.openjdk.org/browse/JDK-8272476

CompileFuture2024 commented 2 months ago

I have verified on Windows that these two configurations can effectively prevent the use of IPv6 for multicast.

-Djava.net.preferIPv6Addresses=true -Djava.net.preferIPv4Stack=false

b874193f6ce124c397a4ec73cc8da57

-Djava.net.preferIPv6Addresses=false -Djava.net.preferIPv4Stack=true

cf00523632469a48681e09344140fc3
guiyanakuang commented 2 months ago

@qux-bbb. Version 1.0.8 has been released. Could you please help verify if this issue has been fixed?

qux-bbb commented 2 months ago

@guiyanakuang Still cannot find nearby devices. But "Add Device Manually" works now.

qux-bbb commented 2 months ago

Do I need to set firewall or do something else?

guiyanakuang commented 2 months ago

Could you please upload new logs? This issue is likely a bug in JDK 17 that affects jmDNS multicast.

qux-bbb commented 2 months ago
2024-09-04 19:52:43,461 INFO [main] c.c.CrossPaste [CrossPaste.kt:446] Starting CrossPaste
2024-09-04 19:52:43,466 INFO [main] c.c.a.DesktopAppLaunch [DesktopAppLaunch.kt:35] Application lock acquired.
2024-09-04 19:52:44,158 INFO [main] c.c.r.RealmManagerImpl [RealmManagerImpl.kt:90] RealmManager createRealm - C:\Users\Alice\.crosspaste\data\crosspaste.realm
2024-09-04 19:52:44,225 INFO [main] c.c.s.IdentityKeyStore [IdentityKeyStore.kt:183] Found identityKey encrypt file
2024-09-04 19:52:44,346 INFO [main] k.application [ApplicationEngineEnvironmentReloading.kt:161] Autoreload is disabled because the development mode is off.
2024-09-04 19:52:44,397 INFO [main] k.application [BaseApplicationEngine.kt:65] Application started in 0.063 seconds.
2024-09-04 19:52:44,623 INFO [DefaultDispatcher-worker-1] k.application [BaseApplicationEngine.kt:77] Responding at http://127.0.0.1:13129
2024-09-04 19:52:44,624 INFO [main] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:129] Server started at port 13129
2024-09-04 19:52:45,194 INFO [main] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 19:52:45,240 INFO [main] c.c.a.WindowsAppStartUpService [DesktopAppStartUpService.kt:175] CrossPaste is set to start on boot with the correct path.
2024-09-04 19:52:45,241 INFO [main] c.c.CrossPaste [CrossPaste.kt:448] CrossPaste started
2024-09-04 19:52:45,242 INFO [DefaultDispatcher-worker-6] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d84a0d7d55510109a5ed7f)
2024-09-04 19:52:45,243 ERROR [DefaultDispatcher-worker-1] c.c.CrossPaste [CrossPaste.kt:443] Uncaught exception in thread: Thread[DefaultDispatcher-worker-1,5,main]
java.net.SocketException: Invalid argument: setsockopt
    at java.base/sun.nio.ch.Net.setInterface6(Native Method)
    at java.base/sun.nio.ch.DatagramChannelImpl.setOption(DatagramChannelImpl.java:364)
    at java.base/sun.nio.ch.DatagramSocketAdaptor.setOption(DatagramSocketAdaptor.java:420)
    at java.base/sun.nio.ch.DatagramSocketAdaptor.setNetworkInterface(DatagramSocketAdaptor.java:605)
    at java.base/java.net.MulticastSocket.setNetworkInterface(MulticastSocket.java:445)
    at javax.jmdns.impl.JmDNSImpl.openMulticastSocket(JmDNSImpl.java:484)
    at javax.jmdns.impl.JmDNSImpl.<init>(JmDNSImpl.java:440)
    at javax.jmdns.impl.JmDNSImpl.<init>(JmDNSImpl.java:399)
    at javax.jmdns.JmDNS.create(JmDNS.java:99)
    at com.crosspaste.net.DesktopPasteBonjourService$registerService$2.invokeSuspend$lambda$0(DesktopPasteBonjourService.kt:51)
    at com.crosspaste.net.DesktopPasteBonjourService$registerService$2.invokeSuspend$lambda$1(DesktopPasteBonjourService.kt:50)
    at java.base/java.util.Map.computeIfAbsent(Map.java:1054)
    at com.crosspaste.net.DesktopPasteBonjourService$registerService$2.invokeSuspend(DesktopPasteBonjourService.kt:50)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: null
2024-09-04 19:53:12,700 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 19:53:13,157 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 19:53:13,179 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 19:53:15,884 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 19:53:16,332 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 19:53:30,750 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 19:54:28,974 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: application/x-java-file-list
2024-09-04 19:54:28,977 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 2 ms
2024-09-04 19:54:29,002 INFO [DefaultDispatcher-worker-6] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 24 ms
2024-09-04 19:54:29,002 INFO [DefaultDispatcher-worker-6] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 25 ms
2024-09-04 19:54:29,343 INFO [DefaultDispatcher-worker-6] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 340 ms
2024-09-04 19:54:29,353 INFO [DefaultDispatcher-worker-5] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 10 ms
2024-09-04 19:54:29,353 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 383 ms
2024-09-04 19:54:36,885 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 0 ms
2024-09-04 19:54:36,885 INFO [DefaultDispatcher-worker-4] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 0 ms
2024-09-04 19:54:36,885 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 0 ms
2024-09-04 19:54:47,538 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 19:54:47,629 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 19:54:47,646 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 19:55:02,653 INFO [AWT-EventQueue-0] c.c.a.AbstractAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 19:55:07,719 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:412] ChromeService quit completed
2024-09-04 19:55:07,720 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:414] PasteboardService stop completed
2024-09-04 19:55:07,731 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:416] PasteBonjourService unregister completed
2024-09-04 19:55:08,846 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:418] PasteServer stop completed
2024-09-04 19:55:08,846 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:420] SyncManager notify exit completed
2024-09-04 19:55:08,846 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:422] CleanPasteScheduler stop completed
2024-09-04 19:55:08,847 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:424] GlobalListener stop completed
2024-09-04 19:55:08,850 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:426] UserDataPathProvider clean temp completed
2024-09-04 19:55:08,850 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:430] beforeReleaseLockList execution completed
2024-09-04 19:55:08,850 INFO [DefaultDispatcher-worker-6] c.c.a.DesktopAppLaunch [DesktopAppLaunch.kt:55] Application lock released.
2024-09-04 19:55:08,851 INFO [DefaultDispatcher-worker-6] c.c.CrossPaste [CrossPaste.kt:432] AppLock release completed
2024-09-04 19:55:25,653 INFO [main] c.c.CrossPaste [CrossPaste.kt:475] Starting CrossPaste
2024-09-04 19:55:25,657 INFO [main] c.c.a.DesktopAppLaunch [DesktopAppLaunch.kt:35] Application lock acquired.
2024-09-04 19:55:26,135 INFO [main] c.c.r.RealmManagerImpl [RealmManagerImpl.kt:90] RealmManager createRealm - C:\Users\Alice\.crosspaste\data\crosspaste.realm
2024-09-04 19:55:26,203 INFO [main] c.c.s.IdentityKeyStore [IdentityKeyStore.kt:183] Found identityKey encrypt file
2024-09-04 19:55:26,303 INFO [main] k.application [ApplicationEngineEnvironmentReloading.kt:161] Autoreload is disabled because the development mode is off.
2024-09-04 19:55:26,346 INFO [main] k.application [BaseApplicationEngine.kt:65] Application started in 0.052 seconds.
2024-09-04 19:55:27,244 INFO [DefaultDispatcher-worker-1] k.application [BaseApplicationEngine.kt:77] Responding at http://127.0.0.1:13129
2024-09-04 19:55:27,245 INFO [main] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:132] Server started at port 13129
2024-09-04 19:55:28,510 INFO [main] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 19:55:28,554 INFO [DefaultDispatcher-worker-4] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d84ab02938527737d5ceab)
2024-09-04 19:55:28,584 INFO [main] c.c.a.WindowsAppStartUpService [DesktopAppStartUpService.kt:178] CrossPaste is set to start on boot with the path is not current path.
2024-09-04 19:55:28,591 INFO [main] c.c.CrossPaste [CrossPaste.kt:477] CrossPaste started
2024-09-04 19:55:33,205 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 19:55:33,636 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 19:55:33,652 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 19:55:33,751 WARN [DefaultDispatcher-worker-6] c.c.a.DesktopAppUpdateService [DesktopAppUpdateService.kt:121] Failed to get last version
java.net.http.HttpTimeoutException: request timed out
    at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:571)
    at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)
    at com.crosspaste.app.DesktopAppUpdateService.readLastVersion(DesktopAppUpdateService.kt:109)
    at com.crosspaste.app.DesktopAppUpdateService.checkForUpdate(DesktopAppUpdateService.kt:59)
    at com.crosspaste.app.DesktopAppUpdateService$startPeriodicUpdateCheck$1.invokeSuspend(DesktopAppUpdateService.kt:52)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
2024-09-04 20:00:28,567 INFO [DefaultDispatcher-worker-6] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d84bdc2938527737d5cef5)
2024-09-04 20:04:05,171 INFO [DefaultDispatcher-worker-6] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:04:07,066 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:04:10,715 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:04:10,805 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:04:10,818 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:04:13,264 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:05:14,468 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:05:14,598 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:05:14,612 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:05:28,589 INFO [DefaultDispatcher-worker-5] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d84d082938527737d5cf49)
2024-09-04 20:05:31,605 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: Unicode String
2024-09-04 20:05:31,606 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Plain Text
2024-09-04 20:05:31,607 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 2 ms
2024-09-04 20:05:31,629 INFO [DefaultDispatcher-worker-9] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 20 ms
2024-09-04 20:05:31,630 INFO [DefaultDispatcher-worker-9] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 22 ms
2024-09-04 20:05:31,640 INFO [DefaultDispatcher-worker-9] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 10 ms
2024-09-04 20:05:31,652 INFO [DefaultDispatcher-worker-5] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 11 ms
2024-09-04 20:05:31,652 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 50 ms
2024-09-04 20:05:35,498 INFO [DefaultDispatcher-worker-9] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:05:48,809 INFO [DefaultDispatcher-worker-4] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:06:20,213 INFO [DefaultDispatcher-worker-4] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:06:20,213 INFO [DefaultDispatcher-worker-4] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:253] HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102') to connecting
2024-09-04 20:06:20,221 INFO [DefaultDispatcher-worker-7] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:06:20,416 INFO [DefaultDispatcher-worker-5] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:06:20,416 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:06:21,466 INFO [DefaultDispatcher-worker-17] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:06:21,798 INFO [DefaultDispatcher-worker-16] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:06:21,799 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:06:22,892 INFO [DefaultDispatcher-worker-11] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:06:22,941 INFO [DefaultDispatcher-worker-16] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:06:22,941 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:06:24,108 INFO [DefaultDispatcher-worker-9] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:06:24,505 INFO [DefaultDispatcher-worker-9] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:06:24,505 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:06:25,838 INFO [DefaultDispatcher-worker-10] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:06:26,074 INFO [DefaultDispatcher-worker-10] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:06:26,074 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:06:27,728 INFO [DefaultDispatcher-worker-14] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:06:27,880 INFO [DefaultDispatcher-worker-5] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:06:27,883 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:06:30,178 INFO [DefaultDispatcher-worker-4] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:06:30,874 INFO [DefaultDispatcher-worker-17] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:06:30,875 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:06:34,454 INFO [DefaultDispatcher-worker-6] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:06:34,956 INFO [DefaultDispatcher-worker-8] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:06:34,957 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:06:37,681 INFO [DefaultDispatcher-worker-4] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:261] Linux to disconnected
2024-09-04 20:06:49,041 INFO [DefaultDispatcher-worker-14] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:06:49,042 INFO [DefaultDispatcher-worker-14] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:253] HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102') to connecting
2024-09-04 20:06:49,046 INFO [DefaultDispatcher-worker-14] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:06:50,266 INFO [DefaultDispatcher-worker-10] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:06:50,735 INFO [eventLoopGroupProxy-4-1] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/telnet */*
2024-09-04 20:06:51,120 INFO [eventLoopGroupProxy-4-2] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/heartbeat application/json
2024-09-04 20:06:51,138 DEBUG [eventLoopGroupProxy-4-2] c.c.r.SyncRouting [SyncRouting.kt:149] c403c9c2e34b46e58018f2c3fc7ccf53 heartbeat to 30444335-3833-3843-384A-F80DAC16EC56 success
2024-09-04 20:06:51,170 INFO [DefaultDispatcher-worker-9] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:06:54,990 INFO [DefaultDispatcher-worker-18] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:06:55,053 INFO [eventLoopGroupProxy-4-3] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/telnet */*
2024-09-04 20:07:11,270 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:07:12,808 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-04 20:07:12,808 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-04 20:07:12,808 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-04 20:07:12,808 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-04 20:07:12,809 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-04 20:07:12,809 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 1 ms
2024-09-04 20:07:12,820 INFO [DefaultDispatcher-worker-3] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 11 ms
2024-09-04 20:07:12,820 INFO [DefaultDispatcher-worker-3] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 11 ms
2024-09-04 20:07:12,852 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 32 ms
2024-09-04 20:07:12,862 INFO [DefaultDispatcher-worker-13] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 10 ms
2024-09-04 20:07:12,862 INFO [DefaultDispatcher-worker-13] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 55 ms
2024-09-04 20:07:12,884 DEBUG [DefaultDispatcher-worker-13] c.c.n.p.SignalClientEncryptPlugin [SignalClientEncryptPlugin.kt:32] signal client encrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:07:13,112 DEBUG [DefaultDispatcher-worker-12] c.c.n.p.SignalClientDecryptPlugin [SignalClientDecryptPlugin.kt:37] signal client decrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:07:13,150 INFO [eventLoopGroupProxy-4-4] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /pull/icon/Session */*
2024-09-04 20:07:18,044 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:07:18,150 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:07:18,166 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:07:20,729 INFO [DefaultDispatcher-worker-9] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:07:20,992 INFO [eventLoopGroupProxy-4-5] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/telnet */*
2024-09-04 20:07:47,682 INFO [eventLoopGroupProxy-4-6] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/notifyRemove */*
2024-09-04 20:07:53,113 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:08:32,708 INFO [DefaultDispatcher-worker-15] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-04 20:08:32,708 INFO [DefaultDispatcher-worker-15] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-04 20:08:32,708 INFO [DefaultDispatcher-worker-15] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-04 20:08:32,708 INFO [DefaultDispatcher-worker-15] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-04 20:08:32,708 INFO [DefaultDispatcher-worker-15] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-04 20:08:32,708 INFO [DefaultDispatcher-worker-15] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 0 ms
2024-09-04 20:08:32,716 INFO [DefaultDispatcher-worker-15] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 7 ms
2024-09-04 20:08:32,716 INFO [DefaultDispatcher-worker-15] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 8 ms
2024-09-04 20:08:32,729 INFO [DefaultDispatcher-worker-15] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 13 ms
2024-09-04 20:08:32,738 INFO [DefaultDispatcher-worker-11] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 9 ms
2024-09-04 20:08:32,738 INFO [DefaultDispatcher-worker-11] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 31 ms
2024-09-04 20:08:39,312 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: Unicode String
2024-09-04 20:08:39,313 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: text/plain
2024-09-04 20:08:39,313 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: Plain Text
2024-09-04 20:08:39,313 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: application/x-java-text-encoding
2024-09-04 20:08:39,313 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 1 ms
2024-09-04 20:08:39,321 INFO [DefaultDispatcher-worker-4] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 8 ms
2024-09-04 20:08:39,321 INFO [DefaultDispatcher-worker-4] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 8 ms
2024-09-04 20:08:39,330 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 9 ms
2024-09-04 20:08:39,336 INFO [DefaultDispatcher-worker-4] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 6 ms
2024-09-04 20:08:39,336 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 24 ms
2024-09-04 20:08:55,019 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:08:55,096 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:08:55,104 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:08:57,028 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:08:59,851 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:08:59,935 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:08:59,945 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:09:01,728 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:09:35,459 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:09:35,566 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:09:35,578 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:10:06,002 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:10:28,605 INFO [DefaultDispatcher-worker-11] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d84e342938527737d5d353)
2024-09-04 20:11:07,555 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:11:07,662 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:11:07,668 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:11:36,075 INFO [DefaultDispatcher-worker-10] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:11:36,075 INFO [DefaultDispatcher-worker-10] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:253] HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102') to connecting
2024-09-04 20:11:36,084 INFO [DefaultDispatcher-worker-18] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:11:36,116 INFO [DefaultDispatcher-worker-6] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:11:36,117 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:11:37,173 INFO [DefaultDispatcher-worker-14] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:11:37,300 INFO [DefaultDispatcher-worker-14] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:11:37,301 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:11:38,399 INFO [DefaultDispatcher-worker-16] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:11:38,701 INFO [DefaultDispatcher-worker-13] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:11:38,701 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:11:39,879 INFO [DefaultDispatcher-worker-4] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:11:39,962 INFO [DefaultDispatcher-worker-1] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:11:39,962 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:11:41,291 INFO [DefaultDispatcher-worker-4] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:11:41,315 INFO [DefaultDispatcher-worker-6] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:11:41,315 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:11:42,970 INFO [DefaultDispatcher-worker-15] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:11:42,990 INFO [DefaultDispatcher-worker-17] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:11:42,991 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:11:45,280 INFO [DefaultDispatcher-worker-5] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:11:45,396 INFO [DefaultDispatcher-worker-9] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:425] connect state to unverified 192.168.0.102 13129
2024-09-04 20:11:45,396 INFO [writer-crosspaste.realm] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:429] createSession Linux UNVERIFIED
2024-09-04 20:11:48,120 INFO [DefaultDispatcher-worker-14] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:11:48,121 INFO [DefaultDispatcher-worker-14] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:253] HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102') to connecting
2024-09-04 20:11:48,127 INFO [DefaultDispatcher-worker-18] c.c.s.DesktopSyncHandler [DesktopSyncHandler.kt:282] not exist session to create session 192.168.0.102 13129
2024-09-04 20:11:49,293 INFO [DefaultDispatcher-worker-17] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:11:49,430 INFO [eventLoopGroupProxy-4-7] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/telnet */*
2024-09-04 20:11:49,689 INFO [eventLoopGroupProxy-4-8] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/heartbeat application/json
2024-09-04 20:11:49,700 DEBUG [eventLoopGroupProxy-4-8] c.c.r.SyncRouting [SyncRouting.kt:149] c403c9c2e34b46e58018f2c3fc7ccf53 heartbeat to 30444335-3833-3843-384A-F80DAC16EC56 success
2024-09-04 20:11:49,745 INFO [DefaultDispatcher-worker-3] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:12:01,473 INFO [DefaultDispatcher-worker-8] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:12:01,596 INFO [eventLoopGroupProxy-4-9] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/telnet */*
2024-09-04 20:12:10,924 INFO [eventLoopGroupProxy-4-10] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/heartbeat application/json
2024-09-04 20:12:10,935 DEBUG [eventLoopGroupProxy-4-10] c.c.r.SyncRouting [SyncRouting.kt:149] c403c9c2e34b46e58018f2c3fc7ccf53 heartbeat to 30444335-3833-3843-384A-F80DAC16EC56 success
2024-09-04 20:12:10,959 INFO [DefaultDispatcher-worker-3] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:12:29,821 INFO [eventLoopGroupProxy-4-11] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/heartbeat application/json
2024-09-04 20:12:29,832 DEBUG [eventLoopGroupProxy-4-11] c.c.r.SyncRouting [SyncRouting.kt:149] c403c9c2e34b46e58018f2c3fc7ccf53 heartbeat to 30444335-3833-3843-384A-F80DAC16EC56 success
2024-09-04 20:12:29,885 INFO [DefaultDispatcher-worker-19] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:12:32,134 INFO [eventLoopGroupProxy-4-12] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/heartbeat application/json
2024-09-04 20:12:32,149 DEBUG [eventLoopGroupProxy-4-12] c.c.r.SyncRouting [SyncRouting.kt:149] c403c9c2e34b46e58018f2c3fc7ccf53 heartbeat to 30444335-3833-3843-384A-F80DAC16EC56 success
2024-09-04 20:12:32,178 INFO [DefaultDispatcher-worker-4] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:12:43,197 INFO [eventLoopGroupProxy-4-1] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/heartbeat application/json
2024-09-04 20:12:43,210 DEBUG [eventLoopGroupProxy-4-1] c.c.r.SyncRouting [SyncRouting.kt:149] c403c9c2e34b46e58018f2c3fc7ccf53 heartbeat to 30444335-3833-3843-384A-F80DAC16EC56 success
2024-09-04 20:12:43,238 INFO [DefaultDispatcher-worker-12] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:12:50,366 INFO [eventLoopGroupProxy-4-2] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/heartbeat application/json
2024-09-04 20:12:50,378 DEBUG [eventLoopGroupProxy-4-2] c.c.r.SyncRouting [SyncRouting.kt:149] c403c9c2e34b46e58018f2c3fc7ccf53 heartbeat to 30444335-3833-3843-384A-F80DAC16EC56 success
2024-09-04 20:12:50,414 INFO [DefaultDispatcher-worker-5] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:13:03,718 INFO [eventLoopGroupProxy-4-3] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/heartbeat application/json
2024-09-04 20:13:03,731 DEBUG [eventLoopGroupProxy-4-3] c.c.r.SyncRouting [SyncRouting.kt:149] c403c9c2e34b46e58018f2c3fc7ccf53 heartbeat to 30444335-3833-3843-384A-F80DAC16EC56 success
2024-09-04 20:13:03,774 INFO [DefaultDispatcher-worker-12] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:13:09,855 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:13:11,768 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-04 20:13:11,768 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-04 20:13:11,768 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-04 20:13:11,768 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-04 20:13:11,768 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-04 20:13:11,768 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 0 ms
2024-09-04 20:13:11,778 INFO [DefaultDispatcher-worker-5] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 10 ms
2024-09-04 20:13:11,779 INFO [DefaultDispatcher-worker-5] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 11 ms
2024-09-04 20:13:11,795 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 16 ms
2024-09-04 20:13:11,803 INFO [DefaultDispatcher-worker-13] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 8 ms
2024-09-04 20:13:11,803 INFO [DefaultDispatcher-worker-13] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 35 ms
2024-09-04 20:13:11,813 DEBUG [DefaultDispatcher-worker-15] c.c.n.p.SignalClientEncryptPlugin [SignalClientEncryptPlugin.kt:32] signal client encrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:13:11,944 DEBUG [DefaultDispatcher-worker-14] c.c.n.p.SignalClientDecryptPlugin [SignalClientDecryptPlugin.kt:37] signal client decrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:13:11,983 INFO [eventLoopGroupProxy-4-4] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /pull/icon/Microsoft%20Edge */*
2024-09-04 20:13:15,531 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:13:15,646 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:13:15,656 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:75] active main window
2024-09-04 20:13:40,084 INFO [eventLoopGroupProxy-4-5] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/paste application/json
2024-09-04 20:13:40,085 DEBUG [eventLoopGroupProxy-4-5] c.c.n.p.SignalServerDecryptionPluginFactory [SignalServerDecryptionPluginFactory.kt:28] signal server decrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:13:40,100 DEBUG [eventLoopGroupProxy-4-5] c.c.r.PasteRouting [PasteRouting.kt:37] sync handler (c403c9c2e34b46e58018f2c3fc7ccf53) receive pasteData: com.crosspaste.dao.paste.PasteData{state=UNMANAGED, schemaName=PasteData, hashCode=1041922998}
2024-09-04 20:13:40,101 DEBUG [eventLoopGroupProxy-4-5] c.c.n.p.SignalServerEncryptPluginFactory [SignalServerEncryptPluginFactory.kt:33] signal server encrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:13:40,151 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:51] Ignoring local only flavor
2024-09-04 20:13:40,152 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 1 ms
2024-09-04 20:13:59,247 INFO [DefaultDispatcher-worker-17] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:13:59,364 INFO [eventLoopGroupProxy-4-6] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/telnet */*
2024-09-04 20:14:08,665 INFO [DefaultDispatcher-worker-7] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:14:08,749 INFO [eventLoopGroupProxy-4-7] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/telnet */*
2024-09-04 20:14:10,335 INFO [DefaultDispatcher-worker-4] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:14:52,467 INFO [DefaultDispatcher-worker-11] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:14:52,546 INFO [eventLoopGroupProxy-4-8] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/telnet */*
2024-09-04 20:14:59,315 INFO [AWT-EventQueue-0] c.c.a.DesktopAppWindowManager [WinAppWindowManager.kt:89] unActive main window
2024-09-04 20:15:17,407 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-04 20:15:17,408 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-04 20:15:17,408 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-04 20:15:17,408 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-04 20:15:17,408 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-04 20:15:17,408 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 1 ms
2024-09-04 20:15:17,416 INFO [DefaultDispatcher-worker-4] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 8 ms
2024-09-04 20:15:17,417 INFO [DefaultDispatcher-worker-4] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 9 ms
2024-09-04 20:15:17,429 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 12 ms
2024-09-04 20:15:17,437 INFO [DefaultDispatcher-worker-5] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 7 ms
2024-09-04 20:15:17,437 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 30 ms
2024-09-04 20:15:17,447 DEBUG [DefaultDispatcher-worker-18] c.c.n.p.SignalClientEncryptPlugin [SignalClientEncryptPlugin.kt:32] signal client encrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:15:17,547 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: text/html
2024-09-04 20:15:17,547 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: Unicode String
2024-09-04 20:15:17,547 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: text/plain
2024-09-04 20:15:17,547 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: Plain Text
2024-09-04 20:15:17,548 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 4 Transferable flavor: application/x-java-text-encoding
2024-09-04 20:15:17,548 INFO [DefaultDispatcher-worker-5] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 1 ms
2024-09-04 20:15:17,554 INFO [DefaultDispatcher-worker-3] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 6 ms
2024-09-04 20:15:17,554 INFO [DefaultDispatcher-worker-3] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 6 ms
2024-09-04 20:15:17,567 INFO [DefaultDispatcher-worker-3] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 12 ms
2024-09-04 20:15:17,575 INFO [DefaultDispatcher-worker-8] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 8 ms
2024-09-04 20:15:17,575 INFO [DefaultDispatcher-worker-8] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 28 ms
2024-09-04 20:15:17,584 DEBUG [DefaultDispatcher-worker-6] c.c.n.p.SignalClientEncryptPlugin [SignalClientEncryptPlugin.kt:32] signal client encrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:15:17,594 DEBUG [DefaultDispatcher-worker-1] c.c.n.p.SignalClientDecryptPlugin [SignalClientDecryptPlugin.kt:37] signal client decrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:15:17,669 DEBUG [DefaultDispatcher-worker-15] c.c.n.p.SignalClientDecryptPlugin [SignalClientDecryptPlugin.kt:37] signal client decrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:15:28,615 INFO [DefaultDispatcher-worker-4] c.c.c.DesktopCleanPasteScheduler [DesktopCleanPasteScheduler.kt:32] submit clean paste task: BsonObjectId(66d84f602938527737d5d79d)
2024-09-04 20:15:52,750 INFO [eventLoopGroupProxy-4-9] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: POST /sync/heartbeat application/json
2024-09-04 20:15:52,760 DEBUG [eventLoopGroupProxy-4-9] c.c.r.SyncRouting [SyncRouting.kt:149] c403c9c2e34b46e58018f2c3fc7ccf53 heartbeat to 30444335-3833-3843-384A-F80DAC16EC56 success
2024-09-04 20:15:53,604 INFO [DefaultDispatcher-worker-8] c.c.u.DesktopNetUtils [NetUtils.desktop.kt:92] Local IP address: 192.168.0.105
2024-09-04 20:15:53,928 INFO [eventLoopGroupProxy-4-10] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /sync/telnet */*
2024-09-04 20:15:54,026 INFO [DefaultDispatcher-worker-14] c.c.u.TelnetUtils [TelnetUtils.kt:67] httpResponse.status = 200 HostInfo(networkPrefixLength=24, hostAddress='192.168.0.102'):13129
2024-09-04 20:16:29,106 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 0 Transferable flavor: Unicode String
2024-09-04 20:16:29,106 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 1 Transferable flavor: text/plain
2024-09-04 20:16:29,107 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 2 Transferable flavor: Plain Text
2024-09-04 20:16:29,107 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [DesktopTransferableConsumer.kt:80] itemIndex: 3 Transferable flavor: application/x-java-text-encoding
2024-09-04 20:16:29,108 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] preCollect Execution Time: 2 ms
2024-09-04 20:16:29,116 INFO [DefaultDispatcher-worker-1] c.c.d.p.PasteRealm [ToolUtils.kt:74] createPasteData Execution Time: 8 ms
2024-09-04 20:16:29,116 INFO [DefaultDispatcher-worker-1] c.c.p.PasteCollector [ToolUtils.kt:74] createPrePasteData Execution Time: 8 ms
2024-09-04 20:16:29,131 INFO [DefaultDispatcher-worker-1] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:62] updatePasteData Execution Time: 13 ms
2024-09-04 20:16:29,138 INFO [DefaultDispatcher-worker-4] c.c.p.PasteCollector [ToolUtils.kt:74] completeCollect Execution Time: 7 ms
2024-09-04 20:16:29,138 INFO [DefaultDispatcher-worker-4] c.c.p.DesktopTransferableConsumer [ToolUtils.kt:74] consume Execution Time: 32 ms
2024-09-04 20:16:29,143 DEBUG [DefaultDispatcher-worker-7] c.c.n.p.SignalClientEncryptPlugin [SignalClientEncryptPlugin.kt:32] signal client encrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:16:29,316 DEBUG [DefaultDispatcher-worker-1] c.c.n.p.SignalClientDecryptPlugin [SignalClientDecryptPlugin.kt:37] signal client decrypt c403c9c2e34b46e58018f2c3fc7ccf53
2024-09-04 20:16:29,453 INFO [eventLoopGroupProxy-4-11] c.c.n.DesktopPasteServer [DesktopPasteServer.kt:94] Received request: GET /pull/icon/Windows%20%E8%B5%84%E6%BA%90%E7%AE%A1%E7%90%86%E5%99%A8 */*
guiyanakuang commented 2 months ago

Thank you for uploading the detailed logs.

https://bugs.openjdk.org/browse/JDK-8328615

I think the root cause is that your device has IPv6 disabled, but during multicast, the JDK still chose to use IPv6 instead of IPv4. The preference configuration doesn't seem to have taken effect, which is frustrating.

qux-bbb commented 2 months ago

I checked my windows WiFi net card. The "Internet Protocol Version 6 (TCP/IPv6)" is not selected.
After I selected the "Internet Protocol Version 6 (TCP/IPv6)", the linux machine can find the windows machine under "Nearby Devices" but just a while.

I stop them, clear all logs and start CrossPaste on two machine. Now there is no error in logs, but they still cannot find each other under "Nearby Devices".

guiyanakuang commented 2 months ago

We'd greatly appreciate your help in determining whether this issue is related to the application or the network. If you're willing, could you please try the following steps?

  1. First, please start CrossPaste on two different machines.

  2. For Linux: If possible, could you install avahi-utils and run this command?

    sudo apt-get install avahi-utils
    avahi-browse -rt _crosspasteService._tcp

    If you see two records in the output, it would indicate that DNS-SD (DNS Service Discovery) is working correctly.

  3. For Windows: Would you mind downloading the Bonjour SDK for Windows? You can find it here: bonjoursdksetup.exe https://download.developer.apple.com/Developer_Tools/bonjour_sdk_for_windows_v3.0/bonjoursdksetup.exe (This is from the official Apple Developer website, so it's safe to download) After installation, if you could run this command, it would be very helpful:

    dns-sd -B _crosspasteService._tcp

    Similar to Linux, seeing two records would suggest DNS-SD is functioning properly.

  4. If you find that DNS-SD is working but you don't see nearby devices, it might point to a bug in CrossPaste. (Please note: devices already added to "My Devices" won't appear as nearby)

qux-bbb commented 2 months ago

Linux output:

$ avahi-browse -rt _crosspasteService._tcp
+ wlp5s0 IPv4 crosspaste@c403c9c2e34b46e58018f2c3fc7ccf53@192_168_0_102 _crosspasteService._tcp local
= wlp5s0 IPv4 crosspaste@c403c9c2e34b46e58018f2c3fc7ccf53@192_168_0_102 _crosspasteService._tcp local
   hostname = [192-168-0-102.local]
   address = [192.168.0.102]
   port = [13129]
   txt = ["4=fX0=" "3=MjIuMDQuNCJ9LCJob3N0SW5mb0xpc3QiOlt7Im5ldHdvcmtQcmVmaXhMZW5ndGgiOjI0LCJob3N0QWRkcmVzcyI6IjE5Mi4xNjguMC4xMDIifV0sInBvcnQiOjEzMTI5" "2=ZU5hbWUiOiJoZWxsby1tYWNoaW5lIiwicGxhdGZvcm0iOnsibmFtZSI6IkxpbnV4IiwiYXJjaCI6ImFtZDY0IiwiYml0TW9kZSI6NjQsInZlcnNpb24iOiJVYnVudHUg" "1=IjoiOTI1IiwidXNlck5hbWUiOiJoZWxsbyJ9LCJlbmRwb2ludEluZm8iOnsiZGV2aWNlSWQiOiJjNDAzYzljMmUzNGI0NmU1ODAxOGYyYzNmYzdjY2Y1MyIsImRldmlj" "0=eyJhcHBJbmZvIjp7ImFwcEluc3RhbmNlSWQiOiJjNDAzYzljMmUzNGI0NmU1ODAxOGYyYzNmYzdjY2Y1MyIsImFwcFZlcnNpb24iOiIxLjAuOCIsImFwcFJldmlzaW9u"]

The Windows url redirects to https://developer.apple.com/unauthorized/

guiyanakuang commented 2 months ago

On a Linux machine, it appears that only local services were recognized, and Windows services were not discovered. If the same situation occurs on Windows machines, then it's likely that factors external to the application are affecting DNS-SD (DNS Service Discovery)

GitHub doesn't allow uploading .exe files, so I compressed it. This is the BonjourSDK that I downloaded from the Apple Developer Tools website. bonjoursdksetup.exe.zip MD5 (bonjoursdksetup.exe.zip) = b8520ac5a56916b9ffcfa6215928f6da

qux-bbb commented 2 months ago

After I installed bonjoursdksetup.exe, the "Nearby Devices" works!
The new Linux output:

$ avahi-browse -rt _crosspasteService._tcp
+ wlp5s0 IPv4 crosspaste@30444335-3833-3843-384A-F80DAC16EC56@192_168_0_105 _crosspasteService._tcp local
+ wlp5s0 IPv4 crosspaste@c403c9c2e34b46e58018f2c3fc7ccf53@192_168_0_102 _crosspasteService._tcp local
= wlp5s0 IPv4 crosspaste@30444335-3833-3843-384A-F80DAC16EC56@192_168_0_105 _crosspasteService._tcp local
   hostname = [LAPTOP-4BAJ2RA1.local]
   address = [192.168.0.105]
   port = [13129]
   txt = ["4=fX0=" "3=b24iOiIxMSJ9LCJob3N0SW5mb0xpc3QiOlt7Im5ldHdvcmtQcmVmaXhMZW5ndGgiOjI0LCJob3N0QWRkcmVzcyI6IjE5Mi4xNjguMC4xMDUifV0sInBvcnQiOjEzMTI5" "2=IiwiZGV2aWNlTmFtZSI6IkxBUFRPUC00QkFKMlJBMSIsInBsYXRmb3JtIjp7Im5hbWUiOiJXaW5kb3dzIiwiYXJjaCI6ImFtZDY0IiwiYml0TW9kZSI6NjQsInZlcnNp" "1=c2lvbiI6IjkyNSIsInVzZXJOYW1lIjoiUXVhc2kifSwiZW5kcG9pbnRJbmZvIjp7ImRldmljZUlkIjoiMzA0NDQzMzUtMzgzMy0zODQzLTM4NEEtRjgwREFDMTZFQzU2" "0=eyJhcHBJbmZvIjp7ImFwcEluc3RhbmNlSWQiOiIzMDQ0NDMzNS0zODMzLTM4NDMtMzg0QS1GODBEQUMxNkVDNTYiLCJhcHBWZXJzaW9uIjoiMS4wLjgiLCJhcHBSZXZp"]
= wlp5s0 IPv4 crosspaste@c403c9c2e34b46e58018f2c3fc7ccf53@192_168_0_102 _crosspasteService._tcp local
   hostname = [192-168-0-102.local]
   address = [192.168.0.102]
   port = [13129]
   txt = ["4=fX0=" "3=MjIuMDQuNCJ9LCJob3N0SW5mb0xpc3QiOlt7Im5ldHdvcmtQcmVmaXhMZW5ndGgiOjI0LCJob3N0QWRkcmVzcyI6IjE5Mi4xNjguMC4xMDIifV0sInBvcnQiOjEzMTI5" "2=ZU5hbWUiOiJoZWxsby1tYWNoaW5lIiwicGxhdGZvcm0iOnsibmFtZSI6IkxpbnV4IiwiYXJjaCI6ImFtZDY0IiwiYml0TW9kZSI6NjQsInZlcnNpb24iOiJVYnVudHUg" "1=IjoiOTI1IiwidXNlck5hbWUiOiJoZWxsbyJ9LCJlbmRwb2ludEluZm8iOnsiZGV2aWNlSWQiOiJjNDAzYzljMmUzNGI0NmU1ODAxOGYyYzNmYzdjY2Y1MyIsImRldmlj" "0=eyJhcHBJbmZvIjp7ImFwcEluc3RhbmNlSWQiOiJjNDAzYzljMmUzNGI0NmU1ODAxOGYyYzNmYzdjY2Y1MyIsImFwcFZlcnNpb24iOiIxLjAuOCIsImFwcFJldmlzaW9u"]

The Windows output:

> dns-sd -B _crosspasteService._tcp
Browsing for _crosspasteService._tcp
Timestamp     A/R Flags if Domain                    Service Type              Instance Name
21:20:17.917  Add     2  6 local.                    _crosspasteService._tcp.  crosspaste@30444335-3833-3843-384A-F80DAC16EC56@192_168_0_105
21:20:18.984  Add     2  6 local.                    _crosspasteService._tcp.  crosspaste@c403c9c2e34b46e58018f2c3fc7ccf53@192_168_0_102
guiyanakuang commented 2 months ago

This was unexpected. It seems BonjourSDK might contain some system patches to support DNS-SD. Notably, it wasn't pre-installed on my test machines.

qux-bbb commented 2 months ago

Then what should I do?

guiyanakuang commented 2 months ago

Your environment is now working properly, although I'm not sure what was previously preventing the discovery of nearby devices. It's highly likely that your environment was somewhat unique. Please continue using it, and feel free to provide feedback on any other issues you encounter.

qux-bbb commented 2 months ago

Yeah, thank you very much!