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

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

Open
faresmalik opened this issue Jun 23, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@faresmalik
Copy link

faresmalik commented Jun 23, 2023

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?

@YangletLiu YangletLiu added the bug Something isn't working label Jun 23, 2023
@oliverwang15
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants