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

Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it #42

Open
soft-nougat opened this issue Jun 6, 2019 · 4 comments

Comments

@soft-nougat
Copy link

Hey Team!

I want to follow people using InstaPy, but something is keeping my code from running.

This is the code:
....

get an InstaPy session!

session = InstaPy(username=insta_username,
password=insta_password,
headless_browser=True,
multi_logs=True)

with smart_run(session):
""" Activity flow """
# general settings
session.set_relationship_bounds(enabled=True,
potency_ratio=None,
delimit_by_numbers=True,
max_followers=6000,
max_following=3000,
min_followers=30,
min_following=30)

session.set_dont_include(["friend1", "friend2", "friend3"])

ammount_number = 50
session.follow_user_followers(['refikanadol', 'nvidia', 'lilmiquela', 'bruthethe', 'tiltgamer', 'wuyckhuyse'],
amount=ammount_number, randomize=False, interact=True)

....

When ran, the quickstart logs in and starts by going to refikanadol's followers, but then the session is interrupted.

Here's the error:
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

Do you know the fix for this?

Thanks!
Tijana

@markshi9008
Copy link

same issues here, did u solve it?

@soft-nougat
Copy link
Author

hey, this was a long time ago - I honestly don't remember :(

@markshi9008
Copy link

markshi9008 commented Feb 18, 2022 via email

@hack3r420
Copy link

hack3r420 commented Mar 2, 2022

@markshi9008 did you solve it ? :D

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

3 participants