[keycloak-dev] RequiredActionEmailVerificationTest failures
Marko Strukelj
mstrukel at redhat.com
Thu Oct 12 04:52:55 EDT 2017
This sounds very familiar to the issue I had some time ago, that was only
failing for me on macOS.
See: https://issues.jboss.org/browse/KEYCLOAK-4278
and https://github.com/keycloak/keycloak/pull/3944#issuecomment-297535534
On Thu, Oct 12, 2017 at 10:33 AM, Hynek Mlnarik <hmlnarik at redhat.com> wrote:
> 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
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
More information about the keycloak-dev
mailing list