Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

v1.5.0 UI中配置完后,json无变化。 #209

Closed
nbjyk opened this issue Jan 10, 2019 · 11 comments
Closed

v1.5.0 UI中配置完后,json无变化。 #209

nbjyk opened this issue Jan 10, 2019 · 11 comments

Comments

@nbjyk
Copy link

nbjyk commented Jan 10, 2019

请回答下列问题。不按模板发的 issue 将直接被关闭。

  1. V2RayX版本1.5.0,系统版本 macOS 10.14.2

  2. 不正常行为:在Configure中添加了服务器信息,保存并选择。再View current config.json,现实的配置无变化。也无法使用。似乎UI中编辑的信息,并不会改变config.json的内容。内容如下:

{
  "dns" : {
    "servers" : [
      "localhost"
    ]
  },
  "inbounds" : [
    {
      "listen" : "127.0.0.1",
      "port" : 1081,
      "protocol" : "socks",
      "tag" : "socksinbound",
      "settings" : {
        "auth" : "noauth",
        "udp" : false,
        "ip" : "127.0.0.1"
      }
    },
    {
      "listen" : "127.0.0.1",
      "port" : 8001,
      "protocol" : "http",
      "tag" : "httpinbound",
      "settings" : {
        "timeout" : 0
      }
    }
  ],
  "outbounds" : [
    {
      "tag" : "direct",
      "protocol" : "freedom",
      "settings" : {

      }
    }
  ],
  "routing" : {
    "name" : "all_to_direct",
    "domainStrategy" : "AsIs",
    "rules" : [
      {
        "type" : "field",
        "outboundTag" : "direct",
        "port" : "0-65535"
      }
    ]
  },
  "log" : {
    "error" : "\/var\/folders\/bd\/dn7z3q0x73n0w7fwlycw2w7h0000gn\/T\/cenmrev.v2rayx.log\/error.log",
    "loglevel" : "info",
    "access" : "\/var\/folders\/bd\/dn7z3q0x73n0w7fwlycw2w7h0000gn\/T\/cenmrev.v2rayx.log\/access.log"
  }
}
@Chandler-Lu
Copy link
Contributor

什么叫添加了服务器信息?
view current config.json显示的是当前运行的配置,你要在server中切换到你配置的服务器才能用啊

@nbjyk
Copy link
Author

nbjyk commented Jan 10, 2019

什么叫添加了服务器信息?
view current config.json显示的是当前运行的配置,你要在server中切换到你配置的服务器才能用啊

嗯,server选项已经切换到我先前添加的那个server了,但view current config.json,显示的信息不是我选择的那个server配置,而是如上所示。特别是outbound那块,正常的话应该显示我的服务器配置吧。

@Chandler-Lu
Copy link
Contributor

如有可能的话提供一下Server和Configure的截图?

@lcl2539
Copy link

lcl2539 commented Jan 11, 2019

我出现了同样的问题,环境相同,版本相同,但是在我另一台Mac上是好的

@nbjyk
Copy link
Author

nbjyk commented Jan 11, 2019

如有可能的话提供一下Server和Configure的截图?

暂时已经卸载了,但v1.3.0的时候用的没问题,应该不是我不熟悉导致的。明后天安装的时候,再截图吧。

@nbjyk
Copy link
Author

nbjyk commented Jan 11, 2019

我出现了同样的问题,环境相同,版本相同,但是在我另一台Mac上是好的

我之前用v1.3.0的时候也是好的,尝鲜更新了一下,就出问题了。

@Cenmrev
Copy link
Owner

Cenmrev commented Jan 13, 2019

这是因为路由规则选择了all_to_direct,所以增删配置不会改变配置文件。我把默认路由规则改成all_to_main吧...

@Chandler-Lu
Copy link
Contributor

@Cenmrev 噗。。这是feature还是bug23333

@Cenmrev
Copy link
Owner

Cenmrev commented Jan 13, 2019

@Chandler-Lu 因为1.5版本以后软件的逻辑多了一层,本来只有模式,现在是模式->路由。我大概需要写个文档解释下。

@Chandler-Lu
Copy link
Contributor

@Cenmrev 建议发几个wiki简单说明一下~包括#204 路由配置之类的

@Cenmrev
Copy link
Owner

Cenmrev commented Jan 13, 2019

@Chandler-Lu 照你的图扩展了下: wiki

@Cenmrev Cenmrev closed this as completed Jan 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants