Giter Site home page Giter Site logo

Comments (11)

yxmyxmyyy avatar yxmyxmyyy commented on May 28, 2024

同样是加?ed=2560才能连上

from xray-core.

lxhao61 avatar lxhao61 commented on May 28, 2024

服务端配置文件:

        {
            "port": 80,
            "protocol": "vmess",
            "settings": {
                "clients": [
                    {
                        "id": "xxxx",
                        "security": "aes-128-gcm"
                    }
                ],
                "decryption": "none"
            },
            "streamSettings": {
                "network": "httpUpgrade",
                "httpUpgradeSettings": {
                    "path": "/ws"
                }
            }
        },

看debug日志是跟vmess有关?

2024/04/06 17:24:05 [Info] [1728523188] app/proxyman/inbound: connection ends > proxy/vmess/inbound: connection ends > context canceled
2024/04/06 17:26:10 [Info] [4256423397] app/proxyman/inbound: connection ends > proxy/vmess/encoding: failed to read request header > EOF

不添加?ed=2560,无法直连,也无法通过cf连接。报错如上。

xray版本: Xray 1.8.10 (Xray, Penetrates Everything.) 07ed094 (go1.22.1 linux/arm64)

配置示例错误,四不像。

from xray-core.

Qian119lsj avatar Qian119lsj commented on May 28, 2024

原来是这样 我还以为不加tls不给连接,加上?ed=2560就能连了

from xray-core.

lxhao61 avatar lxhao61 commented on May 28, 2024

服务端配置文件:

        {
            "port": 80,
            "protocol": "vmess",
            "settings": {
                "clients": [
                    {
                        "id": "xxxx",
                        "security": "aes-128-gcm"
                    }
                ],
                "decryption": "none"
            },
            "streamSettings": {
                "network": "httpUpgrade",
                "httpUpgradeSettings": {
                    "path": "/ws"
                }
            }
        },

看debug日志是跟vmess有关?

2024/04/06 17:24:05 [Info] [1728523188] app/proxyman/inbound: connection ends > proxy/vmess/inbound: connection ends > context canceled
2024/04/06 17:26:10 [Info] [4256423397] app/proxyman/inbound: connection ends > proxy/vmess/encoding: failed to read request header > EOF

不添加?ed=2560,无法直连,也无法通过cf连接。报错如上。
xray版本: Xray 1.8.10 (Xray, Penetrates Everything.) 07ed094 (go1.22.1 linux/arm64)

配置示例错误,四不像。

看下issue标题。。。

难道可以仅 issue 标题写明白,其下内容可以随便乱写!

from xray-core.

lxhao61 avatar lxhao61 commented on May 28, 2024

服务端配置文件:

        {
            "port": 80,
            "protocol": "vmess",
            "settings": {
                "clients": [
                    {
                        "id": "xxxx",
                        "security": "aes-128-gcm"
                    }
                ],
                "decryption": "none"
            },
            "streamSettings": {
                "network": "httpUpgrade",
                "httpUpgradeSettings": {
                    "path": "/ws"
                }
            }
        },

看debug日志是跟vmess有关?

2024/04/06 17:24:05 [Info] [1728523188] app/proxyman/inbound: connection ends > proxy/vmess/inbound: connection ends > context canceled
2024/04/06 17:26:10 [Info] [4256423397] app/proxyman/inbound: connection ends > proxy/vmess/encoding: failed to read request header > EOF

不添加?ed=2560,无法直连,也无法通过cf连接。报错如上。
xray版本: Xray 1.8.10 (Xray, Penetrates Everything.) 07ed094 (go1.22.1 linux/arm64)

配置示例错误,四不像。

看下issue标题。。。

难道可以仅 issue 标题写明白,其下内容可以随便乱写!

。。。你好歹试试再评论吧,其他人也有这个问题的。。

没有说这个问题不存在或其它!我回复就是提醒你,你提供的配置示例写错了会造成其它人认为你配置错误造成的。

from xray-core.

lxhao61 avatar lxhao61 commented on May 28, 2024

服务端配置文件:

        {
            "port": 80,
            "protocol": "vmess",
            "settings": {
                "clients": [
                    {
                        "id": "xxxx",
                        "security": "aes-128-gcm"
                    }
                ],
                "decryption": "none"
            },
            "streamSettings": {
                "network": "httpUpgrade",
                "httpUpgradeSettings": {
                    "path": "/ws"
                }
            }
        },

看debug日志是跟vmess有关?

2024/04/06 17:24:05 [Info] [1728523188] app/proxyman/inbound: connection ends > proxy/vmess/inbound: connection ends > context canceled
2024/04/06 17:26:10 [Info] [4256423397] app/proxyman/inbound: connection ends > proxy/vmess/encoding: failed to read request header > EOF

不添加?ed=2560,无法直连,也无法通过cf连接。报错如上。
xray版本: Xray 1.8.10 (Xray, Penetrates Everything.) 07ed094 (go1.22.1 linux/arm64)

配置示例错误,四不像。

看下issue标题。。。

难道可以仅 issue 标题写明白,其下内容可以随便乱写!

。。。你好歹试试再评论吧,其他人也有这个问题的。。

没有说这个问题不存在或其它!我回复就是提醒你,你提供的配置示例写错了会造成其它人认为你配置错误造成的。

咱就说,能不能试试 再说我配置示例写错了。。

晕!!按照你现在提供的错误配置,不可能测试!自己检查错误在什么地方?https://xtls.github.io/config/inbounds/vmess.html

from xray-core.

AsenHu avatar AsenHu commented on May 28, 2024

晕!!按照你现在提供的错误配置,不可能测试!自己检查错误在什么地方?https://xtls.github.io/config/inbounds/vmess.html

你们能不能把引用删一下啊,叠这么长?

from xray-core.

Qian119lsj avatar Qian119lsj commented on May 28, 2024

服务端inbounds

{
        "port": 5205,
        "protocol": "vmess",
        "settings": {
          "clients": [
            {
              "id": "a907048d-42f5-40b4-aaaa-5e37820daf20"
            }
          ]
        },
        "streamSettings": {
          "network": "httpupgrade",
          "security": "none",
          "httpupgradeSettings": {
            "path": "/ws"
          }
        }
}

客户端outbounds

    {
      "tag": "proxy",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "1.1.1.1",
            "port": 80,
            "users": [
              {
                "id": "a907048d-42f5-40b4-aaaa-5e37820daf20",
                "alterId": 0,
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "httpupgrade",
        "httpupgradeSettings": {
          "path": "/ws"
        }
      }
    }

from xray-core.

lxhao61 avatar lxhao61 commented on May 28, 2024

你们能不能把引用删一下啊,叠这么长?

是的,叠太长了。
一个示例配置被弄成 VMess 与 VLESS 的服务端与客户端四不像的组合,提醒他还不明白,无语!

from xray-core.

xqdoo00o avatar xqdoo00o commented on May 28, 2024

你们能不能把引用删一下啊,叠这么长?

是的,叠太长了。 一个示例配置被弄成 VMess 与 VLESS 的服务端与客户端四不像的组合,提醒他还不明白,无语!

1,确实是弄混了,但是vless服务端配置改成vmess,只把l改成m就可以用。2, 多出来的客户端字段没啥用,但是写着也没问题。
参考楼上大佬写的配置。

from xray-core.

xqdoo00o avatar xqdoo00o commented on May 28, 2024

依然报这个错误,服务端和客户端都已升级1.8.11
2024/04/26 15:39:23 [Info] [3886561446] app/proxyman/inbound: connection ends > proxy/vmess/encoding: failed to read request header > EOF

from xray-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.