InstaPy / InstaPy/instapy-quickstart

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

オープン
#42 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
777
フォーク
763
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The report provides a Python InstaPy session and a WinError 10061 during follow_user_followers, but names no file or test. Start by reproducing the quickstart flow around that call and determine the failure conditions. Done should include a documented, reproducible fix for the refused connection.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。