question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

I got this error while executing this code image

import stweet as st
start = timeit.default_timer()

task = st.SearchTweetsTask(
    language = st.Language.ARABIC,
    tweets_limit=2000000,
    all_words=''
)

tweets_collector = st.CollectorTweetOutput()
result = st.TweetSearchRunner(task, [tweets_collector]).run()
stop = timeit.default_timer()
print('Time: ', stop - start) 

any idea of the solution?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
dqfrancecommented, May 11, 2021

hello, I have a problem: (“Connection broken: ConnectionResetError(104, ‘Connection reset by peer’)”, ConnectionResetError(104, ‘Connection reset by peer’)), any idea of the solution?

1reaction
markowangacommented, Mar 10, 2021

@OmarMohammed88 thank you – I will check it 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

requests.exceptions.ConnectionError: ('Connection aborted ...
104, 'Connection reset by peer' socket error, or When does closing a socket result in a RST rather than FIN? 2 · Python...
Read more >
ConnectionResetError(104, 'Connection reset by peer')) #597
This looks like an issue with the packages in your Python installation. The requests library normally uses a vendored version of urllib3, but...
Read more >
ConnectionResetError(104, 'Connection reset by peer')
Very superficially, it looks like the type of error you might get when you try to connect to a server that is expecting...
Read more >
Azure function is running, but I'm getting ConnectionError
', ConnectionResetError(104, 'Connection reset by peer')) exception when sending a POST request. Hey azure experts, I have an azure function ...
Read more >
requests.exceptions ConnectionError Connection aborted ...
Recently we have been facing this connection reset issue in our droplets. Especially when the digitalocean server gives a lot of get/post ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found