Skip to content

tcp proxy not work #702

@zzxap

Description

@zzxap

in fabio listen
-proxy.addr :8095;proto=tcp

and add a route urlprefix-:8095 proto=tcp

when tcp client connect fabio ,fabio show
[WARN] No route for :8095

and client show :
read tcp4 127.0.0.1:27134->127.0.0.1:8095: wsarecv: An established connection was aborted by the software in your host machine.
read finish

my config is
"Listen": [
{
"Addr": ":8095",
"Proto": "tcp",
"ReadTimeout": 0,
"WriteTimeout": 0,
"CertSource": {
"Name": "",
"Type": "",
"CertPath": "",
"KeyPath": "",
"ClientCAPath": "",
"CAUpgradeCN": "",
"Refresh": 0,
"Header": null,
"VaultFetchToken": ""
},
"StrictMatch": false,
"TLSMinVersion": 0,
"TLSMaxVersion": 0,
"TLSCiphers": null,
"ProxyProto": false,
"ProxyHeaderTimeout": 0
}
],

and start log show

[INFO] TCP proxy listening on :8095

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions