-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after deployed on heroku get error #2
Comments
I went through the log and see that you've included google chrome and webdriver in the app.json, however, in the parameters, you've mentioned I am adding another branch soon with chrome webdriver manager removed, while configuring the script to read the path from environment variables. |
Branch -> heroku-hosting-chrome added This branch is compatible with heroku hosting. This script will read the binary locations from environment variable. The script has been tested on heroku console. Environment variables and buildpacks were set from the Settings tab of the app on Heroku website. |
hello again shine , |
Hi @elmirarokni I also had faced login issues a couple of times. Instagram is known to do that when the login is detected from different/unknown locations. Having said that, I had tried your credentials mentioned above on my heroku hosted app and it's working fine. Would recommend you change the password too since it's on public domain.
|
2022-05-31T06:16:35.417465+00:00 app[worker.1]: why tell me this error : waiting for your response |
also get error on hashtag case below : python instalikecombot.py pmtoome SYfyPacx6DTg #انگیزشی -ps "follow : @bugbounted" -nc -np 10 -d 3 2022-05-31T06:20:29.707963+00:00 app[api]: Release v1 created by user pmtoome@proton.me |
Hi @elmirarokni , Regards, |
Hi @elmirarokni, The branch has been updated and tested. It was a tiny bug and it's now been fixed. Regards, |
A # sign is used to place a comment in Bash and PowerShell. Anything after a # is ignored. This is already mentioned in the README.
Regards, |
Hi Shine J,
I'm trying to deploy this project to heroku ,
after done with app.json schema as below :
{
"name": "insta-likecom-bot",
"description": "Automates likes and comments on an instagram account or tag",
"repository": "https://github.com/elmirarokni/insta-likecom-bot",
"buildpacks": [
{
"url": "heroku/python"
},
{
"url": "https://github.com/heroku/heroku-buildpack-chromedriver"
},
{
"url": "https://github.com/heroku/heroku-buildpack-google-chrome"
}
],
"env": {
"CHROMEDRIVER_PATH": {
"description": "DON'T CHANGE 'Chromedriver path' DON'T CHANGE",
"value": "/app/.chromedriver/bin/chromedriver",
"required": true
},
"GOOGLE_CHROME_BIN": {
"description": "DON'T CHANGE 'Google Chrome path' DON'T CHANGE",
"value": "/app/.apt/usr/bin/google-chrome",
"required": true
}
}
}
my dyno runtime error log is :
2022-05-30T10:37:01.754636+00:00 app[api]: Initial release by user elmirarokni@gmail.com
2022-05-30T10:37:02.302430+00:00 app[api]: Release v2 created by user elmirarokni@gmail.com
2022-05-30T10:37:02.302430+00:00 app[api]: Set CHROMEDRIVER_PATH, GOOGLE_CHROME_BIN config vars by user elmirarokni@gmail.com
2022-05-30T10:37:02.937647+00:00 app[api]: Release v3 created by user elmirarokni@gmail.com
2022-05-30T10:37:02.937647+00:00 app[api]: Enable Logplex by user elmirarokni@gmail.com
2022-05-30T10:37:03.000000+00:00 app[api]: Build started by user elmirarokni@gmail.com
2022-05-30T10:38:25.303891+00:00 app[api]: Deploy by user elmirarokni@gmail.com
2022-05-30T10:38:25.303891+00:00 app[api]: Release v4 created by user elmirarokni@gmail.com
2022-05-30T10:38:40.000000+00:00 app[api]: Build succeeded
2022-05-30T10:38:52.194243+00:00 app[api]: Scaled to worker@1:Free by user elmirarokni@gmail.com
2022-05-30T10:39:02.219480+00:00 heroku[worker.1]: Starting process with command
python instalikecombot.py postperpet UPryZD3SVizGF9x manotoofficial -br firefox -ps "test" -c mycomments.txt
2022-05-30T10:39:02.832430+00:00 heroku[worker.1]: State changed from starting to up
2022-05-30T10:39:03.195401+00:00 app[worker.1]:
2022-05-30T10:39:03.195417+00:00 app[worker.1]: ___ _ _ ___ _____ _ _ ___ _ _____ ___ ___ __ __ ___ ___ _____
2022-05-30T10:39:03.195417+00:00 app[worker.1]: |_ | | / | /\ | | | | |/ | / / _ | / || _ )/ _ | |
2022-05-30T10:39:03.195417+00:00 app[worker.1]: | || .` _ \ | |/ _ || | | || ' <| | (| () | |/| || _ | () || |
2022-05-30T10:39:03.195417+00:00 app[worker.1]: |||_|/ |// _\ ||||_|__/|| || |/_/ |_|
2022-05-30T10:39:03.195418+00:00 app[worker.1]:
2022-05-30T10:39:03.195418+00:00 app[worker.1]: insta-likecom-bot v.1.4
2022-05-30T10:39:03.195419+00:00 app[worker.1]: Automates likes and comments on an instagram account or tag
2022-05-30T10:39:03.195419+00:00 app[worker.1]:
2022-05-30T10:39:03.195419+00:00 app[worker.1]: Author: Shine Jayakumar
2022-05-30T10:39:03.195419+00:00 app[worker.1]: Github: https://github.com/shine-jayakumar
2022-05-30T10:39:03.195420+00:00 app[worker.1]:
2022-05-30T10:39:03.195431+00:00 app[worker.1]:
2022-05-30T10:39:03.195511+00:00 app[worker.1]: [] => Script started
2022-05-30T10:39:03.195621+00:00 app[worker.1]: [] => Loaded comments from mycomments.txt
2022-05-30T10:39:03.195666+00:00 app[worker.1]: [] => Downloading webdriver for your version of Firefox
2022-05-30T10:39:03.195705+00:00 app[worker.1]: [] => Initializing instagram user
2022-05-30T10:39:04.425421+00:00 app[worker.1]: [*] => Script ended with error : Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
2022-05-30T10:39:04.425441+00:00 app[worker.1]:
2022-05-30T10:39:04.426431+00:00 app[worker.1]: Traceback (most recent call last):
2022-05-30T10:39:04.426434+00:00 app[worker.1]: File "/app/instalikecombot.py", line 211, in
2022-05-30T10:39:04.426639+00:00 app[worker.1]: insta.quit()
2022-05-30T10:39:04.426677+00:00 app[worker.1]: NameError: name 'insta' is not defined. Did you mean: 'Insta'?
2022-05-30T10:39:04.561341+00:00 heroku[worker.1]: Process exited with status 1
2022-05-30T10:39:05.008277+00:00 heroku[worker.1]: State changed from up to crashed
please make changes on code to work fine with heroku buildpacks :
https://github.com/heroku/heroku-buildpack-chromedriver
https://github.com/heroku/heroku-buildpack-google-chrome
waiting for your response
finest regards
The text was updated successfully, but these errors were encountered: