[Others] 【跨端协同】无法连接 connect to 127.0.0.1:51607 failed: 拒绝连接
Tofloor
poster avatar
我是昵称
deepin
2024-06-03 20:41
Author

我有一台 thinkpad 笔记本,全新安装的 deepin v23 rc,还有一个台式机,系统为 deepin v23 rc 最新内测更新 rc2。台式机有外接的 usb 无线网卡,与笔记本接入了同一无线网络,两个系统处于同一个局域网。

尝试通过 thinkpad 远程连接台式机时,发现了如下几个问题:

  1. 我在台式机系统上打开“跨端协同”,但窗口最下方显示的是有线网络的 ip 地址 10.67.9.Y(跟无线网络处于不同网段),非 usb 无线网卡的 ip 地址 10.67.198.Y

  2. 台式机系统上跨端协同日志有错误级别的:

    tail -n 5 ~/.cache/deepin/cooperation-daemon/cooperation-daemon.log
    2024-06-03 19:32:07.674r [Error  ] [2395838 rpc.cc:547] rpc server close the connection..
    2024-06-03 19:32:32.511 [Warning  ] [4138338 commonutils.cpp:144] set logdir: /home/sdx/.cache/deepin/cooperation-daemon/
    2024-06-03 19:32:32.511 [Warning  ] [4138338 commonutils.cpp:163] set LogLevel 2
    2024-06-03 19:32:34.561r [Error  ] [4138380 tcp.cc:540] connect to 127.0.0.1:51607 failed: 拒绝连接
    2024-06-03 19:32:34.561r [Error  ] [4138380 tcp.cc:540] connect to 127.0.0.1:51807 failed: 拒绝连接
    

    并且,日志时间后的字符r是干嘛用的?

  3. 在笔记本上初次打开跨端协同后,搜不到台式机系统,但在台式机系统上可以搜到笔记本系统。我尝试断开台式机的有线网络,笔记本可以搜到台式机了,选择连接,台式机上接受,但连接不成功,也没有提示。
    笔记本系统 cooperation_daemon.log 内容如下:

    cat ~/.cache/deepin/cooperation-daemon/cooperation-daemon.log
    2024-06-03 13:07:20.739 [Warning  ] [24477 commonutils.cpp:144] set logdir: /home/0x736478/.cache/deepin/cooperation-daemon/
    2024-06-03 13:07:20.739 [Warning  ] [24477 commonutils.cpp:163] set LogLevel 2
    2024-06-03 13:07:22.534r [Error  ] [24488 tcp.cc:540] connect to 127.0.0.1:51607 failed: 拒绝连接
    2024-06-03 13:07:22.534r [Error  ] [24488 tcp.cc:540] connect to 127.0.0.1:51807 failed: 拒绝连接
    2024-06-03 13:09:06.734r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:09:18.666r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:09:31.748 [Error  ] [24494 tcpconnection.cpp:97] zrpc client may close the connection..
    2024-06-03 13:09:31.748r [Error  ] [24488 sendipcservice.cpp:128] no session to send, appname =   ,  req = {"eventType":1018,"data":"","api":"Frontend.shareEvents"}
    2024-06-03 13:09:31.748 [Error  ] [24494 tcpconnection.cpp:97] zrpc client may close the connection..
    2024-06-03 13:09:44.708r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:09:52.793r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:10:07.684r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:10:22.700r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:10:38.739r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:10:57.729r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:11:03.759r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:11:07.739r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:11:16.724r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:11:37.773r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:11:45.730r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:11:56.759r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 13:13:00.035 [Warning  ] [24494 remoteservice.cpp:51] RPC response not match type:1014 != 1016
    2024-06-03 13:13:00.164 [Error  ] [24494 tcpconnection.cpp:97] zrpc client may close the connection..
    2024-06-03 13:13:13.894 [Warning  ] [24494 remoteservice.cpp:51] RPC response not match type:1014 != 1016
    2024-06-03 13:13:13.894 [Error  ] [24494 tcpconnection.cpp:97] zrpc client may close the connection..
    2024-06-03 13:13:55.346 [Warning  ] [24494 remoteservice.cpp:51] RPC response not match type:1014 != 1016
    2024-06-03 13:13:55.346 [Error  ] [24494 tcpconnection.cpp:97] zrpc client may close the connection..
    2024-06-03 13:14:17.166 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:12:03.817r [Warning  ] [24488 sendipcservice.cpp:177] The node losted from discovery.
    2024-06-03 14:12:03.817 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:12:04.720 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:12:05.745 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:12:06.771 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:12:07.796 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:12:08.822 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:12:41.773 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:12:42.799 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:13:51.843 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:13:52.869 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:14:24.827 [Error  ] [24490 searchlight.cpp:353] Failed to send data
    2024-06-03 14:16:31.469 [Warning  ] [24494 remoteservice.cpp:51] RPC response not match type:1014 != 1016
    2024-06-03 14:16:31.469 [Error  ] [24494 tcpconnection.cpp:97] zrpc client may close the connection..
    2024-06-03 14:18:13.715r [Error  ] [24488 rpc.cc:547] rpc server close the connection..
    2024-06-03 14:18:22.466 [Warning  ] [27519 commonutils.cpp:144] set logdir: /home/0x736478/.cache/deepin/cooperation-daemon/
    2024-06-03 14:18:22.466 [Warning  ] [27519 commonutils.cpp:163] set LogLevel 2
    2024-06-03 14:18:24.261r [Error  ] [27530 tcp.cc:540] connect to 127.0.0.1:51607 failed: 拒绝连接
    2024-06-03 14:18:24.261r [Error  ] [27530 tcp.cc:540] connect to 127.0.0.1:51807 failed: 拒绝连接
    2024-06-03 19:25:16.854 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:25:17.751 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:25:18.776 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:25:19.802 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:25:20.828 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:25:21.854 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:25:55.828 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:27:03.823 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:27:04.849 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:27:57.937 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:28:35.797r [Error  ] [27530 rpc.cc:547] rpc server close the connection..
    2024-06-03 19:28:35.925 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:28:36.952 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:28:37.978 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:28:38.875 [Error  ] [27532 searchlight.cpp:353] Failed to send data
    2024-06-03 19:28:57.547 [Warning  ] [30317 commonutils.cpp:144] set logdir: /home/0x736478/.cache/deepin/cooperation-daemon/
    2024-06-03 19:28:57.547 [Warning  ] [30317 commonutils.cpp:163] set LogLevel 2
    2024-06-03 19:28:59.341r [Error  ] [30328 tcp.cc:540] connect to 127.0.0.1:51607 failed: 拒绝连接
    2024-06-03 19:28:59.341r [Error  ] [30328 tcp.cc:540] connect to 127.0.0.1:51807 failed: 拒绝连接
    2024-06-03 19:29:43.465 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 19:29:44.492 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 19:30:02.570 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 19:32:45.724 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 19:32:46.622 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 19:32:47.648 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 19:46:26.305 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 19:46:27.332 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 19:46:28.360 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 19:46:29.387 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 20:00:13.067 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 20:00:13.067 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 20:35:26.410 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 20:35:27.435 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 20:35:28.461 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 20:35:29.486 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    2024-06-03 20:35:30.384 [Error  ] [30330 searchlight.cpp:353] Failed to send data
    

请问我该如何解决这个问题?

Reply Favorite View the author
All Replies
Merlin
Super Moderator
Product Manager
2024-06-03 22:05
#1
问题已经转发给相关产品,开发小组定位后会回复你。
Reply View the author
三岁两秋
deepin product team
2024-06-04 11:22
#2

1、尝试一下将台式机的有线网络先关闭,再启动跨端协同(前端关闭后,等待3s,后端进程杀掉后,再重启)

2、日志时间后的字符r没有实际意义,可以不用在意

Reply View the author