FinNLP icon indicating copy to clipboard operation
FinNLP copied to clipboard

('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) - Error

Open faresmalik opened this issue 1 year ago • 1 comments

I ran into this error when running the same cell you provided in the readme

('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

This error is specifically from this line: news_downloader = Finnhub_Date_Range(config) , downloader = Stocktwits_Streaming(config) and downloader = SEC_Announcement(config). (ALL US DATA)

My config was: start_date = "2023-01-01" end_date = "2023-01-03" config = { "use_proxy": "us_free", # use proxies to prevent ip blocking "max_retry": 5, "proxy_pages": 5, "token": "YOUR_FINNHUB_TOKEN" # Available at https://finnhub.io/dashboard }

Any idea?

faresmalik avatar Jun 23 '23 16:06 faresmalik

Hi, faresmalik. I have just checked the code and it works well. You might need access to the SEC website to solve the problem.

oliverwang15 avatar Jun 25 '23 10:06 oliverwang15