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

HandshakeFailure error on CiteSeerX when accessing via HTTPS #10447

Closed
gakada opened this issue Apr 30, 2021 · 1 comment
Closed

HandshakeFailure error on CiteSeerX when accessing via HTTPS #10447

gakada opened this issue Apr 30, 2021 · 1 comment
Labels
tls Issues related to TLS implementation

Comments

@gakada
Copy link

gakada commented Apr 30, 2021

It appears that CiteSeerX certificate isn't supported (maybe a rustls issue? e.g., rustls/rustls#512):

await fetch('https://citeseerx.ist.psu.edu')

results in

$ deno run --allow-net test.ts
TLS alert received: Message {
    typ: Alert,
    version: TLSv1_2,
    payload: Alert(
        AlertMessagePayload {
            level: Fatal,
            description: HandshakeFailure,
        },
    ),
}
error: Uncaught (in promise) TypeError: error sending request for url (https://citeseerx.ist.psu.edu/): error trying to connect: received fatal alert: HandshakeFailure

deno installed with curl -fsSL https://deno.land/x/install/install.sh | sh on Arch Linux:

$ deno --version
deno 1.9.2 (release, x86_64-unknown-linux-gnu)
v8 9.1.269.5
typescript 4.2.2
@bnoordhuis
Copy link
Contributor

It's because the server only seems to support ECDHE-RSA-AES128-SHA2561 but that's a weak cipher (removed in TLSv1.3) and rustls doesn't support it for that reason.

There's not much we can do (or should do.) I suggest to get in touch with the site operator.

1 I tried quite a few ciphers but it rejects everything except ECDHE-RSA-AES128-SHA256.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tls Issues related to TLS implementation
Projects
None yet
Development

No branches or pull requests

2 participants