BLUEOCEAN_FEATURE_JWT_AUTHENTICATION feature flag is experimental and not
ready for prime use yet. Having said that, it shouldn't cause hang. Please
open a JIRA ticket.


On Fri, Aug 10, 2018 at 2:07 PM <jackhartt...@gmail.com> wrote:

> Hi folks,
>
> I'm running the jenkinsci/blueocean docker container on docker for mac.
> Out of the box I'm able to create pipelines and run them, but I tried to
> turn on JWT security and after doing that the blue ocean UI won't load.  I
> get the blue progress bar going about 9/10ths of the way done but it just
> stays there and never completes.
>
> I tried to use this docker run command to turn on JWT security:
>
> docker run -u root --rm  --name jenkins-blueocean -d  -p 8080:8080 -p
> 50000:50000 -v jenkins-data:/var/jenkins_home -v
> /var/run/docker.sock:/var/run/docker.sock --env
> JAVA_OPTS=-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true jenkinsci/blueocean
>
> If I stop the container (docker container stop jenkins-blueocean) and run
> the docker image without the -DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true
> flag, then my server comes up and behaves normally.
>
> If I flip back to the -DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true flag as
> shown in the docker run command above I get this situation every time, and
> I'm unable to access the UI.
>
> The command I'm using to launch the container without JWT security is
> almost identical to the above, it simply lacks the construct to pass the -D
> flag like this:
>
> docker run -u root --rm  --name jenkins-blueocean -d  -p 8080:8080 -p
> 50000:50000 -v jenkins-data:/var/jenkins_home -v
> /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
>
> When launched like this without the -D flag for JWT all's well.  Am I
> doing something wrong?
>
> Should I enter a jira ticket for this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/0ed7a7c9-71f4-40a6-8bca-393026de4ed7%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/0ed7a7c9-71f4-40a6-8bca-393026de4ed7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAKT4V18HCmLBL9_87i6oXM2gnhpku%2Bi7-m14Ex9u_6R-xNFpaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to