ID
Size: a a a
ID
4
4
DP
DP
4
AP
/ # curl httpbin.bar.global:8000
upstream connect error or disconnect/reset before headers. reset reason: connection failure/ #
21-02-01T10:21:39.250184Z debug envoy filter tls inspector: new connection acceptedВыглядит, будто envoyfilter "istio-multicluster-ingressgateway" не работает.
2021-02-01T10:21:39.250256Z debug envoy filter tls:onServerName(), requestedServerName: outbound_.8000_._.httpbin.bar.global
2021-02-01T10:21:39.250324Z debug envoy filter [C19] new tcp proxy session
2021-02-01T10:21:39.250371Z debug envoy connection [C19] closing data_to_write=0 type=1
2021-02-01T10:21:39.250375Z debug envoy connection [C19] closing socket: 1
2021-02-01T10:21:39.254232Z debug envoy wasm wasm log: [extensions/stats/plugin.cc:633]::report() metricKey cache miss istio_tcp_connections_opened_total , stat=12, recurrent=1
2021-02-01T10:21:39.256882Z debug envoy wasm wasm log: [extensions/stats/plugin.cc:633]::report() metricKey cache miss istio_tcp_sent_bytes_total , stat=16, recurrent=1
2021-02-01T10:21:39.259586Z debug envoy wasm wasm log: [extensions/stats/plugin.cc:633]::report() metricKey cache miss istio_tcp_connections_closed_total , stat=20, recurrent=0
2021-02-01T10:21:39.262097Z debug envoy wasm wasm log: [extensions/stats/plugin.cc:633]::report() metricKey cache miss istio_tcp_received_bytes_total , stat=24, recurrent=1
2021-02-01T10:21:39.320654Z debug envoy filter tls inspector: new connection accepted
2021-02-01T10:21:39.320913Z debug envoy filter tls:onServerName(), requestedServerName: outbound_.8000_._.httpbin.bar.global
2021-02-01T10:21:39.320982Z debug envoy filter [C20] new tcp proxy session
2021-02-01T10:21:39.321022Z debug envoy connection [C20] closing data_to_write=0 type=1
2021-02-01T10:21:39.321026Z debug envoy connection [C20] closing socket: 1
2021-02-01T10:21:39.321142Z debug envoy wasm wasm log: [extensions/stats/plugin.cc:633]::report() metricKey cache miss istio_tcp_connections_opened_total , stat=12, recurrent=1
2021-02-01T10:21:39.321216Z debug envoy wasm wasm log: [extensions/stats/plugin.cc:633]::report() metricKey cache miss istio_tcp_sent_bytes_total , stat=16, recurrent=1
2021-02-01T10:21:39.321233Z debug envoy wasm wasm log: [extensions/stats/plugin.cc:633]::report() metricKey cache miss istio_tcp_connections_closed_total , stat=20, recurrent=0
2021-02-01T10:21:39.321248Z debug envoy wasm wasm log: [extensions/stats/plugin.cc:633]::report() metricKey cache miss istio_tcp_received_bytes_total , stat=24, recurrent=1
AP
AP
2021-02-01T12:43:15.676276Z debug envoy filter tls inspector: new connection accepted
2021-02-01T12:43:15.676313Z trace envoy filter tls inspector: recv: 212
2021-02-01T12:43:15.676337Z trace envoy filter tls:onALPN(), ALPN: istio-http/1.1,istio,http/1.1
2021-02-01T12:43:15.676349Z debug envoy filter tls:onServerName(), requestedServerName: outbound_.8000_._.httpbin.bar.global
2021-02-01T12:43:15.676419Z debug envoy filter [C22] new tcp proxy session
2021-02-01T12:43:15.676424Z trace envoy connection [C22] readDisable: disable=true disable_count=0 state=0 buffer_length=0
2021-02-01T12:43:15.676433Z trace envoy filter [C22] sni_cluster: new connection with server name outbound_.8000_._.httpbin.bar.global
2021-02-01T12:43:15.676440Z trace envoy filter [C22] tcp_cluster_rewrite: new connection with server name outbound_.8000_._.httpbin.bar.global
2021-02-01T12:43:15.676453Z trace envoy filter [C22] tcp_cluster_rewrite: final tcp proxy cluster name outbound_.8000_._.httpbin.bar.svc.cluster.local
2021-02-01T12:43:15.676471Z debug envoy connection [C22] closing data_to_write=0 type=1
2021-02-01T12:43:15.676475Z debug envoy connection [C22] closing socket: 1
tbound_.8000_._.httpbin.bar.global я
получаю outbound_.8000_._.httpbin.bar.svc.cluster.local.
Но он опять молча закрывает сокет. Почему, блин?AP
httpbin.bar.svc.b.local
в кластере a.local
через простой ServiceEntry
, то всё работает как положено. Даже авторизация работает по source.principals
"a.local/*".ServiceEntry
*.b.local
, то при запросе httpbin.bar.svc.b.local
тот будет перенаправлен в соседний кластер, но его SNI будет заменён на outbound_.8000_._.*.b.local
, после чего запрос становится обречён.*.b.local
на статичный IP:port без модификации SNI? Нет ли у кого идей?4
ᴅ
httpbin.bar.svc.b.local
в кластере a.local
через простой ServiceEntry
, то всё работает как положено. Даже авторизация работает по source.principals
"a.local/*".ServiceEntry
*.b.local
, то при запросе httpbin.bar.svc.b.local
тот будет перенаправлен в соседний кластер, но его SNI будет заменён на outbound_.8000_._.*.b.local
, после чего запрос становится обречён.*.b.local
на статичный IP:port без модификации SNI? Нет ли у кого идей?4
4
AP
AP
4
AP
4
AP