curl --proxy http://127.0.0.1:8181 -o /dev/null https://mirror.in2p3.fr/pub/fedora/linux/releases/42/Workstation/x86_64/iso/Fedora-Workstation-Live-42-1.1.x86_64.iso
Interrupt the download by sending Ctrl-C
Look at the ziti-router log
{
"_channels": [
"establishPath"
],
"apiSessionId": "cmfqn1eboz83ckkig8goy7oqm",
"attemptNumber": "1",
"bindConnId": 1,
"binding": "edge",
"circuitId": "6EpRosv59zxcthJlyTZT6Z",
"connId": 2147483650,
"file": "github.com/openziti/ziti/router/xgress_edge/dialer.go:142",
"func": "github.com/openziti/ziti/router/xgress_edge.(*dialer).Dial",
"level": "info",
"msg": "sending dial request to sdk",
"serviceId": "4TDIgoL24R7kDi6z3EQZCe",
"sessionId": "cmfqn1ehbz83ekkigxk8qke50",
"terminatorAddress": "2sP7UgLnGQkZ4P1nzK6Tjf",
"time": "2025-09-19T10:24:40.079Z"
}
{
"_context": "{c/6EpRosv59zxcthJlyTZT6Z|@/7Bttxc3WDL1SZw3znO9NSj}<Terminator>",
"file": "github.com/openziti/sdk-golang@v1.2.2/xgress/link_send_buffer.go:296",
"func": "github.com/openziti/sdk-golang/xgress.(*LinkSendBuffer).run",
"level": "warning",
"msg": "closing while buffer contains unacked payloads",
"payloadCount": 106,
"time": "2025-09-19T10:25:17.037Z"
}
{
"_context": "{c/6EpRosv59zxcthJlyTZT6Z|@/7Bttxc3WDL1SZw3znO9NSj}<Terminator>",
"circuitId": "6EpRosv59zxcthJlyTZT6Z",
"error": "cannot forward payload, no forward table for circuit=6EpRosv59zxcthJlyTZT6Z src=7Bttxc3WDL1SZw3znO9NSj",
"file": "github.com/openziti/ziti/router/handler_xgress/data_plane.go:58",
"func": "github.com/openziti/ziti/router/handler_xgress.(*dataPlaneAdapter).ForwardPayload",
"level": "error",
"msg": "unable to forward payload",
"origin": 1,
"seq": 4991,
"time": "2025-09-19T10:25:17.037Z"
}
{
"_context": "{c/6EpRosv59zxcthJlyTZT6Z|@/7Bttxc3WDL1SZw3znO9NSj}<Terminator>",
"error": "write closed",
"file": "github.com/openziti/sdk-golang@v1.2.2/xgress/xgress.go:870",
"func": "github.com/openziti/sdk-golang/xgress.(*Xgress).forwardPayload",
"level": "error",
"msg": "failure to buffer payload",
"time": "2025-09-19T10:25:17.037Z"
}
{
"circuitCount": 1,
"ctrlId": "dc",
"file": "github.com/openziti/ziti/router/forwarder/faulter.go:107",
"func": "github.com/openziti/ziti/router/forwarder.(*Faulter).run",
"level": "warning",
"msg": "reported forwarding faults",
"time": "2025-09-19T10:25:27.244Z"
}
{
"circuitId": "6EpRosv59zxcthJlyTZT6Z",
"file": "github.com/openziti/ziti/router/forwarder/forwarder.go:155",
"func": "github.com/openziti/ziti/router/forwarder.(*Forwarder).Unroute",
"level": "info",
"msg": "circuit unrouted",
"time": "2025-09-19T10:25:27.284Z"
}
After this scenario the service is dead!
curl --proxy http://127.0.0.1:8181 https://www.google.com:443
Ziti-router log
{
"_channels": [
"establishPath"
],
"apiSessionId": "cmfqn1eboz83ckkig8goy7oqm",
"attemptNumber": "1",
"bindConnId": 1,
"binding": "edge",
"circuitId": "3aeM1fdflUWrVGRLMoGXt4",
"connId": 2147483651,
"file": "github.com/openziti/ziti/router/xgress_edge/dialer.go:142",
"func": "github.com/openziti/ziti/router/xgress_edge.(*dialer).Dial",
"level": "info",
"msg": "sending dial request to sdk",
"serviceId": "4TDIgoL24R7kDi6z3EQZCe",
"sessionId": "cmfqn1ehbz83ekkigxk8qke50",
"terminatorAddress": "2sP7UgLnGQkZ4P1nzK6Tjf",
"time": "2025-09-19T10:25:40.521Z"
}
{
"_context": "{c/3aeM1fdflUWrVGRLMoGXt4|@/eCHiMoFy0coITH9TiNju1}<Terminator>",
"circuitId": "3aeM1fdflUWrVGRLMoGXt4",
"error": "cannot forward payload, no forward table for circuit=3aeM1fdflUWrVGRLMoGXt4 src=eCHiMoFy0coITH9TiNju1",
"file": "github.com/openziti/ziti/router/handler_xgress/data_plane.go:58",
"func": "github.com/openziti/ziti/router/handler_xgress.(*dataPlaneAdapter).ForwardPayload",
"level": "error",
"msg": "unable to forward payload",
"origin": 1,
"seq": 0,
"time": "2025-09-19T10:25:45.522Z"
}
Moreover, after I have stopped the zrok share I continue to see the terminator!
ziti edge list terminators 'limit none' | grep proxy
│ 2sP7UgLnGQkZ4P1nzK6Tjf │ proxy │ rt89 │ edge │ 2sP7UgLnGQkZ4P1nzK6Tjf │ │ 0 │ default │ 0 │
ziti edge list services 'limit none' | grep proxy
│ 4TDIgoL24R7kDi6z3EQZCe │ proxy │ true │ smartrouting │ │
zrok v1.1.2
ziti 1.6.7
You can do the same test using socks5.
curl --proxy socks5://127.0.0.1:9191 -o /dev/null https://mirror.in2p3.fr/pub/fedora/linux/releases/42/Workstation/x86_64/iso/Fedora-Workstation-Live-42-1.1.x86_64.iso
Press Ctrl-C
curl -I --proxy socks5://127.0.0.1:9191 https://www.google.com:443
curl: (97) Recv failure: Connection reset by peer
Look at ziti-router log
{
"_channels": [
"establishPath"
],
"apiSessionId": "cmfqysannznn9kkig0edtiqzr",
"attemptNumber": "1",
"bindConnId": 1,
"binding": "edge",
"circuitId": "2dapZPkNugqIetRNcC9VcP",
"connId": 2147483705,
"file": "github.com/openziti/ziti/router/xgress_edge/dialer.go:142",
"func": "github.com/openziti/ziti/router/xgress_edge.(*dialer).Dial",
"level": "info",
"msg": "sending dial request to sdk",
"serviceId": "Aus1zAXp334UUd1QCtp8Y",
"sessionId": "cmfqysatgznnbkkig5n9v78q8",
"terminatorAddress": "5B2U1sBaDiWVOjLGoPaOE7",
"time": "2025-09-19T15:05:34.240Z"
}
{
"_channels": [
"establishPath"
],
"apiSessionId": "cmfqysannznn9kkig0edtiqzr",
"attemptNumber": "1",
"bindConnId": 1,
"binding": "edge",
"circuitId": "5OiIr2uYNf35iCLMvlz21a",
"connId": 2147483706,
"file": "github.com/openziti/ziti/router/xgress_edge/dialer.go:142",
"func": "github.com/openziti/ziti/router/xgress_edge.(*dialer).Dial",
"level": "info",
"msg": "sending dial request to sdk",
"serviceId": "Aus1zAXp334UUd1QCtp8Y",
"sessionId": "cmfqysatgznnbkkig5n9v78q8",
"terminatorAddress": "5B2U1sBaDiWVOjLGoPaOE7",
"time": "2025-09-19T15:05:51.161Z"
}
{
"_context": "{c/5OiIr2uYNf35iCLMvlz21a|@/ZEPlFN28jtSWEAXI0J43b}<Terminator>",
"circuitId": "5OiIr2uYNf35iCLMvlz21a",
"error": "cannot forward payload, no forward table for circuit=5OiIr2uYNf35iCLMvlz21a src=ZEPlFN28jtSWEAXI0J43b",
"file": "github.com/openziti/ziti/router/handler_xgress/data_plane.go:58",
"func": "github.com/openziti/ziti/router/handler_xgress.(*dataPlaneAdapter).ForwardPayload",
"level": "error",
"msg": "unable to forward payload",
"origin": 1,
"seq": 0,
"time": "2025-09-19T15:05:56.162Z"
}
{
"_channels": [
"establishPath"
],
"apiSessionId": "cmfqysannznn9kkig0edtiqzr",
"attempt": 0,
"attemptNumber": "1",
"binding": "edge",
"circuitId": "5OiIr2uYNf35iCLMvlz21a",
"context": "ch{ctrl}->u{reconnecting}->i{dc/JO5x}",
"destination": "5B2U1sBaDiWVOjLGoPaOE7",
"error": "error creating route for [c/5OiIr2uYNf35iCLMvlz21a]: timeout waiting for message reply: context deadline exceeded",
"file": "github.com/openziti/ziti/router/handler_ctrl/route.go:140",
"func": "github.com/openziti/ziti/router/handler_ctrl.(*routeHandler).fail",
"level": "error",
"msg": "failure while handling route update",
"serviceId": "Aus1zAXp334UUd1QCtp8Y",
"sessionId": "cmfqysatgznnbkkig5n9v78q8",
"time": "2025-09-19T15:05:56.162Z"
}
{
"_channels": [
"establishPath"
],
"apiSessionId": "cmfqysannznn9kkig0edtiqzr",
"attemptNumber": "2",
"bindConnId": 1,
"binding": "edge",
"circuitId": "5OiIr2uYNf35iCLMvlz21a",
"connId": 2147483707,
"file": "github.com/openziti/ziti/router/xgress_edge/dialer.go:142",
"func": "github.com/openziti/ziti/router/xgress_edge.(*dialer).Dial",
"level": "info",
"msg": "sending dial request to sdk",
"serviceId": "Aus1zAXp334UUd1QCtp8Y",
"sessionId": "cmfqysatgznnbkkig5n9v78q8",
"terminatorAddress": "5B2U1sBaDiWVOjLGoPaOE7",
"time": "2025-09-19T15:05:56.202Z"
}
{
"_context": "{c/2dapZPkNugqIetRNcC9VcP|@/4adT69wJmyaTfGXQKZKd8R}<Terminator>",
"file": "github.com/openziti/sdk-golang@v1.2.2/xgress/link_send_buffer.go:296",
"func": "github.com/openziti/sdk-golang/xgress.(*LinkSendBuffer).run",
"level": "warning",
"msg": "closing while buffer contains unacked payloads",
"payloadCount": 59,
"time": "2025-09-19T15:05:57.502Z"
}
{
"_context": "{c/2dapZPkNugqIetRNcC9VcP|@/4adT69wJmyaTfGXQKZKd8R}<Terminator>",
"circuitId": "2dapZPkNugqIetRNcC9VcP",
"error": "cannot forward payload, no forward table for circuit=2dapZPkNugqIetRNcC9VcP src=4adT69wJmyaTfGXQKZKd8R",
"file": "github.com/openziti/ziti/router/handler_xgress/data_plane.go:58",
"func": "github.com/openziti/ziti/router/handler_xgress.(*dataPlaneAdapter).ForwardPayload",
"level": "error",
"msg": "unable to forward payload",
"origin": 1,
"seq": 1334,
"time": "2025-09-19T15:05:57.502Z"
}
{
"_context": "{c/2dapZPkNugqIetRNcC9VcP|@/4adT69wJmyaTfGXQKZKd8R}<Terminator>",
"error": "write closed",
"file": "github.com/openziti/sdk-golang@v1.2.2/xgress/xgress.go:870",
"func": "github.com/openziti/sdk-golang/xgress.(*Xgress).forwardPayload",
"level": "error",
"msg": "failure to buffer payload",
"time": "2025-09-19T15:05:57.502Z"
}
{
"circuitCount": 2,
"ctrlId": "dc",
"file": "github.com/openziti/ziti/router/forwarder/faulter.go:107",
"func": "github.com/openziti/ziti/router/forwarder.(*Faulter).run",
"level": "warning",
"msg": "reported forwarding faults",
"time": "2025-09-19T15:06:00.725Z"
}
{
"circuitId": "2dapZPkNugqIetRNcC9VcP",
"file": "github.com/openziti/ziti/router/forwarder/forwarder.go:155",
"func": "github.com/openziti/ziti/router/forwarder.(*Forwarder).Unroute",
"level": "info",
"msg": "circuit unrouted",
"time": "2025-09-19T15:06:00.793Z"
}
{
"circuitId": "5OiIr2uYNf35iCLMvlz21a",
"file": "github.com/openziti/ziti/router/forwarder/forwarder.go:155",
"func": "github.com/openziti/ziti/router/forwarder.(*Forwarder).Unroute",
"level": "info",
"msg": "circuit unrouted",
"time": "2025-09-19T15:06:00.793Z"
}
{
"_context": "{c/5OiIr2uYNf35iCLMvlz21a|@/4qrSUoDb500NrWVmVnCQkf}<Terminator>",
"circuitId": "5OiIr2uYNf35iCLMvlz21a",
"error": "cannot forward payload, no forward table for circuit=5OiIr2uYNf35iCLMvlz21a src=4qrSUoDb500NrWVmVnCQkf",
"file": "github.com/openziti/ziti/router/handler_xgress/data_plane.go:58",
"func": "github.com/openziti/ziti/router/handler_xgress.(*dataPlaneAdapter).ForwardPayload",
"level": "error",
"msg": "unable to forward payload",
"origin": 1,
"seq": 0,
"time": "2025-09-19T15:06:00.794Z"
}