v2ray / v2ray-core

A platform for building proxies to bypass network restrictions.
https://www.v2ray.com/
MIT License
45.24k stars 8.93k forks source link

使用HTTP协议开启认证,Nintendo Switch 进不去商店网页 #2326

Closed rico0808 closed 4 years ago

rico0808 commented 4 years ago

1) 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明) V 4.22.1

2) 你的使用场景是什么? 任天堂Switch游戏机通过HTTP代理进入商城网页。

3) 你看到的不正常的现象是什么? 开启认证进不去eshop商城网页,不开启认证可以进去eshop商城网页。

4) 你期待看到的正确表现是怎样的? 在开启认证的情况下可以进入eshop商城网页

服务器端配置:

    {
  "log": {
    "loglevel": "debug",
    "access": "/var/log/v2ray/access.log",
    "error": "/var/log/v2ray/error.log"
  },
  "inbounds": [
    {
      "port": 10086,
      "protocol": "http",
      "settings": {
        "timeout:":0,
        "accounts":[
          {
            "user":"v2ray",
            "pass":"112233"
          }
        ],
        "allowTransparent":false,
        "userLevel":0
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",  
      "settings": {}
    }
  ]
}

客户端配置:

    无配置,直接再机器内配置HTTP代理

6) 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在 /var/log/v2ray/error.log 文件中。

服务器端错误日志:

    2020/03/12 19:34:19 [Debug] v2ray.com/core/app/log: Logger started
2020/03/12 19:34:19 [Debug] v2ray.com/core/app/proxyman/inbound: creating stream worker on 0.0.0.0:10086
2020/03/12 19:34:19 [Info] v2ray.com/core/transport/internet/tcp: listening TCP on 0.0.0.0:10086
2020/03/12 19:34:19 [Warning] v2ray.com/core: V2Ray 4.22.1 started
2020/03/12 19:34:20 [Info] [3962532659] v2ray.com/core/proxy/http: request to Method [GET] Host [ctest.cdn.nintendo.net] with URL [http://ctest.cdn.nintendo.net/]
2020/03/12 19:34:20 [Info] [3962532659] v2ray.com/core/app/dispatcher: default route for tcp:ctest.cdn.nintendo.net:80
2020/03/12 19:34:20 [Info] [3962532659] v2ray.com/core/proxy/freedom: opening connection to tcp:ctest.cdn.nintendo.net:80
2020/03/12 19:34:20 [Info] [3962532659] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:ctest.cdn.nintendo.net:80
2020/03/12 19:34:20 [Info] [3962532659] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/http: failed to read http request > EOF
2020/03/12 19:34:23 [Info] [1338652547] v2ray.com/core/proxy/http: request to Method [CONNECT] Host [app-a01.lp1.npns.srv.nintendo.net:443] with URL [//app-a01.lp1.npns.srv.nintendo.net:443]
2020/03/12 19:34:23 [Info] [1338652547] v2ray.com/core/app/dispatcher: default route for tcp:app-a01.lp1.npns.srv.nintendo.net:443
2020/03/12 19:34:23 [Info] [1338652547] v2ray.com/core/proxy/freedom: opening connection to tcp:app-a01.lp1.npns.srv.nintendo.net:443
2020/03/12 19:34:23 [Info] [1338652547] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:app-a01.lp1.npns.srv.nintendo.net:443
2020/03/12 19:34:56 [Info] [309229538] v2ray.com/core/proxy/http: request to Method [CONNECT] Host [accounts.nintendo.com:443] with URL [//accounts.nintendo.com:443]
2020/03/12 19:34:56 [Info] [309229538] v2ray.com/core/app/dispatcher: default route for tcp:accounts.nintendo.com:443
2020/03/12 19:34:56 [Info] [309229538] v2ray.com/core/proxy/freedom: opening connection to tcp:accounts.nintendo.com:443
2020/03/12 19:34:56 [Info] [309229538] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:accounts.nintendo.com:443
2020/03/12 19:34:57 [Info] [1166840780] v2ray.com/core/proxy/http: request to Method [CONNECT] Host [accounts.nintendo.com:443] with URL [//accounts.nintendo.com:443]
2020/03/12 19:34:57 [Info] [1166840780] v2ray.com/core/app/dispatcher: default route for tcp:accounts.nintendo.com:443
2020/03/12 19:34:57 [Info] [1166840780] v2ray.com/core/proxy/freedom: opening connection to tcp:accounts.nintendo.com:443
2020/03/12 19:34:57 [Info] [1166840780] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:accounts.nintendo.com:443

客户端错误日志:

    Switch无法输出日志

7) 请附上访问日志。在 Linux 中,日志通常在 /var/log/v2ray/access.log 文件中。

    2020/03/12 19:42:10 42.237.181.179:31335 accepted http://ctest.cdn.nintendo.net/ 
2020/03/12 19:42:13 42.237.181.179:53962 accepted //app-a01.lp1.npns.srv.nintendo.net:443 
2020/03/12 19:43:00 42.237.181.179:40917 accepted //aauth-lp1.ndas.srv.nintendo.net:443 
kslr commented 4 years ago

开启认证进不去eshop商城网页,不开启认证可以进去eshop商城网页。 什么是认证

rico0808 commented 4 years ago

开启认证进不去eshop商城网页,不开启认证可以进去eshop商城网页。 什么是认证

"accounts":[ { "user":"my-username", "pass":"my-password" } ],

开启账户密码认证

kslr commented 4 years ago
无配置,直接再机器内配置HTTP代理

你的终端有设置正常吗

rico0808 commented 4 years ago
无配置,直接再机器内配置HTTP代理

你的终端有设置正常吗

设置正常,电脑上也可以正常使用,只有在游戏机上不行

tjc0726 commented 4 years ago

+1 俺也一样

Busy-Bob commented 4 years ago

Switch 升级到10.0版本可以解决该问题。

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days