Error starting PBEM game...
-
This is the code from the console regarding the most recent errors, thank you for your help!
Jan 20, 2019 6:47:32 PM games.strategy.engine.framework.startup.ui.editors.EmailSenderEditor lambda$testEmail$4
SEVERE: Unable to send email, check SMTP server credentials: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 25, response: 421
java.io.IOException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 25, response: 421
at games.strategy.engine.pbem.GenericEmailSender.sendEmail(GenericEmailSender.java:196)
at games.strategy.engine.framework.startup.ui.editors.EmailSenderEditor.lambda$testEmail$4(EmailSenderEditor.java:167)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 25, response: 421
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2197)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:740)
at javax.mail.Service.connect(Service.java:366)
at games.strategy.engine.pbem.GenericEmailSender.sendEmail(GenericEmailSender.java:188)
... 2 more -
@RoiEX Could be a TLS proxy causing issues, as we've seen in the past. Although I would have expected that to cause the dice server test to fail, as well.
According to this SO answer, several people reported Avast prevented TLS-enabled JavaMail from working. Temporarily disabling A/V while running the email test may be a good thing to try.
-
@ssoloff I probably shouldn't say anything but i will anyway
is 32 and 64 conflicting ?
\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
-
@LevHunter said in Error starting PBEM game...:
@RoiEX
...
SEVERE: Unable to send email, check SMTP server credentials: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 25, response: 421
java.io.IOException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 25, response: 421
at games.strategy.engine.pbem.GenericEmailSender.sendEmail(GenericEmailSender.java:196)
at games.strategy.engine.framework.startup.ui.editors.EmailSenderEditor.lambda$testEmail$4(EmailSenderEditor.java:167)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 25, response: 421AFAIK gmail needs port 587 for SMTP/TLS.
-
@Panther True, but that should be the default setting already, so I wanted to try out the other ports to be sure.
-
@ssoloff I temporarily disabled avast to no avail. :confused_face:
-
@Panther This worked! I simply checked the box saying "Enable encryption" and that did it.
-
However, now I am running into a problem where I cannot select the "start" button.. :grinning_face_with_sweat:
-
@LevHunter Then you probably forgot to fill out something (like the dice server or the subject etc.)
-
@beelee said:
is 32 and 64 conflicting ?
Good eye, but probably not. In this case, it appears a bundled JRE is being used (see the value of the
java.homeproperty), so it doesn't matter what other JREs the user has installed on the system--the TripleA launcher will always use that bundled JRE. (As has been observed by others, this tends to be a Bad Thing, and is being discussed in https://github.com/triplea-game/triplea/issues/4358. -
@RoiEX Yep, found that out almost immediately after sending that. I thought I deleted that second reply, but all is working now. Thank you all for your help.
-
I Recently had the same frustrating error using a GMAIL account to Play by email (PBEM) after having not played for a few years.
I found my problem was rooter in Gmail changing how they managing 3rd party software accessing their product, previously you could enable a "low" security option that permitted 3rd party access. At some point Google has changed this to requiring app specific 16 character passwords that google generates for you; these can only be used if you enable 2-way log in authentication. Once done you can set up your 16-character custom code and use GMAIL for TripleA.
Here are the steps to follow:
1 - Enable 2-step authentication on you Gmail account. This can be accessed in your Gmail security section.
2 - Once enabled search, log into you google account settings and search for "App passwords", this opens up the Apps passwords section of your account security section.
3 - Click "select App" button, from here and then select "Other custom name". Type in the app name (I just used TripleA), then click the "Generate button". A 16 character code will be generated, "Copy" this code.
4 - Back in the TripleA PBEM start page use the copies 16 character code as password for your associated email login.
Hope this works for you.
All the Best.
The Apprentice.,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login