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

我的WS + TLS + Caddy设置是被运营商和谐了吗? #233

Open
dasonchan opened this issue Mar 7, 2019 · 3 comments
Open

我的WS + TLS + Caddy设置是被运营商和谐了吗? #233

dasonchan opened this issue Mar 7, 2019 · 3 comments

Comments

@dasonchan
Copy link

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

  1. 如果你没有遇到任何错误和不正常,请在此处回答你想发表的内容:

  2. 你正在使用哪个版本的 V2RayX,你的 macOS 系统版本?
    V2RayX 1.5.1
    macOS Mojave

  3. 如果你在操作 V2RayX 的时候遇到程序崩溃/无反应,请描述你的操作,之后在命令行(终端.app)里运行/Applications/V2RayX.app/Contents/MacOS/V2RayX,重复上述操作直至软件崩溃,把终端里的输出贴到下面指定的地方。

在这里贴上终端的输出
  1. 如果 V2RayX 没有发生崩溃,但是有一些不正常行为,比如上次勾选了 mux,再次打开,mux 的钩没有了。请描述你遇到的不正常行为。

  2. 如果 V2RayX 一切正常,但网络依然不如你所预料,请首先把 log level 切换到 debug,再次访问你想访问的网站。然后点击 V2RayX 的 view current config.json,将弹出的浏览器内的配置文件粘贴到下面指定的地方,但是隐藏掉ip/端口/id等信息。

在这里粘贴配置文件内容

{
  "dns" : {
    "servers" : [
      "localhost"
    ]
  },
  "inbounds" : [
    {
      "listen" : "127.0.0.1",
      "port" : 1085,
      "protocol" : "socks",
      "tag" : "socksinbound",
      "settings" : {
        "auth" : "noauth",
        "udp" : false,
        "ip" : "127.0.0.1"
      }
    },
    {
      "listen" : "127.0.0.1",
      "port" : 8010,
      "protocol" : "http",
      "tag" : "httpinbound",
      "settings" : {
        "timeout" : 0
      }
    }
  ],
  "outbounds" : [
    {
      "sendThrough" : "0.0.0.0",
      "mux" : {
        "enabled" : true,
        "concurrency" : 10
      },
      "protocol" : "vmess",
      "settings" : {
        "vnext" : [
          {
            "address" : "xxx.xxx.xxx",
            "users" : [
              {
                "id" : "****UUID****",
                "alterId" : 64,
                "security" : "aes-128-gcm",
                "level" : 0
              }
            ],
            "port" : 443
          }
        ]
      },
      "tag" : "tls",
      "streamSettings" : {
        "wsSettings" : {
          "path" : "",
          "headers" : {

          }
        },
        "quicSettings" : {
          "key" : "",
          "security" : "none",
          "header" : {
            "type" : "none"
          }
        },
        "tlsSettings" : {
          "allowInsecure" : false,
          "alpn" : [
            "\/ray"
          ],
          "serverName" : "xxx.xxx.xxx",
          "allowInsecureCiphers" : false
        },
        "httpSettings" : {
          "path" : ""
        },
        "kcpSettings" : {
          "header" : {
            "type" : "none"
          },
          "mtu" : 1350,
          "congestion" : false,
          "tti" : 20,
          "uplinkCapacity" : 5,
          "writeBufferSize" : 1,
          "readBufferSize" : 1,
          "downlinkCapacity" : 20
        },
        "tcpSettings" : {
          "header" : {
            "type" : "none"
          }
        },
        "security" : "tls",
        "network" : "ws"
      }
    }
  ],
  "routing" : {
    "name" : "all_to_main",
    "domainStrategy" : "AsIs",
    "rules" : [
      {
        "type" : "field",
        "outboundTag" : "singa-tls",
        "port" : "0-65535"
      }
    ]
  },
  "log" : {
    "error" : "\/var\/folders\/f6\/h6nrglfs6wxgd5brz7xzm7xr0000gn\/T\/cenmrev.v2rayx.log\/error.log",
    "loglevel" : "debug",
    "access" : "\/var\/folders\/f6\/h6nrglfs6wxgd5brz7xzm7xr0000gn\/T\/cenmrev.v2rayx.log\/access.log"
  }
}

然后点击 V2RayX 的view log,把 error.log 中的输出贴到下方:

在这里贴上 error.log

2019/03/07 23:17:46 [Info] [1460560413] v2ray.com/core/transport/internet/websocket: creating connection to tcp:xxx.xxx.xxx:443
2019/03/07 23:17:46 [Info] [3563342342] v2ray.com/core/transport/internet/websocket: creating connection to tcp:xxx.xxx.xxx:443
2019/03/07 23:17:46 [Info] [3563342342] v2ray.com/core/transport/internet/websocket: creating connection to tcp:xxx.xxx.xxx:443
2019/03/07 23:17:47 [Warning] [3563342342] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://abc.topdianfeng.top/):  > read tcp ********->********:443: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://xxx.xxx.xxx/):  > dial tcp *********: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://xxx.xxx.xxx/):  > read tcp ********->******: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://xxx.xxx.xxx/):  > dial tcp: operation was canceled] > v2ray.com/core/common/retry: all retry attempts failed
2019/03/07 23:17:54 [Info] [2973845625] v2ray.com/core/proxy/socks: TCP Connect request to tcp:**********:443
2019/03/07 23:17:54 [Info] [2973845625] v2ray.com/core/app/dispatcher: taking detour [tls] for [tcp:**********:443]
  1. 其他你认为可以帮助开发者和你一起解决问题的信息:
    各位好,很感谢大家所开发的v2rayX。
    我上个星期根据网上教程设置了WS + TLS + Caddy,这一个星期以来虽然有时会卡,但是总体还是非常顺畅。
    从今天开始在没有修改配置的情况下,v2ray在Wi-Fi环境下用不了了。手机连Wi-Fi时也不可以,只有4G可以使用。
    请问各位这是我设置的问题还是被宽带运营商动了手脚?
    先谢过各位了
@simon300000
Copy link

我能问一下,Wifi是移动的吗?

@slarkleo
Copy link

slarkleo commented Jul 3, 2019

请问解决了吗 ?我也是类似情况 ,并且4G也上不了。。

@slarkleo
Copy link

slarkleo commented Jul 3, 2019

我重启了一下服务器就ok了。。

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

3 participants