tomcat 方式启动jenkins时,报:This Jenkins instance appears to be offline and offers options to "Configure Proxy" or "Skip Plugin Installation"

网上有个帖子:

In my case, it has something to do with SSL. I manage to fix it by editing `/var/lib/jenkins/hudson.model.UpdateCenter.xml` and change url to use `http` instead of `https`.

Restart jenkins and reload the website, it no longer shows offline.

[root@server-test jenkins]# find / -name "hudson.model.UpdateCenter.xml"
/work/data/jenkins/hudson.model.UpdateCenter.xml

 

<?xml version='1.0' encoding='UTF-8'?>
<sites><site><id>default</id><url>https://updates.jenkins.io/update-center.json</url></site>
</sites>

在jenkins服务器 直接 wget https://updates.jenkins.io/update-center.json

[root@server-test jenkins]# wget https://updates.jenkins.io/update-center.json
--2017-09-19 12:35:45--  https://updates.jenkins.io/update-center.json
Resolving updates.jenkins.io... 52.202.51.185
Connecting to updates.jenkins.io|52.202.51.185|:443... connected.
ERROR: certificate common name “pkg.jenkins.io” doesn’t match requested host name “updates.jenkins.io”.
To connect to updates.jenkins.io insecurely, use ‘--no-check-certificate’.

wget http://updates.jenkins.io/update-center.json

[root@server-test jenkins]# wget http://updates.jenkins.io/update-center.json
--2017-09-19 12:36:30--  http://updates.jenkins.io/update-center.json
Resolving updates.jenkins.io... 52.202.51.185
Connecting to updates.jenkins.io|52.202.51.185|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://updates.jenkins.io/current/update-center.json [following]
--2017-09-19 12:36:30--  http://updates.jenkins.io/current/update-center.json
Reusing existing connection to updates.jenkins.io:80.
HTTP request sent, awaiting response... 302 Found
Location: http://mirrors.jenkins-ci.org/updates/current/update-center.json [following]
--2017-09-19 12:36:31--  http://mirrors.jenkins-ci.org/updates/current/update-center.json
Resolving mirrors.jenkins-ci.org... 52.202.51.185
Reusing existing connection to updates.jenkins.io:80.
HTTP request sent, awaiting response... 302 Found
Location: http://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/current/update-center.json [following]
--2017-09-19 12:36:31--  http://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/current/update-center.json
Resolving mirrors.tuna.tsinghua.edu.cn... 101.6.6.178, 2402:f000:1:416:101:6:6:177
Connecting to mirrors.tuna.tsinghua.edu.cn|101.6.6.178|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1229441 (1.2M) [application/json]
Saving to: “update-center.json”100%[=====================================================================================================================================================>] 1,229,441   2.43M/s   in 0.5s    2017-09-19 12:36:32 (2.43 MB/s) - “update-center.json” saved [1229441/1229441]

  确实是因为https的问题,把它修改成http,重启jenkins就OK了

 

转载于:https://www.cnblogs.com/wujuan321/p/7551232.html

This Jenkins instance appears to be offline相关推荐

  1. elastic:Another Kibana instance appears to be migrating the index

    背景: k8s集群上部署EFK之后,kibana 访问一直有问题 浏览器访问 查看kibana日志 最后一句报错至为关键 {"type":"log"," ...

  2. 【ElasticSearch】Kibana启动报错: Another Kibana instance appears to be migrating the index.....

    Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. I ...

  3. kibana 报错:Another Kibana instance appears to be migrating the index

    删除es原来的kibana索引 curl -XDELETE http://ip:9200/.kibana* 重新启动 问题解决

  4. jenkins实战系列

    Jenkins 是一个可扩展的持续集成引擎. 主要用于: 持续.自动地构建/测试软件项目. 监控一些定时执行的任务. Jenkins拥有的特性包括: 易于安装-只要把jenkins.war部署到ser ...

  5. 使用JDBC连接SQL Server 2000 命名实例(Named Instance)

    最近比较闲,就爱摆弄一些玩意,前时间对ruby on rails比较感兴趣,就想继续看看,但是系统坏了好几次,前段时间配好的eclipse+rdt+sqlserver的环境也就得重新diy了:     ...

  6. Jenkins邮件配置,实现邮件发送策略(可实现每个Job对应不同的发送邮箱)

    前言: 首先,要有一个用来发送的邮箱,首选网易!参考:http://www.cnblogs.com/EasonJim/p/6051636.html,这里我注册了网易的免费企业邮箱. 并且我新建没多个邮 ...

  7. Jenkins 中如何一次构建多个项目

    jenkins实用插件1-Active Choices Plugin 如果用Jenkins中的 pipeline 的话, 这个可以用jenkins pipline语法帮忙生成, 1. 同时 build ...

  8. Jenkins Mac本地环境搭建

    一.安装 进入 Jenkins官网,选择下载war,或者mac可以使用命令 brew install jenkins 任一选择一个版本 二.启动Jenkins服务 默认8080端口很大概率被占用,所以 ...

  9. Oralce数据库ASM存储管理-存储IO故障,disk未及时offline分析,故障分析模板

    背景说明: 1.Oracle12.2RAC+ASM Normal Redendancy 模式,数据库存储采用双存储冗余架构,规避单存储故障导致服务中断及数据丢失: 2. ASM DiskGroup 设 ...

最新文章

  1. 上传图片配置控制大小_esp32-cam拍照上传云平台,http协议传输
  2. java的Serialization 机制
  3. linux-``反引号
  4. 第三章 PLSQL Developer 安装前oracleclient客户端的配置,在用plsql 连接oracle服务器
  5. 字节流转化为文件流_JAVA IO分析一:File类、字节流、字符流、字节字符转换流...
  6. 盘一盘常见的6种索引失效情况
  7. 蓝桥杯 ALGO-83 算法训练 阶乘 java版
  8. 转基因粮食的毒性,首先是因为农药
  9. Hilbert变换及相关特征值
  10. idou老师教你学Istio 29:Envoy启动流程
  11. java生成base64条形码
  12. K8s实战一:基本概念与命令二
  13. 谷粒学院day9关于章节小节修改后无法添加的bug记录
  14. 为自己的APP搭建个简易后台
  15. Python运维开发入门到精通学习 Day3
  16. 重装window系统总结
  17. 12.17-Linux系统定制
  18. 04 带宽管理的队列规定
  19. ASP.NET MVC4 PRG模式
  20. python小说文本挖掘_Python小说文本挖掘正则表达式分析案例

热门文章

  1. 直立车各环的调试_平衡小车调试指南(直立环 速度环)
  2. 造轮子是什么意思_精炼:我造轮子的秘诀
  3. MFC工程 : view.h 包含错误, 提示 undeclared identifier 等错误
  4. vc++ 将可执行文件链接到 DLL
  5. React,Redux,React-redux的错综复杂关系
  6. Linux内存管理 (2)页表的映射过程
  7. make: *** [ext/fileinfo/libmagic/apprentice.lo] Er
  8. JavaScript函数的各种调用模式
  9. 安卓 内存泄漏检测工具 LeakCanary 使用
  10. 单路塔式服务器选购指南 2月最新行情