Streetmerchant: Can not get gmail to work, thus breaking notifications

Created on 23 Sep 2020  路  23Comments  路  Source: jef/streetmerchant

Description

Hello,

I apologize because I am not very code-savvy.

I am entering my gmail password and email correctly, but Google keeps blocking the bot from having access to my email. I approved the log-in, but it still does not work correctly.

I keep getting the following error when testing:

[5:40:35 PM] error :: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials 17sm950114oth.70 - gsmtp
[5:40:35 PM] error :: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials w12sm8423824oow.22 - gsmtp

I do not have MAP turned on.

Any advice would be great.

Possible solution

All 23 comments

Are you using 2FA on your gmail account?

Are you using 2FA on your gmail account?

Nope.

Are you positive your email and password are right?

EMAIL_USERNAME="[email protected]"
EMAIL_PASSWORD="mypassword"

Both of them are in quotes? This functionality works, so it's on your end.

Are you positive your email and password are right?

EMAIL_USERNAME="[email protected]"
EMAIL_PASSWORD="mypassword"

Both of them are in quotes? This functionality works, so it's on your end.

Extremely positive.

Are you positive your email and password are right?

EMAIL_USERNAME="[email protected]"
EMAIL_PASSWORD="mypassword"

Both of them are in quotes? This functionality works, so it's on your end.

Believe me, I wouldn't be posting if it was that simple. I am just at a loss. Like I said, Google was blocking it, but once I whitelisted it, nothing happened still.

Try making a throwaway Gmail. The problem isn't within the Gmail function. If Google blocked it at some point I would check to make sure it's not automatically blocking attempts or something.

Try making a throwaway Gmail. The problem isn't within the Gmail function. If Google blocked it at some point I would check to make sure it's not automatically blocking attempts or something.

Tried that too.

Try making a throwaway Gmail. The problem isn't within the Gmail function. If Google blocked it at some point I would check to make sure it's not automatically blocking attempts or something.

Clearly there is something I am missing at some point, but I have whitelisted it both on my main and throwaway account. Still nothing.

Definitely something on your end then.

Whats your OS and can you take a screenshot of your directory with all the files in it?

Definitely something on your end then.

Whats your OS and can you take a screenshot of your directory with all the files in it?

Windows 10 Pro - Version 1903

GitHub

Here is this as well, just to prove I am not going crazy... I think...

Capture

Sorry, just one more:

Capture 2

Can you paste your .env minus your private information

Can you paste your .env minus your private information

#DISCORD_NOTIFY_GROUP="@here"
#DISCORD_WEB_HOOK="https://discordapp.com/api/webhooks/23123123123/5dfsdfh3h2j5hdfhsdfsdhj55jf"
EMAIL_USERNAME="[email protected]"
EMAIL_PASSWORD="XXXXXXXXXXXXXX"
HEADLESS="true"
IN_STOCK_WAIT_TIME="30"
LOG_LEVEL="info"
OPEN_BROWSER="true"
PAGE_TIMEOUT="30000"
PHONE_NUMBER="1XXXXXXXXXX"
PHONE_CARRIER="verizon"
#PLAY_SOUND="false.mp3"
#PUSHOVER_TOKEN="123pushover-token456"
#PUSHOVER_USER="123pushover-user-key"
PAGE_SLEEP_MIN="5000"
PAGE_SLEEP_MAX="10000"
SHOW_ONLY_BRANDS="evga"
SHOW_ONLY_SERIES="3080"
#SLACK_CHANNEL="SlackChannelName"
#SLACK_TOKEN="slack-token"
STORES="amazon,bestbuy,bandh,nvidia,evga,microcenter,newegg"
COUNTRY="usa"
SCREENSHOT="true"
#TELEGRAM_ACCESS_TOKEN=""
#TELEGRAM_CHAT_ID="1234"
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0"

The only other thing I can think of is that I have 2 PiHoles running off of my Unraid server. But that wouldn't have anything to do with it, would it?

I think PiHole is inbound isn't it? You could try using the PiHole admin page to disable temporarily and see if that resolves it

I mean you're not lacking the information here... I also don't know if commenting works in .env files. Could be very wrong. Shouldn't have to do anything with it though.

As for the PiHole, that's out of my scope. I wouldn't imagine it being a problem though.

I was having the same problem until I found the actual setting to allow less secure apps. Try this:

https://www.google.com/settings/security/lesssecureapps

I was having the same problem until I found the actual setting to allow less secure apps. Try this:

https://www.google.com/settings/security/lesssecureapps

BOOM! Nailed it. You the man!

Solved!

I was having the same problem until I found the actual setting to allow less secure apps. Try this:

https://www.google.com/settings/security/lesssecureapps

Thanks, I had same problem and this fixed it.

Do not set your account to less secure. Use the app password.

Do not set your account to less secure. Use the app password.

But I can't do that as I'm not using 2FA in the first place? Also my GMAIL is basically a dump, I don't use it and this is the only thing I'm currently using it for. Once I've got a GPU I'll put it back to more secure. I CBA to set up 2factor for gmail then to get an app password.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

poly-mathic picture poly-mathic  路  5Comments

fabillopr picture fabillopr  路  3Comments

RealityMyx picture RealityMyx  路  3Comments

AlphaOmega2020 picture AlphaOmega2020  路  4Comments

kylezoa picture kylezoa  路  3Comments