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

TLS/SSL handshake failed: sslv3 alert handshake failure #115

Closed
AMD-NICK opened this issue Apr 23, 2022 · 2 comments
Closed

TLS/SSL handshake failed: sslv3 alert handshake failure #115

AMD-NICK opened this issue Apr 23, 2022 · 2 comments

Comments

@AMD-NICK
Copy link

I try to query https://www.zpool.ca/api/status or https://poll.gmod.app, but get a copas.lua:688: TLS/SSL handshake failed: sslv3 alert handshake failure

Copas version is 3.0.0

When I try to make the request directly through luasec 1.0.2 it will succeed

The sites is behind CloudFlare and on the Internet it is often referred to.

I found this issues, but I don't know about SNI and all these protocols: lunarmodules/luasec#111, #109

I also tried to set some params as in the luasec by default, but it doesn't work for me

reqt.protocol = "any"
reqt.options = {"all", "no_sslv2", "no_sslv3", "no_tlsv1"}
reqt.verify = "none"

Perhaps a related discussion, though not related to copas and luasec: https://forum.defold.com/t/ssl-handshake-failed-1-for-certain-https-hosts-def-2633-solved/7067/25

@AMD-NICK
Copy link
Author

Fixed in this commit:

fedenunez@45476aa by @fedenunez

Tieske added a commit that referenced this issue Jul 29, 2022
Tieske added a commit that referenced this issue Jul 29, 2022
@Tieske
Copy link
Member

Tieske commented Jul 29, 2022

fixed by #126

@Tieske Tieske closed this as completed Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants