Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sudden notary hanging #141

Open
ofek opened this issue Apr 21, 2024 · 0 comments
Open

Sudden notary hanging #141

ofek opened this issue Apr 21, 2024 · 0 comments
Labels
apple-codesign apple-codesign crate and rcodesign CLI tool bug Something isn't working

Comments

@ofek
Copy link

ofek commented Apr 21, 2024

Example pipeline running rcodesign notary-submit: https://github.com/pypa/hatch/actions/runs/8775583147/job/24078126572

As you can see in the beginning the binaries are signed quite quickly but the package notarization below times out. One interesting thing I'm seeing is the following debug output:

[2024-04-21T21:41:13Z DEBUG reqwest::connect] starting new connection: https://appstoreconnect.apple.com/
[2024-04-21T21:41:13Z DEBUG rustls::client::hs] No cached session for DnsName("appstoreconnect.apple.com")
[2024-04-21T21:41:13Z DEBUG rustls::client::hs] Not resuming any session
[2024-04-21T21:41:13Z DEBUG rustls::client::hs] Using ciphersuite TLS13_AES_256_GCM_SHA384
[2024-04-21T21:41:13Z DEBUG rustls::client::tls13] Not resuming
[2024-04-21T21:41:13Z DEBUG rustls::client::tls13] TLS1.3 encrypted extensions: [ServerNameAck, Unknown(UnknownExtension *** typ: EllipticCurves, payload: 00040017001d ***), Protocols([ProtocolName(6832)])]
[2024-04-21T21:41:13Z DEBUG rustls::client::hs] ALPN protocol is Some(b"h2")

note the ALPN protocol is Some(b"h2") whereas in the step that succeeds it is ALPN protocol is Some(b"http/1.1"):

[2024-04-21T21:24:18Z DEBUG rustls::client::tls13] TLS1.3 encrypted extensions: [ServerNameAck, Protocols([ProtocolName(687474702f312e31)])]
[2024-04-21T21:24:18Z DEBUG rustls::client::hs] ALPN protocol is Some(b"http/1.1")
@indygreg indygreg added bug Something isn't working apple-codesign apple-codesign crate and rcodesign CLI tool labels Nov 3, 2024
indygreg added a commit that referenced this issue Nov 3, 2024
We need to enable this since we disable default features.

This may address the issue in #141. But I can't reproduce and am
uncertain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple-codesign apple-codesign crate and rcodesign CLI tool bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants