InstaPy / InstaPy/instapy-quickstart

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

Open
#42 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
777
Forks
763
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.