instapy-quickstart icon indicating copy to clipboard operation
instapy-quickstart copied to clipboard

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

Open soft-nougat opened this issue 5 years ago • 4 comments

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

soft-nougat avatar Jun 06 '19 08:06 soft-nougat

same issues here, did u solve it?

markshi9008 avatar Feb 18 '22 02:02 markshi9008

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

soft-nougat avatar Feb 18 '22 08:02 soft-nougat

No problem, thank you!

发自我的iPhone

------------------ Original ------------------ From: Tia @.> Date: Fri,Feb 18,2022 4:23 PM To: InstaPy/instapy-quickstart @.> Cc: markshi9008 @.>, Comment @.> Subject: Re: [InstaPy/instapy-quickstart] Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it (#42)

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

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

markshi9008 avatar Feb 18 '22 08:02 markshi9008

@markshi9008 did you solve it ? :D

hack3r420 avatar Mar 02 '22 20:03 hack3r420