<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Mike any chance you can get on irc on freenode in channel #openshift
    right now. I am there and I can try to get an ops person to help us
    diagnose<br>
    <br>
    Thanks<br>
    Steve<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 07/23/2015 08:14 AM, Mike Hills
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFfNJaVo9rZZ6vMRCHBhZKSGgwNJkqF2L1xzNuyr0o42xkfXTQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">No on all accounts... I performed all of the steps
        and none of them allowed me to access keycloak.
        <div><br>
        </div>
        <div>My keycloak server.log file</div>
        <div><br>
        </div>
        <div>
          <p class="p1">2015-07-23 11:11:04,640 INFO 
            [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory]
            (ServerService Thread Pool -- 73) HHH000397: Using
            ASTQueryTranslatorFactory</p>
          <p class="p1">2015-07-23 11:11:04,891 INFO 
            [org.hibernate.validator.internal.util.Version]
            (ServerService Thread Pool -- 73) HV000001: Hibernate
            Validator 5.1.3.Final</p>
          <p class="p1">2015-07-23 11:11:13,582 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Deploying javax.ws.rs.core.Application:
            class org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,585 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Adding class resource
            org.keycloak.services.resources.ThemeResource from
            Application class
            org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,585 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Adding class resource
            org.keycloak.services.resources.JsResource from Application
            class org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,585 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Adding class resource
            org.keycloak.services.resources.WelcomeResource from
            Application class
            org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,585 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Adding class resource
            org.keycloak.services.resources.QRCodeResource from
            Application class
            org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,586 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Adding provider class
            org.keycloak.SkeletonKeyContextResolver from Application
            class org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,586 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Adding singleton resource
            org.keycloak.services.resources.ServerVersionResource from
            Application class
            org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,586 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Adding singleton resource
            org.keycloak.services.resources.admin.AdminRoot from
            Application class
            org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,587 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Adding provider singleton
            org.keycloak.services.resources.ModelExceptionMapper from
            Application class
            org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,587 INFO 
            [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService
            Thread Pool -- 73) Adding singleton resource
            org.keycloak.services.resources.RealmsResource from
            Application class
            org.keycloak.services.resources.KeycloakApplication</p>
          <p class="p1">2015-07-23 11:11:13,856 INFO 
            [org.wildfly.extension.undertow] (ServerService Thread Pool
            -- 73) WFLYUT0021: Registered web context: /auth</p>
          <p class="p1">2015-07-23 11:11:14,069 INFO 
            [org.jboss.as.server] (ServerService Thread Pool -- 67)
            WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name :
            "keycloak-server.war")</p>
          <p class="p1">2015-07-23 11:11:15,141 INFO  [<a
              moz-do-not-send="true" href="http://org.jboss.as">org.jboss.as</a>]
            (Controller Boot Thread) WFLYSRV0060: Http management
            interface listening on <a moz-do-not-send="true"
              href="http://127.3.17.129:9990/management">http://127.3.17.129:9990/management</a></p>
          <p class="p1">2015-07-23 11:11:15,142 INFO  [<a
              moz-do-not-send="true" href="http://org.jboss.as">org.jboss.as</a>]
            (Controller Boot Thread) WFLYSRV0051: Admin console
            listening on <a moz-do-not-send="true"
              href="http://127.3.17.129:9990">http://127.3.17.129:9990</a></p>
          <p class="p1">2015-07-23 11:11:15,143 INFO  [<a
              moz-do-not-send="true" href="http://org.jboss.as">org.jboss.as</a>]
            (Controller Boot Thread) WFLYSRV0025: WildFly Full 9.0.0.CR2
            (WildFly Core 1.0.0.CR6) started in 58758ms - Started 334 of
            553 services (271 services are lazy, passive or on-demand)</p>
          <p class="p2"><br>
          </p>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jul 23, 2015 at 11:05 AM,
          Steven Pousty <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:spousty@redhat.com" target="_blank">spousty@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Does the keycloak
              cartridge hardwire ips when it is "installed" into a gear?
              Are these scalable applications, as in, were they created
              with<i> rhc app create .... -s</i><br>
              <br>
              What happens if you restart the gear<br>
              <br>
              <i>rhc app restart -a mykeycloakapp</i><br>
              <br>
              if that doesn't fix it then try<br>
              <br>
              <i>rhc app force-stop -a mykeycloakapp</i><i><br>
              </i><i>rhc app start -a mykeycloakapp</i><br>
              <br>
              This could help narrow down the problem. Because it either
              of those work it is something about return from idling
              that is not getting properly set with the routing layer. <br>
              <div>
                <div class="h5"> <br>
                  <div>On 07/23/2015 04:15 AM, Mike Hills wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">It's good to know I am not alone :) 
                      <div><br>
                      </div>
                      <div>I consistently receive this error on both the
                        1.2 and 1.3 versions of Keycloak running on
                        OPENSHIFT ONLINE.</div>
                      <div><br>
                      </div>
                      <div>OPENSHIFT support had me validate that I
                        could access my keycloak instance at <a
                          moz-do-not-send="true"
                          href="http://localhost:8080/auth"
                          style="font-size:12.8000001907349px"
                          target="_blank"><a class="moz-txt-link-freetext" href="http://localhost:8080/auth">http://localhost:8080/auth</a></a> after

                        executing: <span
                          style="font-size:12.8000001907349px"> </span><span
                          style="font-size:12.8000001907349px"><b>rhc
                            port-forward keycloak.</b> (which  I could).
                          I have not had a follow-up support since I
                          confirmed this.</span></div>
                      <div><span style="font-size:12.8000001907349px"><br>
                        </span></div>
                      <div><a moz-do-not-send="true"
                          href="https://access.redhat.com/support/cases/#/case/01479959"
                          rel="noreferrer"
                          style="font-size:12.8000001907349px"
                          target="_blank">https://access.<span>redhat</span>.com/<span>support</span>/cases/#/case/01479959</a><span
                          style="font-size:12.8000001907349px"><br>
                        </span></div>
                      <div><br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Thu, Jul 23, 2015 at
                        6:59 AM, Stian Thorgersen <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:stian@redhat.com"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:stian@redhat.com">stian@redhat.com</a></a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">Just got the same
                          issue on my instance. Seems that after the
                          instance is idled it returns this 502 even
                          after the instance is restarted (confirmed in
                          the log that it's up and running).<br>
                          <br>
                          ----- Original Message -----<br>
                          &gt; From: "Ioan Eugen Stan" &lt;<a
                            moz-do-not-send="true"
                            href="mailto:stan.ieugen@gmail.com"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:stan.ieugen@gmail.com">stan.ieugen@gmail.com</a></a>&gt;<br>
                          &gt; To: "Stian Thorgersen" &lt;<a
                            moz-do-not-send="true"
                            href="mailto:stian@redhat.com"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:stian@redhat.com">stian@redhat.com</a></a>&gt;<br>
                          &gt; Cc: "keycloak-user" &lt;<a
                            moz-do-not-send="true"
                            href="mailto:keycloak-user@lists.jboss.org"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a></a>&gt;<br>
                          &gt; Sent: Thursday, 23 July, 2015 12:45:56 PM<br>
                          &gt; Subject: Re: [keycloak-user] Keycloak
                          OpenShift Cartridge updated to 1.3.1.Final<br>
                          &gt;<br>
                          &gt; Thank you for the response. However, I
                          think it's another beast altogether:<br>
                          &gt;<br>
                          &gt;<br>
                          &gt; <a moz-do-not-send="true"
                            href="https://keycloak-ieugen.rhcloud.com/auth/admin/"
                            rel="noreferrer" target="_blank">https://keycloak-ieugen.rhcloud.com/auth/admin/</a><br>
                          &gt;<br>
                          &gt; Proxy Error<br>
                          &gt;<br>
                          &gt; The proxy server received an invalid
                          response from an upstream server.<br>
                          &gt; The proxy server could not handle the
                          request GET /auth/admin/.<br>
                          &gt;<br>
                          &gt; Reason: DNS lookup failure for:
                          127.0.0.1:80auth<br>
                          &gt;<br>
                          &gt;<br>
_______________________________________________<br>
                          keycloak-user mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:keycloak-user@lists.jboss.org"
                            target="_blank">keycloak-user@lists.jboss.org</a><br>
                          <a moz-do-not-send="true"
                            href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
                            rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
                        </blockquote>
                      </div>
                      <br>
                      <br clear="all">
                      <div><br>
                      </div>
                      -- <br>
                      <div>Michael J. Hills<br>
                        Sr. CRM Architect<br>
                        <br>
                        Mobile: <a moz-do-not-send="true"
                          href="tel:603.475.5093" value="+16034755093"
                          target="_blank">603.475.5093</a><br>
                        Email  : <a moz-do-not-send="true"
                          href="mailto:mike.hills@sematree.com"
                          target="_blank">mike.hills@sematree.com</a><br>
                        Skype : mhills_sematree<br>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
keycloak-user mailing list
<a moz-do-not-send="true" href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">Michael J. Hills<br>
          Sr. CRM Architect<br>
          <br>
          Mobile: 603.475.5093<br>
          Email  : <a moz-do-not-send="true"
            href="mailto:mike.hills@sematree.com" target="_blank">mike.hills@sematree.com</a><br>
          Skype : mhills_sematree<br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>