Skip to content

ingress 切换到higress 使用https 请求报错 Connection reset by peer #2888

@vvlisn

Description

@vvlisn

ingress 配置

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: cnca-xxx-t1
  annotations:
    #  key: string
  creationTimestamp: '2025-05-13T14:04:07Z'
  generation: 1
  labels:
    {}
    #  key: string
  namespace: certification-platform
spec:
  ingressClassName: ingress-nginx-t1-nginx-t1
  rules:
    - host: cnca.stg.xxx.net
      http:
        paths:
          - backend:
              service:
                name: cnca-console
                port:
                  number: 8080
            path: /
            pathType: Prefix
  tls:
    - hosts:
        - cnca.stg.xxx.net
      secretName: cnca.stg.cert
  backend:
    {}

cacheObject:
  useNestedBackendField: true
  showPathType: true
__clone: true

测试

Image

higress-gateway 日志

{"ai_log":"-","authority":"-","bytes_received":"0","bytes_sent":"0","downstream_local_address":"192.168.239.10:443","downstream_remote_address":"192.168.239.10:56992","duration":"40","istio_policy_status":"-","method":"-","path":"-","protocol":"-","request_id":"-","requested_server_name":"-","response_code":"0","response_flags":"NR","route_name":"-","start_time":"2025-09-09T02:33:42.159Z","trace_id":"-","upstream_cluster":"-","upstream_host":"-","upstream_local_address":"-","upstream_service_time":"-","upstream_transport_failure_reason":"-","user_agent":"-","x_forwarded_for":"-","response_code_details":"filter_chain_not_found"}

ingress 配置了tls ,但是看报错higress 好像无法找到证书

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