Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
10BC0 分流配置错误 · Issue #801 · go-gost/gost · GitHub
Nothing Special   »   [go: up one dir, main page]

Skip to content

分流配置错误 #801

@NiuStar

Description

@NiuStar

**预期目标:**使用本机器的28080端口,形成一个对外提供的ss服务,通过分流器分流不同的服务,转发到不同的ss节点上
配置文件

{
  "services": [
    {
      "name": "service-0",
      "addr": ":28080",
      "handler": {
        "type": "ss",
        "chain": "chain-0"
      },
      "listener": {
        "type": "tcp"
      },
      "status": {
        "createTime": 1760499678,
        "state": "ready",
        "events": [
          {
            "time": 1760499678,
            "msg": "service service-0 is running"
          },
          {
            "time": 1760499678,
            "msg": "service service-0 is ready"
          },
          {
            "time": 1760499678,
            "msg": "service service-0 is listening on [::]:28080"
          }
        ]
      }
    }
  ],
  "chains": [
    {
      "name": "chain-0",
      "hops": [
        {
          "name": "hop-0",
          "nodes": [
            {
              "name": "ss-gpt",
              "addr": "16.22.183.144:18086",
              "bypass": "bypass-gpt",
              "connector": {
                "type": "ss",
                "auth": {
                  "username": "AEAD_CHACHA20_POLY1305",
                  "password": "123456Qaz.."
                }
              },
              "dialer": {
                "type": "tcp"
              }
            },
            {
              "name": "ss-other",
              "addr": "183.23.83.14:18086",
              "bypass": "bypass-other",
              "connector": {
                "type": "ss",
                "auth": {
                  "username": "AEAD_CHACHA20_POLY1305",
                  "password": "123456Qaz.."
                }
              },
              "dialer": {
                "type": "tcp"
              }
            }
          ]
        }
      ]
    }
  ],
  "bypasses": [
    {
      "name": "bypass-gpt",
      "matchers": [
        "*.chatgpt.com",
        ".openai.com"
      ]
    },
    {
      "name": "bypass-other",
      "matchers": [
        "*"
      ]
    }
  ]
}

目前基础情况:
ss-gpt和ss-other两个节点,除了IP不一样,其他包括端口、加密方式、密码都是一样的,如配置所示,但是这次配置失败
输出日志:

Oct 16 09:59:46 debian13 gost[221520]: {"caller":"ss/handler.go:106","client":"182.151.68.25:64510","handler":"ss","kind":"handler","level":"info","listener":"tcp","local":"168.23.63.54:28080","msg":"182.151.68.25:64510 <> 168.23.63.54:28080","network":"tcp","remote":"182
5E3B
.151.68.25:64510","service":"service-0","sid":"d3o534homqna5n5qbe40","time":"2025-10-16T09:59:46.886+08:00"}
Oct 16 09:59:46 debian13 gost[221520]: {"caller":"ss/handler.go:141","client":"182.151.68.25:64510","handler":"ss","kind":"handler","level":"error","listener":"tcp","local":"168.23.63.54:28080","msg":"bad address type","network":"tcp","remote":"182.151.68.25:64510","service":"service-0","sid":"d3o534homqna5n5qbe40","time":"2025-10-16T09:59:46.886+08:00"}
Oct 16 09:59:48 debian13 gost[221520]: {"caller":"ss/handler.go:126","client":"182.151.68.25:64510","duration":1684459257,"handler":"ss","inputBytes":196,"kind":"handler","level":"info","listener":"tcp","local":"168.23.63.54:28080","msg":"182.151.68.25:64510 >< 168.23.63.54:28080","network":"tcp","outputBytes":0,"remote":"182.151.68.25:64510","service":"service-0","sid":"d3o534homqna5n5qbe40","time":"2025-10-16T09:59:48.570+08:00"}
Oct 16 09:59:48 debian13 gost[221520]: {"caller":"service/service.go:280","handler":"ss","kind":"service","level":"error","listener":"tcp","msg":"bad address type","service":"service-0","sid":"d3o534homqna5n5qbe40","time":"2025-10-16T09:59:48.570+08:00"}

问题:
不知道配置文件哪里有问题,客户端使用ss连接一直报错bad address type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0