[keycloak-dev] RequiredActionEmailVerificationTest failures

Hynek Mlnarik hmlnarik at redhat.com
Thu Oct 12 04:33:10 EDT 2017


GreenMail seems to start, otherwise it would be "java.net.ConnectException:
Connection refused" rather than "response: -1". This error seems to come
out of SMTP client. Can you set up logging of JavaMail in by adding
            session.setDebug(true);
to DefaultEmailSenderProvider, that might give some hint on what's wrong.

[1] https://javaee.github.io/javamail/FAQ#debug

On Thu, Oct 12, 2017 at 12:03 AM, Bill Burke <bburke at redhat.com> wrote:

> Caused by: javax.mail.MessagingException: Could not connect to SMTP
> host: localhost, port: 3025, response: -1
>
> On Wed, Oct 11, 2017 at 5:59 PM, Bill Burke <bburke at redhat.com> wrote:
> > Its really weird...I put a sleep at the beginning of the test.  I can
> > telnet to Greenmail (localhost 3025) and Greenmail will respond with
> > error message if I type random stuff in.  But I get connection errors
> > on test.  Doesn't make sense.
> >
> > On Wed, Oct 11, 2017 at 5:42 PM, Bill Burke <bburke at redhat.com> wrote:
> >> Seems any test using GreenMail fails for me.  I tried changing
> >> host/port and everything.  I'll put in a sleep and see if that helps.
> >>
> >> On Wed, Oct 11, 2017 at 4:19 PM, Hynek Mlnarik <hmlnarik at redhat.com>
> wrote:
> >>> Just checked, the RequiredActionEmailVerificationTest works for me,
> all
> >>> tests passed. Is it possible that GreenMail does not start fast
> enough? Do
> >>> all tests fail or only few of them at the beginning?
> >>>
> >>> --Hynek
> >>>
> >>> On Wed, Oct 11, 2017 at 9:09 PM, Bill Burke <bburke at redhat.com> wrote:
> >>>>
> >>>> I'm getting connection errors to GreenMail...Don't get it...I can
> >>>> telnet to the host/port
> >>>>
> >>>> On Wed, Oct 11, 2017 at 2:55 PM, Bill Burke <bburke at redhat.com>
> wrote:
> >>>> > I still can't figure out why my build isn't running.  I cloned fresh
> >>>> > from master and RequiredActionEmailVerificationTest is failing (I
> >>>> > think) when sending any email.  I get read timeout errors on login
> >>>> > submit, but no other errors.
> >>>> >
> >>>> > Anybody else seeing failures in RequiredActionEmailVerificatio
> nTests?
> >>>> >
> >>>> > --
> >>>> > Bill Burke
> >>>> > Red Hat
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Bill Burke
> >>>> Red Hat
> >>>> _______________________________________________
> >>>> keycloak-dev mailing list
> >>>> keycloak-dev at lists.jboss.org
> >>>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>>
> >>> --Hynek
> >>
> >>
> >>
> >> --
> >> Bill Burke
> >> Red Hat
> >
> >
> >
> > --
> > Bill Burke
> > Red Hat
>
>
>
> --
> Bill Burke
> Red Hat
>



-- 

--Hynek


More information about the keycloak-dev mailing list