MetaCubeX / ClashX.Meta

GNU Affero General Public License v3.0
3.02k stars 393 forks source link

[Bug]使用最新版本,当配置文件加入vless reality 节点后,软件无法解析 导致无法读取配置文件 #3

Closed fireinrain closed 1 year ago

fireinrain commented 1 year ago

感谢你向 ClashX 提交 issue! 在提交之前,请确认:

请注意,如果你并没有遵照这个 issue template 填写内容,我们将直接关闭这个 issue。

我都确认过了,我要继续提交。


请附上任何可以帮助我们解决这个问题的信息,如果我们收到的信息不足,我们将对这个 issue 加上 Needs more information 标记并在收到更多资讯之前关闭 issue。

clashX config

……

ClashX log


2023/04/11, 22:10:55.544  [info] applicationWillFinishLaunching
2023/04/11, 22:10:55.577  [info] ———————————————————————————————————————————————————————————
2023/04/11, 22:10:55.577  [info] ———————————————applicationDidFinishLaunching———————————————
2023/04/11, 22:10:55.577  [info] ———————————————————————————————————————————————————————————
2023/04/11, 22:10:55.577  [info] Appversion: v1.2.3 287
2023/04/11, 22:10:55.607  [info] postFinishLaunching
2023/04/11, 22:10:55.646  [info] set up autoUpateTimer
2023/04/11, 22:10:55.646  [info] Tigger config auto update check
2023/04/11, 22:10:55.646  [info] [Auto Upgrade] Bypassing xuicdn due to time check
2023/04/11, 22:10:55.651  [info] Saving Remote Config Setting
2023/04/11, 22:10:55.661  [info] check helper using time: 0.02529001235961914
2023/04/11, 22:10:55.662  [info] initClashCore
2023/04/11, 22:10:55.750  [info] test core path: /Users/xxxx/Library/Application Support/com.metacubex.ClashX.meta/com.metacubex.ClashX.ProxyConfigHelper.meta
2023/04/11, 22:10:55.750  [info] -v out: Clash Meta alpha-90f95d7 darwin amd64 with go1.20.3 Tue Apr 11 06:11:47 UTC 2023
Use tags: with_low_memory, with_gvisor
2023/04/11, 22:10:55.752  [info] initClashCore finish
2023/04/11, 22:10:55.752  [info] Trying start meta core
2023/04/11, 22:10:56.263  [info] 
########  Clash Meta Start Log  #########
[info] Start initial configuration in progress
[info] Geodata Loader mode: memconservative
[info] Initial configuration complete, total time: 0ms
[info] Sniffer is closed
[info] HTTP proxy listening at: 127.0.0.1:7890
[info] RESTful API listening at: 127.0.0.1:9090
########  END  #########
2023/04/11, 22:10:56.263  [info] Push init config file: fireinrain+hy
2023/04/11, 22:10:56.314  [info] Error occoured, Please try to fix it by restarting ClashX. 
2023/04/11, 22:10:56.315  [error] pushConfigFailed("Error occoured, Please try to fix it by restarting ClashX. ")
2023/04/11, 22:11:15.524  [info] checkMenuIconVisable: (971.0, 1028.0, 25.0, 22.0) 0.0, hidden: false, coverd by notch:false

……

ClashX Crash log

……

环境 Environment

……

说明 Description

clashxmeta 版本

image

使用当前最新版本 然后再配置文件中加入vless reality节点,软件无法正常运行

配置如下:

  - name: vless-pro
    type: vless
    server: xx.xx.xx.xx
    port: 56901
    uuid: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    network: tcp
    tls: true
    udp: true
    flow: xtls-rprx-vision
    servername: www.microsoft.com
    client-fingerprint: chrome
    reality-opts:
      public-key: xxxxxxxxxxxxxxxxx
      short-id:

重现问题的具体布骤 Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. ……

我预期会发生……?

能正常运行 实际上发生了什麽?

结果:

image

可能的解决方案 Possible Solution

更多信息 More Information

fireinrain commented 1 year ago

问题解决了。 服务端没设置short-id: 所以在这个配置文件里面需要删除 这一个选项。如下: