Hey guys,
Quick question, so I have email alerts set-up and working, but only for a few emails. When I open it up to a larger number of symbols, I get a pop-up stating "454 4.7.0 Too many login attempts, please try again later"
I set up the alerts as outlined to use with gmail, SMTP port 465. The "test" email works fine, no error message, and when I use it on 1 stock it works fine too.
Is there a setting I need at Gmail to accept more logins?
Thanks so much for any advice you may have!
1 Like
fxshrat
December 14, 2020, 3:20pm
2
Krazycanuck:
Gmail
Since it is about Google... Google is your (evil) friend:
https://www.google.com/search?client=opera&q="454+4.7.0+Too+many+login+attempts%2C+please+try+again+later"
Example:
https://stackoverflow.com/questions/27367327/gmail-too-many-login-attempts
opened 12:26AM - 18 Feb 17 UTC
closed 02:18PM - 30 Jun 22 UTC
HAd anybody already faced this issue ?
I have configured a gmail email for send… ing alerts.
This account has 2 step login activated with and app password.
Everything is great, it can sends some mails, and then it blocks...
The log says:
```
javax.mail.AuthenticationFailedException: 454 4.7.0 Too many login attempts, please try again later. e2sm3058939uae.6 - gsmtp
```
this only way to have it working again is to deactivate the emails by removing the smtp server adress for 24h, and then again when I reactivate it the same thing happens, some mails are send, and after about 80 mails send, the same error appears....
So I checked some threads and there are 2 ideas, first being carful to close the smtp session because gmail only allows a limited number of openned SMTP session and the second is that maybe traccar is signing into and using the SMTP server belonging to this account at over-frequent intervals, in which case it would be better to send all the pending mails with the same SMTP session instead of creatin one for each email...
Does it make sense ?
Or should I look somewhere else ?
Thanks !
etc.
Thanks. I was hoping someone had encountered this issue and found a solution before I went down the rabbit hole of other forums... oh well.
fxshrat
December 14, 2020, 4:06pm
4
Krazycanuck:
found a solution before
Gmail is part of Google not of AmiBroker.
Message/response is coming from Google not from AmiBroker.
Two solutions/responses posted up there already found within seconds.
So have you gone to the post of second link mentioned up there?
On the below page, make sure "Access for less secure apps" is set to Enabled. Sending SMTP through non-Google applications requires this.
https://www.google.com/settings/security
Also, make sure you have SSL enabled in your application.
If that does not resolve it then it may be mail limit stepping in as the other mentioned post tells you.
Oh well...Sometimes I wonder how you guys (want to) survive financial markets... the sea of sharks (no cute rabbits there (surviving)).
1 Like
Tomasz
December 14, 2020, 4:07pm
5
If Google server responds with error 454, you can not do ANYTHING.
They are protecting their servers against abuse.
The only way is NOT to connect that often (send emails LESS often).
1 Like
Thanks for the comments and advice!
system
Closed
March 24, 2021, 4:17pm
7
This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.