web-scraping problem: unsafe legacy renegotiation disabled


I have been trying to web-scrapin this page content: IBGE | Concla | Busca online

But I'm facing a few erros, as you can see:

# Configurando ambiente
options(timeout = 500) # Aumentando tempo de timeout pq a conexão do site é lenta

# Import -----------------------------------------------------------------------

# Configurando proxy
httr::set_config(httr::use_proxy(url = "", port = 8080))

# Definindo url
url <- "https://cnae.ibge.gov.br/?view=secao&tipo=cnae&versaosubclasse=10&versaoclasse=7&secao=A"

sessao_inicial <- httr::GET(url)
#> Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached: [cnae.ibge.gov.br] Connection timeout after 10000 ms
page = rvest::read_html(url)
#> Error in open.connection(x, "rb"): error:0A000152:SSL routines::unsafe legacy renegotiation disabled

I tried lots of things, but I think the errors is all like this.

Thanks, guys!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.