Skip to content

FlakyTest TestMTLS_ProxyToBackend #4096

Description

@szuecs
time="2026-06-29T00:52:44Z" level=info msg="TLS settings not found, defaulting to HTTP"
2026/06/29 00:52:44 http: TLS handshake error from 127.0.0.1:50084: tls: client didn't provide a certificate
time="2026-06-29T00:52:44Z" level=error msg="error while proxying after 4.829958ms, route  with backend network https://127.0.0.1:43009, status code 500: dialing failed false: unexpected error from Go stdlib net/http package during roundtrip: readLoopPeekFailLocked: remote error: tls: certificate required, remote host: ::1, request: \"GET / HTTP/1.1\", host: [::]:35977, user agent: \"Go-http-client/1.1\""
::1 - - [29/Jun/2026:00:52:44 +0000] "GET / HTTP/1.1" 500 22 "-" "Go-http-client/1.1" 5 [::]:35977 - -
time="2026-06-29T00:52:44Z" level=info msg="Got shutdown signal, wait 0s for health check"
time="2026-06-29T00:52:44Z" level=info msg="Start shutdown"
time="2026-06-29T00:52:44Z" level=info msg=done.
time="2026-06-29T00:52:44Z" level=info msg="Stop secrets background refresher"
--- FAIL: TestMTLS_ProxyToBackend (0.05s)
    --- FAIL: TestMTLS_ProxyToBackend/negative:_no_client_cert_causes_backend_to_reject_the_connection (0.02s)
        skipper_mtls_test.go:253: Found address "[::]:35977" to be free
        skipper_mtls_test.go:272: 
            	Error Trace:	/home/runner/work/skipper/skipper/skipper_mtls_test.go:272
            	Error:      	Should be true
            	Test:       	TestMTLS_ProxyToBackend/negative:_no_client_cert_causes_backend_to_reject_the_connection
            	Messages:   	expected 503, got 500
time="2026-06-29T00:52:44Z" level=info msg="Listen on [::]:44995"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions