Comments (4)
Sometimes this issue throw randomly on my container too when I start it . What I do is that I set my docker container restart policies to "on failure" and i set max-retry to 10 so that when it throws this error it immediately restarts and the error is gone and the bot doesn't fail after that.
from instauto.
To avoid this error I suggest that you create a docker volume and put the cookies.json,+ (all the data .json files) into a separate folder that you bind with that volume. The cookies.json validity last 1 year I think but it's better to login with cookies than username and password because it's faster.
from instauto.
Thanks. I tried the Restart Policy without luck.
I've created a volume now. To which path do I mount it? And how would I obtain the cookies.json and the rest of the .json files? I have never had a successful run in Docker.
Can I use the equivalent from SimpleInstaBot? Those files I can reach and have successful runs with.
from instauto.
I've created a volume now. To which path do I mount it?
I would recommend creating a managed volume because its easier.
You could create a ./data folder at the root of your project.
But you need to specify in your code to write the json files inside that folder.
Then with this data folder you can mount it like this in docker-compose.yml
version: '3'
services:
myinstabot:
volumes:
- instabot:/app/data/
volumes:
instabot:
from instauto.
Related Issues (20)
- Instauto opens chromium Browser on Raspberry Pi but stops there HOT 1
- Navigation timeout of 30000 ms exceeded HOT 1
- Failed to get user data from page HOT 4
- List user post (enhancement)
- "Failed to save database" HOT 5
- Cant load follower info / cant unfollow users HOT 1
- Cookies takes an error TOO_MANY_REQUEST HOT 1
- Stuck on 4/5] Linking dependencies... HOT 1
- Issue of stuck loading screen is back. HOT 2
- Error: User not found HOT 1
- Will not Follow/Unfollow unless the headless chrome is in-focus (active) HOT 2
- "your-ig-username" PROBLEM LOGGIN HOT 1
- shouldLikeMedia options HOT 1
- unable to start HOT 1
- Follow button not found HOT 2
- Failed to process follower {user_name} ProtocolError: Runtime.callFunctionOn timed out.
- Failed to process follower {{username}} Error: User not found HOT 1
- Error: No node found for selector: input[name="username"] HOT 4
- No Support - Find a better bot solution
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instauto.