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

em-http-request TLS Error #26

Open
SpookySec opened this issue Mar 8, 2021 · 0 comments
Open

em-http-request TLS Error #26

SpookySec opened this issue Mar 8, 2021 · 0 comments

Comments

@SpookySec
Copy link

SpookySec commented Mar 8, 2021

em-http-request

[WARNING; em-http-request] TLS hostname validation is disabled (use 'tls: {verify_peer: true}'), see CVE-2020-13482 and https://github.com/igrigorik/em-http-request/issues/339 for details

Is the message I'm always getting whenever I try creating a simple PageIterator on a host with HTTPS. I really love this project and I would love to see that warning fixed because it's really annoying. thanks!

code:

opts = {'maxpages' => 1}
t = Retriever::PageIterator.new("https://www.google.com", opts) do |page|
    puts page.title
    [page.url]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant