curl - Envoy Configuration Error When Proxying to Example.com: SSL Error - Stack Overflow

I have the following Envoy configuration (.yaml) that works perfectly when I proxy to an internal servi

I have the following Envoy configuration (.yaml) that works perfectly when I proxy to an internal service:

static_resources:
  listeners:
  - address:
      socket_address:
        address: 0.0.0.0
        port_value: 10000
    filter_chains:
    - filters:
      - name: envoy.filterswork.tcp_proxy
        typed_config:
          "@type": type.googleapis/envoy.extensions.filterswork.tcp_proxy.v3.TcpProxy
          cluster: service-https
          stat_prefix: https_passthrough

  clusters:
  - name: service-https
    type: STRICT_DNS
    lb_policy: ROUND_ROBIN
    load_assignment:
      cluster_name: service-https
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: service-https
                port_value: 443

This works fine, and I can make requests like:

curl -k :10003/

However, when I change the cluster destination to example, like this:

address: example

I get the following SSL error:

curl -k :10003/
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 10.0.0.1:10003

I've confirmed that example is accessible from the Envoy instance (outside of Envoy).

Any ideas on why this might be happening, and how I can fix it?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745590288a4634788.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信