0
respostas

[Dúvida] Jenkins reportando erro de conexão ao instalar plugins

Consegui subir o Jenkins via Vagrant. Todos os scripts funcionaram, porém. ao acessar o Jenkins via navagador, inserir a senha que fica em /var/lib/jenkins/secrets/initialAdminPassword e iniciar a instalação dos plugins, ele fica reportando "Falha de conexão" e fica na tela de iniciando o Jenkins

vagrant@ubuntu-bionic:~$ sudo systemctl status jenkins.service 
● jenkins.service - Jenkins Continuous Integration Server
   Loaded: loaded (/lib/systemd/system/jenkins.service; enabled; vendor preset: enabled)
   Active: activating (start) since Fri 2022-09-23 21:18:44 UTC; 1min 10s ago
 Main PID: 31827 (java)
    Tasks: 50 (limit: 2361)
   CGroup: /system.slice/jenkins.service
           └─31827 /usr/bin/java -Djava.awt.headless=true -jar /usr/share/java/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080

Sep 23 21:19:22 ubuntu-bionic jenkins[31827]: WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
Sep 23 21:19:22 ubuntu-bionic jenkins[31827]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Sep 23 21:19:22 ubuntu-bionic jenkins[31827]: WARNING: All illegal access operations will be denied in a future release
Sep 23 21:19:22 ubuntu-bionic jenkins[31827]: 2022-09-23 21:19:22.577+0000 [id=32]        INFO        jenkins.install.SetupWizard#init:

e o resultado do Journal:

vagrant@ubuntu-bionic:~$ sudo journalctl -xe
Sep 23 21:20:22 ubuntu-bionic jenkins[32221]: 2022-09-23 21:20:22.239+0000 [id=1]        INFO        winstone.Logger#logInternal: Beginning extraction 
Sep 23 21:20:22 ubuntu-bionic jenkins[32221]: 2022-09-23 21:20:22.321+0000 [id=1]        WARNING        o.e.j.s.handler.ContextHandler#setContextPath: 
Sep 23 21:20:22 ubuntu-bionic jenkins[32221]: 2022-09-23 21:20:22.434+0000 [id=1]        INFO        org.eclipse.jetty.server.Server#doStart: jetty-10.
S
Sep 23 21:20:40 ubuntu-bionic jenkins[32221]: 2022-09-23 21:20:40.505+0000 [id=31]        INFO        jenkins.InitReactorRunner$1#onAttained: System co
Sep 23 21:20:40 ubuntu-bionic jenkins[32221]: 2022-09-23 21:20:40.506+0000 [id=31]        INFO        jenkins.InitReactorRunner$1#onAttained: System co
Sep 23 21:20:40 ubuntu-bionic jenkins[32221]: 2022-09-23 21:20:40.507+0000 [id=31]        INFO        jenkins.InitReactorRunner$1#onAttained: Loaded al
Sep 23 21:20:40 ubuntu-bionic jenkins[32221]: 2022-09-23 21:20:40.509+0000 [id=29]        INFO        jenkins.InitReactorRunner$1#onAttained: Configura
Sep 23 21:20:41 ubuntu-bionic jenkins[32221]: WARNING: An illegal reflective access operation has occurred
Sep 23 21:20:41 ubuntu-bionic jenkins[32221]: WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/var/cache/jenkins/wa
Sep 23 21:20:41 ubuntu-bionic jenkins[32221]: WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
Sep 23 21:20:41 ubuntu-bionic jenkins[32221]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Sep 23 21:20:41 ubuntu-bionic jenkins[32221]: WARNING: All illegal access operations will be denied in a future release

Alguém sabe o que pode estar ocorrendo e como posso resolver ?