mapleafgo / clash-for-flutter

Clash的桌面客户端,支持 windows、linux、macos
MIT License
876 stars 132 forks source link

是用不了 #41

Open sdsafsdfsaf opened 11 months ago

sdsafsdfsaf commented 11 months ago

你好,我下载最新版本的到我的ubuntu20.04上面(新系统),端口号设定的全部是7890和电脑上的代理端口号一致,但一直报错显示端口已经被使用,该怎么解决呢?

mapleafgo commented 11 months ago

软件里主要用到了API调用的9090端口和配置的各个代理端口,确定下是否有占用。Linux可以用netstat -a | grep 9090看下占用情况,将占用的停了。如果还是没用,报错的图贴一下来看看

sdsafsdfsaf commented 11 months ago

现在好像是节点也不能显示出来了 [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: WebSocketChannelException: WebSocketChannelException: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 127.0.0.1, port = 37822

0 new IOWebSocketChannel._withoutSocket. (package:web_socket_channel/io.dart:119)

1 Stream.handleError. (dart:async/stream.dart:923)

2 _HandleErrorStream._handleError (dart:async/stream_pipe.dart:269)

3 _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:157)

4 _RootZone.runBinaryGuarded (dart:async/zone.dart:1606)

5 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358)

6 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376)

7 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280)

8 _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:780)

9 _StreamController._addError (dart:async/stream_controller.dart:658)

10 _RootZone.runBinaryGuarded (dart:async/zone.dart:1606)

11 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358)

12 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376)

13 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280)

14 _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:780)

15 _StreamController._addError (dart:async/stream_controller.dart:658)

16 new Stream.fromFuture. (dart:async/stream.dart:245)

17 _RootZone.runBinary (dart:async/zone.dart:1666)

18 _FutureListener.handleError (dart:async/future_impl.dart:162)

19 Future._propagateToListeners.handleError (dart:async/future_impl.dart:796)

20 Future._propagateToListeners (dart:async/future_impl.dart:817)

21 Future._completeError (dart:async/future_impl.dart:592)

22 Future._chainForeignFuture. (dart:async/future_impl.dart:537)

23 _microtaskLoop (dart:async/schedule_microtask.dart:40)

24 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

也没有日志信息,这些是在终端看到的

mapleafgo commented 11 months ago

大半年没维护了,我修复下

sdsafsdfsaf commented 11 months ago

好的,感谢

mapleafgo commented 11 months ago

试试最新的呢。你打印的错误,不是程序的,你是不是源代码运行的?看着像是源代码调试运行报错了

alumni77 commented 11 months ago

请问我直接用AppImage启动,订阅连上了,可是没有出现节点什么的

mapleafgo commented 11 months ago

@alumni77 来个截图呢

alumni77 commented 11 months ago

截图 2023-11-17 16-01-05

截图 2023-11-17 16-00-25

mapleafgo commented 11 months ago

@alumni77 我注意到你的内核服务没连上(左下角的内核版本没加载出来),应该也是9090被占用了。我改了下,这个端口采用随机的方式。在自动打包了,一会儿重新下载试下

alumni77 commented 11 months ago

好的谢谢