Skip to content

v1.10.0 tls: server selected unsupported protocol version 303. #13937

Closed

Description

@kahirokunn

What version of Knative?

v1.10.0

Steps to Reproduce the Problem

It worked in v1.9.x.
Knative Service with imagePullSecrets cannot be started with v1.10.0.

Revision "xxxx-xxxx-00001" failed with message: Unable to fetch image "quay.io/xxxx/xxxx:latest": failed to resolve image to digest: Get "https://quay.io/v2/": tls: server selected unsupported protocol version 303.

Activity

  1. added
    kind/bug
    on May 2, 2023
  2. kahirokunn commented on May 2, 2023

    @kahirokunn
    MemberAuthor

    Perhaps this commit is the problem.
    Isn't it too early to force TLS 1.3 before the major registries in the world such as quay.io have completed their support?#13886

  3. skonto commented on May 2, 2023

    @skonto
    Contributor

    Should we have something like the following to cover all cases:

    MinVersion:     tls.VersionTLS12,
    MaxVersion:     tls.VersionTLS13
    

    Would that work?
    cc @izabelacg @nak3

  4. dprotaso commented on May 2, 2023

    @dprotaso
    Member

    Sigh - I'm surprised quay doesn't support this - TLS1.3 was published in 2018.

  5. ReToCode commented on May 2, 2023

    @ReToCode
    Contributor

    Sigh - I'm surprised quay doesn't support this - TLS1.3 was published in 2018.

    I asked if there is a reason behind that.

    Would that work?

    @skonto before it was just MinVersion with 1.2, I don't think we need to limit the upper version.

    But it might be indeed a bit hard to enforce 1.3 without a configuration on that. There could also be various on-prem registries not supporting 1.3, right?

  6. added this to the v1.11.0 milestone on May 2, 2023
  7. dprotaso commented on May 2, 2023

    @dprotaso
    Member

    But it might be indeed a bit hard to enforce 1.3 without a configuration on that. There could also be various on-prem registries not supporting 1.3, right?

    I think it's worth making this configurable like we did with our webhooks

  8. dprotaso commented on May 2, 2023

    @dprotaso
    Member

    /assign @dprotaso

  9. dprotaso commented on May 2, 2023

    @dprotaso
    Member

    I'll make a change and cherry-pick this back to v1.10.x

  10. dprotaso commented on May 12, 2023

    @dprotaso
    Member

    Seems like digital ocean registry doesn't support TLS 1.3 either

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

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions