[GH-ISSUE #425] New version dont open Instagram app #828

Open
opened 2026-03-13 22:44:51 +03:00 by kerem · 10 comments
Owner

Originally created by @SithX on GitHub (Mar 14, 2022).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/425

[03/14 17:07:16] Open Instagram app with network check
[03/14 17:07:22] Instagram is not yet opened, waiting...
[03/14 17:07:38] Instagram is not yet opened, waiting...
[03/14 17:07:54] Instagram is not yet opened, waiting...
[03/14 17:08:10] Instagram is not yet opened, waiting...
[03/14 17:08:25] Instagram is not yet opened, waiting...
[03/14 17:08:40] Instagram is not yet opened, waiting...
[03/14 17:08:55] Instagram is not yet opened, waiting...
[03/14 17:09:11] Instagram is not yet opened, waiting...
[03/14 17:09:27] Instagram is not yet opened, waiting...

Engine v3.8.1

Originally created by @SithX on GitHub (Mar 14, 2022). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/425 [03/14 17:07:16] Open Instagram app with network check [03/14 17:07:22] Instagram is not yet opened, waiting... [03/14 17:07:38] Instagram is not yet opened, waiting... [03/14 17:07:54] Instagram is not yet opened, waiting... [03/14 17:08:10] Instagram is not yet opened, waiting... [03/14 17:08:25] Instagram is not yet opened, waiting... [03/14 17:08:40] Instagram is not yet opened, waiting... [03/14 17:08:55] Instagram is not yet opened, waiting... [03/14 17:09:11] Instagram is not yet opened, waiting... [03/14 17:09:27] Instagram is not yet opened, waiting... Engine v3.8.1
Author
Owner

@alexal1 commented on GitHub (Mar 14, 2022):

Provide a full log pls

<!-- gh-comment-id:1067038442 --> @alexal1 commented on GitHub (Mar 14, 2022): Provide a full log pls
Author
Owner

@SithX commented on GitHub (Mar 14, 2022):

Engine v3.8.1

Hi! Since of v3.1.0 all core features in this project are free to use.
You may want to get more fine grained control over the bot via these features:
- Filtering - skip unwanted accounts by various parameters
- Scrapping - technique that makes interactions significantly safer and faster
- Warmup - interact with your feed and Explore several minutes before session to behave more like a human
- Working hours - the script will wait till specified hours before each session
- Removing mass followers - automate "cleaning" your account
Activate by supporting our small team: https://insomniac-bot.com/activate/

Using insomniac session-manager without extra-features
Looking for ADB devices...
Connected devices via adb: 1. That's ok.
[03/14 17:46:31] Installing ADB Keyboard to enable typewriting...
[03/14 17:46:45] Using uiautomator v2
[03/14 17:46:45] Instagram version: 195.0.0.31.123
[03/14 17:46:45] Executing "interact" action.
[03/14 17:46:45] Successful interactions limit per source: 70
[03/14 17:46:45] Interactions limit per source: 140
[03/14 17:46:45] Total likes limit: 50
[03/14 17:46:45] Total interactions limit: 120
[03/14 17:46:45] Total successful-interactions limit: 58
[03/14 17:46:45] Total story-watches limit: 101
[03/14 17:46:45] Total comments limit: 50
[03/14 17:46:45] Total get-profile limit: 351
[03/14 17:46:45] Session max-length (minutes): 52

-------- START: 2022-03-14 17:46:45.599938 --------
[03/14 17:46:45] Open Instagram app with network check
[03/14 17:46:52] Instagram is not yet opened, waiting...
[03/14 17:47:07] Instagram is not yet opened, waiting...
[03/14 17:47:22] Instagram is not yet opened, waiting...
[03/14 17:47:37] Instagram is not yet opened, waiting...
[03/14 17:47:53] Instagram is not yet opened, waiting...

I looks like If I open the Instagram App manually, thats ok! but it don't open it automatic.

<!-- gh-comment-id:1067052706 --> @SithX commented on GitHub (Mar 14, 2022): Engine v3.8.1 Hi! Since of v3.1.0 all core features in this project are free to use. You may want to get more fine grained control over the bot via these features: - Filtering - skip unwanted accounts by various parameters - Scrapping - technique that makes interactions significantly safer and faster - Warmup - interact with your feed and Explore several minutes before session to behave more like a human - Working hours - the script will wait till specified hours before each session - Removing mass followers - automate "cleaning" your account Activate by supporting our small team: https://insomniac-bot.com/activate/ Using insomniac session-manager without extra-features Looking for ADB devices... Connected devices via adb: 1. That's ok. [03/14 17:46:31] Installing ADB Keyboard to enable typewriting... [03/14 17:46:45] Using uiautomator v2 [03/14 17:46:45] Instagram version: 195.0.0.31.123 [03/14 17:46:45] Executing "interact" action. [03/14 17:46:45] Successful interactions limit per source: 70 [03/14 17:46:45] Interactions limit per source: 140 [03/14 17:46:45] Total likes limit: 50 [03/14 17:46:45] Total interactions limit: 120 [03/14 17:46:45] Total successful-interactions limit: 58 [03/14 17:46:45] Total story-watches limit: 101 [03/14 17:46:45] Total comments limit: 50 [03/14 17:46:45] Total get-profile limit: 351 [03/14 17:46:45] Session max-length (minutes): 52 -------- START: 2022-03-14 17:46:45.599938 -------- [03/14 17:46:45] Open Instagram app with network check [03/14 17:46:52] Instagram is not yet opened, waiting... [03/14 17:47:07] Instagram is not yet opened, waiting... [03/14 17:47:22] Instagram is not yet opened, waiting... [03/14 17:47:37] Instagram is not yet opened, waiting... [03/14 17:47:53] Instagram is not yet opened, waiting... I looks like If I open the Instagram App manually, thats ok! but it don't open it automatic.
Author
Owner

@yurilimajr commented on GitHub (Mar 14, 2022):

Similar problem here:

Exception in thread Thread-8 (_readerthread):
Traceback (most recent call last):
File "C:\Users\Yuri\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner
self.run()
File "C:\Users\Yuri\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Yuri\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1494, in _readerthread
buffer.append(fh.read())
File "C:\Users\Yuri\AppData\Local\Programs\Python\Python310\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 8: invalid continuation byte
[03/14 20:21:20] Instagram is not yet opened, waiting...

<!-- gh-comment-id:1067396828 --> @yurilimajr commented on GitHub (Mar 14, 2022): Similar problem here: Exception in thread Thread-8 (_readerthread): Traceback (most recent call last): File "C:\Users\Yuri\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Users\Yuri\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "C:\Users\Yuri\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1494, in _readerthread buffer.append(fh.read()) File "C:\Users\Yuri\AppData\Local\Programs\Python\Python310\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 8: invalid continuation byte [03/14 20:21:20] Instagram is not yet opened, waiting...
Author
Owner

@alexal1 commented on GitHub (Mar 16, 2022):

As a quick fix you can download the repo and edit navigation.py file:
write return open_instagram(device_id, app_id)
on line 50 github.com/alexal1/Insomniac@7bb4c55731/insomniac/navigation.py (L50)

<!-- gh-comment-id:1069644014 --> @alexal1 commented on GitHub (Mar 16, 2022): As a quick fix you can download the repo and edit navigation.py file: write `return open_instagram(device_id, app_id)` on line 50 https://github.com/alexal1/Insomniac/blob/7bb4c55731afbd3bd7210b27189713ab3167d6d6/insomniac/navigation.py#L50
Author
Owner

@SithX commented on GitHub (Mar 16, 2022):

As a quick fix you can download the repo and edit navigation.py file: write return open_instagram(device_id, app_id) on line 50

github.com/alexal1/Insomniac@7bb4c55731/insomniac/navigation.py (L50)

Where is the folder? in raspberrypi?

<!-- gh-comment-id:1069753249 --> @SithX commented on GitHub (Mar 16, 2022): > As a quick fix you can download the repo and edit navigation.py file: write `return open_instagram(device_id, app_id)` on line 50 > > https://github.com/alexal1/Insomniac/blob/7bb4c55731afbd3bd7210b27189713ab3167d6d6/insomniac/navigation.py#L50 Where is the folder? in raspberrypi?
Author
Owner

@yurilimajr commented on GitHub (Mar 17, 2022):

Solved for me, thanks @alexal1

<!-- gh-comment-id:1071550949 --> @yurilimajr commented on GitHub (Mar 17, 2022): Solved for me, thanks @alexal1
Author
Owner

@SithX commented on GitHub (Mar 19, 2022):

I can't find the directory to modify the file in raspberrypi, can someone help me?

<!-- gh-comment-id:1073114598 --> @SithX commented on GitHub (Mar 19, 2022): I can't find the directory to modify the file in raspberrypi, can someone help me?
Author
Owner

@Booleboole commented on GitHub (Mar 24, 2022):

I can't find the directory to modify the file in raspberrypi, can someone help me?

file s in your home directory in a hidden directory

.local/lib/python3.7/site-packages/insomniac

then modify via nano or another editor

<!-- gh-comment-id:1077536886 --> @Booleboole commented on GitHub (Mar 24, 2022): > I can't find the directory to modify the file in raspberrypi, can someone help me? file s in your home directory in a hidden directory .local/lib/python3.7/site-packages/insomniac then modify via nano or another editor
Author
Owner

@alexal1 commented on GitHub (Apr 2, 2022):

Could you please help me investigate this?

What's the output of adb shell dumpsys activity | grep 'mResumedActivity' after instagram is opened?

<!-- gh-comment-id:1086620600 --> @alexal1 commented on GitHub (Apr 2, 2022): Could you please help me investigate this? What's the output of `adb shell dumpsys activity | grep 'mResumedActivity'` _after_ instagram is opened?
Author
Owner

@robium-max commented on GitHub (Apr 17, 2022):

I have a same issue.
For

Could you please help me investigate this?

What's the output of adb shell dumpsys activity | grep 'mResumedActivity' after instagram is opened?

I have the samme issu, when i run the bot :
Engine v3.8.2

Hi! Since of v3.1.0 all core features in this project are free to use.
You may want to get more fine grained control over the bot via these features:
- Filtering - skip unwanted accounts by various parameters
- Scrapping - technique that makes interactions significantly safer and faster
- Warmup - interact with your feed and Explore several minutes before session to behave more like a human
- Working hours - the script will wait till specified hours before each session
- Removing mass followers - automate "cleaning" your account
Activate by supporting our small team: https://insomniac-bot.com/activate/

Using insomniac session-manager without extra-features
[04/17 10:36:45] Checking your Internet speed to adjust the script speed, please wait for a minute...
[04/17 10:36:45] (use --no-speed-check to skip this check)
[04/17 10:37:07] Download speed 14.68 Mbit/s, upload speed 40.79 Mbit/s
[04/17 10:37:07] Sleep range will be from 1.00 to 3.00 seconds
Looking for ADB devices...
Connected devices via adb: 1. That's ok.
[04/17 10:37:07] Using uiautomator v2
[04/17 10:37:08] Instagram version: 195.0.0.31.123
[04/17 10:37:08] Sleep time (min) before repeat: 0.00
[04/17 10:37:08] Executing "interact" action.
[04/17 10:37:08] Successful interactions limit per source: 8
[04/17 10:37:08] Interactions limit per source: 12
[04/17 10:37:08] Total likes limit: 53
[04/17 10:37:08] Total interactions limit: 117
[04/17 10:37:08] Total successful-interactions limit: 50
[04/17 10:37:08] Total comments limit: 50
[04/17 10:37:08] Total get-profile limit: 392
[04/17 10:37:08] Session max-length (minutes): 59

------- START: 2022-04-17 10:37:08.379402 --------
[04/17 10:37:08] Open Instagram app with network check
[04/17 10:37:13] Instagram is not yet opened, waiting...
[04/17 10:37:29] Instagram is not yet opened, waiting...
[04/17 10:37:44] Instagram is not yet opened, waiting...
[04/17 10:37:59] Instagram is not yet opened, waiting...
[04/17 10:38:14] Instagram is not yet opened, waiting...
[04/17 10:38:29] Instagram is not yet opened, waiting...
[04/17 10:38:45] Instagram is not yet opened, waiting...
[04/17 10:39:00] Instagram is not yet opened, waiting...
[04/17 10:39:15] Instagram is not yet opened, waiting...
[04/17 10:39:30] Open Instagram app with network check
[04/17 10:39:30] Didn't work :(
[04/17 10:39:30] Open Instagram app
[04/17 10:39:32] Closing keyboard...
[04/17 10:39:32] The device keyboard is already closed.
[04/17 10:39:38] Sleep for 2.72 seconds
[04/17 10:39:41] Refreshing your profile status...
[04/17 10:39:42] Sleep for 2.60 seconds
[04/17 10:39:46] Hello, @.......

While on the phone screen, ADBkeyboard trying to open the Instagram and says "no internet connection" flashing between an orange and a white page (under ADBkeyboard) but when i open the Insta manually it's working fine also the browsers.

Here some pics about the issue:

https://ibb.co/JB2XXY7
https://ibb.co/PN43BFv

After a couple of trying it's connect back and work properly.

Does your keyboard need any network to work properly?

This is my error output after the BOT opened the Insta:
db shell dumpsys activity | grep 'mResumedActivity'
mResumedActivity: ActivityRecord{f0783f u0 com.alexal1.adbkeyboard/com.alexal1.starter.StarterActivity t769}

On the phone im running LineageOS.

<!-- gh-comment-id:1100926440 --> @robium-max commented on GitHub (Apr 17, 2022): I have a same issue. For > Could you please help me investigate this? > > What's the output of `adb shell dumpsys activity | grep 'mResumedActivity'` _after_ instagram is opened? I have the samme issu, when i run the bot : Engine v3.8.2 Hi! Since of v3.1.0 all core features in this project are free to use. You may want to get more fine grained control over the bot via these features: - Filtering - skip unwanted accounts by various parameters - Scrapping - technique that makes interactions significantly safer and faster - Warmup - interact with your feed and Explore several minutes before session to behave more like a human - Working hours - the script will wait till specified hours before each session - Removing mass followers - automate "cleaning" your account Activate by supporting our small team: https://insomniac-bot.com/activate/ Using insomniac session-manager without extra-features [04/17 10:36:45] Checking your Internet speed to adjust the script speed, please wait for a minute... [04/17 10:36:45] (use --no-speed-check to skip this check) [04/17 10:37:07] Download speed 14.68 Mbit/s, upload speed 40.79 Mbit/s [04/17 10:37:07] Sleep range will be from 1.00 to 3.00 seconds Looking for ADB devices... Connected devices via adb: 1. That's ok. [04/17 10:37:07] Using uiautomator v2 [04/17 10:37:08] Instagram version: 195.0.0.31.123 [04/17 10:37:08] Sleep time (min) before repeat: 0.00 [04/17 10:37:08] Executing "interact" action. [04/17 10:37:08] Successful interactions limit per source: 8 [04/17 10:37:08] Interactions limit per source: 12 [04/17 10:37:08] Total likes limit: 53 [04/17 10:37:08] Total interactions limit: 117 [04/17 10:37:08] Total successful-interactions limit: 50 [04/17 10:37:08] Total comments limit: 50 [04/17 10:37:08] Total get-profile limit: 392 [04/17 10:37:08] Session max-length (minutes): 59 ------- START: 2022-04-17 10:37:08.379402 -------- [04/17 10:37:08] Open Instagram app with network check [04/17 10:37:13] Instagram is not yet opened, waiting... [04/17 10:37:29] Instagram is not yet opened, waiting... [04/17 10:37:44] Instagram is not yet opened, waiting... [04/17 10:37:59] Instagram is not yet opened, waiting... [04/17 10:38:14] Instagram is not yet opened, waiting... [04/17 10:38:29] Instagram is not yet opened, waiting... [04/17 10:38:45] Instagram is not yet opened, waiting... [04/17 10:39:00] Instagram is not yet opened, waiting... [04/17 10:39:15] Instagram is not yet opened, waiting... [04/17 10:39:30] Open Instagram app with network check [04/17 10:39:30] Didn't work :( [04/17 10:39:30] Open Instagram app [04/17 10:39:32] Closing keyboard... [04/17 10:39:32] The device keyboard is already closed. [04/17 10:39:38] Sleep for 2.72 seconds [04/17 10:39:41] Refreshing your profile status... [04/17 10:39:42] Sleep for 2.60 seconds [04/17 10:39:46] Hello, @....... While on the phone screen, ADBkeyboard trying to open the Instagram and says "no internet connection" flashing between an orange and a white page (under ADBkeyboard) but when i open the Insta manually it's working fine also the browsers. Here some pics about the issue: https://ibb.co/JB2XXY7 https://ibb.co/PN43BFv After a couple of trying it's connect back and work properly. Does your keyboard need any network to work properly? This is my error output after the BOT opened the Insta: db shell dumpsys activity | grep 'mResumedActivity' mResumedActivity: ActivityRecord{f0783f u0 com.alexal1.adbkeyboard/com.alexal1.starter.StarterActivity t769} On the phone im running LineageOS.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#828
No description provided.