TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Error starting PBEM game...

    Scheduled Pinned Locked Moved Player Help
    18 Posts 6 Posters 4.4k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      LevHunter @RoiEX
      last edited by LevHunter

      @RoiEX

      Received this error. I also tried gmail with the less secure app option and received an error as well.

      TripleA Error 2.PNG

      1 Reply Last reply Reply Quote 0
      • RoiEXR Offline
        RoiEX Admin
        last edited by

        Hmm still nothing obvious (for me at least).
        Maybe @redrum @ssoloff or @LaFayette have an idea.
        In the meantime: If you get the error dialog with the "Show Details" button, press it and post the console output here.
        The more information we have, the more likely it is we will be able to resolve your issue, but for now I have run out of ideas. I'll try to think of something.

        You can also give PbF a chance if you want. It'll work almost identical, with the difference that instead of sending each other an email, you send each other a forum post (which you can subscribe to, so you get an email notification as well).
        If you have any questions, this forum has most of the answers ^^

        L ssoloffS 2 Replies Last reply Reply Quote 1
        • L Offline
          LevHunter @RoiEX
          last edited by

          @RoiEX

          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

          1 Reply Last reply Reply Quote 0
          • ssoloffS Offline
            ssoloff Admin @RoiEX
            last edited by

            @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.

            B L 2 Replies Last reply Reply Quote 1
            • B Offline
              beelee @ssoloff
              last edited by

              @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

              ssoloffS 1 Reply Last reply Reply Quote 0
              • PantherP Offline
                Panther Admin Moderators
                last edited by Panther

                @RoiEX

                @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: 421

                AFAIK gmail needs port 587 for SMTP/TLS.

                Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                L 1 Reply Last reply Reply Quote 1
                • RoiEXR Offline
                  RoiEX Admin
                  last edited by

                  @Panther True, but that should be the default setting already, so I wanted to try out the other ports to be sure.

                  1 Reply Last reply Reply Quote 1
                  • L Offline
                    LevHunter @ssoloff
                    last edited by

                    @ssoloff I temporarily disabled avast to no avail. :confused_face:

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      LevHunter @Panther
                      last edited by

                      @Panther This worked! I simply checked the box saying "Enable encryption" and that did it.

                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        LevHunter
                        last edited by

                        However, now I am running into a problem where I cannot select the "start" button.. :grinning_face_with_sweat:

                        1 Reply Last reply Reply Quote 0
                        • RoiEXR Offline
                          RoiEX Admin
                          last edited by

                          @LevHunter Then you probably forgot to fill out something (like the dice server or the subject etc.)

                          L 1 Reply Last reply Reply Quote 0
                          • ssoloffS Offline
                            ssoloff Admin @beelee
                            last edited by

                            @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.home property), 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.

                            1 Reply Last reply Reply Quote 2
                            • L Offline
                              LevHunter @RoiEX
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 1
                              • A Offline
                                Apprentice @LevHunter
                                last edited by

                                @LevHunter

                                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.,

                                1 Reply Last reply Reply Quote 3

                                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
                                • 1 / 1
                                • First post
                                  Last post
                                Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums