This Jenkins instance appears to be offline
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了
This Jenkins instance appears to be offline的更多相关文章
- Jenkins - Linux下启动Jenkins报错hudson.WebAppMain#contextDestroyed: Shutting down a Jenkins instance that was still starting up
报错截图 在Linux下直接运行jenkins.war报错,导致启动失败 报错原因 运行端口已被其他进程占用 解决方法 换个启动端口就可以啦!
- Jenkins简明入门(一) -- 安装
如今Jenkins官网的Guide里使用了Docker,网上很多Jenkins入门教程都已过时了,所以写这一篇入门教程. 官网的Guide Link是:https://jenkins.io/doc/p ...
- iOS自动化探索(八)Mac上的Jenkins安装
安装Jenkins 首先检查是否有Jenkins依赖的java环境 java -version 出现java version "1.8.xx"说明已经安装了java Jackeys ...
- Java接口自动化测试实战笔记
综述 代码管理工具Git 测试框架 TestNG 测试报告 Mock 接口框架 HTTP 协议接口 测试框架 HttpClient SprintBoot 自动化测试开发 数据持久层框架 MyBatis ...
- Jenkins Docker 插件
原文地址:https://wiki.jenkins.io/display/JENKINS/Docker+Plugin Created by magnayn -, last modified by Ni ...
- How to use groovy script on jenkins
1. Install groovy plugin 2. Add a step of groovy. (normal & systerm) 3. Execute groovy script im ...
- Jenkins邮件配置,实现邮件发送策略(可实现每个Job对应不同的发送邮箱)
前言: 首先,要有一个用来发送的邮箱,首选网易!参考:http://www.cnblogs.com/EasonJim/p/6051636.html,这里我注册了网易的免费企业邮箱. 并且我新建没多个邮 ...
- Jenkins 2.26 发布,可扩展的持续集成引擎
Jenkins 2.26 发布了.Jenkins 主要用于持续.自动地构建/测试软件项目,如CruiseControl与DamageControl,监控一些定时执行的任务.更新内容: Allow Co ...
- Jenkins: 使用groovy + job-dsl 创建并触发job
Jenkins: 使用groovy + job-dsl 创建并触发job 背景: 我们的 Automation 测试脚本需要在10个不同语言的机器上跑,本地化测试产品. 我们用Jenkins启动测试执 ...
随机推荐
- RabbitMQ 简单的消息发送与接收
RabbitMQ是建立在AMQP(Advanced Message Queuing Protocol,高级消息队列协议)基础上的,而AMQP是建立在TCP协议之上的. 因此,RabbitMQ是需要建立 ...
- iOS 设置不同环境下的配置 Debug Release 生产 测试 等等
其实这个问题大家都知道,但是一般都是清楚一些皮毛的东西,只能进行一些简单的应用.在这里详细说一下模式切换的使用. Xcode给我们自带了两种编译模式Release 和 Debug,通常情况下我们可以利 ...
- UNICODE_STRING(用户模式 内核模式)
UNICODE_STRING结构: typedef struct _UNICODE_STRING { USHORT Length; ...
- nw.js的localStorage的物理储存位置
前言 因为在做美团外卖商家端的nw.js壳子项目,需要保证在壳子里面使用localStorage的数据可以持久化保存. 发现nw可以保存,即使删除应用重写打包也可以保存,所以解决了这个需求,但是还是需 ...
- matlab中hold on 和hold off功能的区别
hold off 使但当前轴及图形不具备被刷新的性质 hold on和hold off是相对使用的 前者为,你在当前轴(坐标系)中画了一幅图,再画另一幅是,原来的图还在,与新图共存,都看得到: 后者表 ...
- <Maven><Dependency><Conflict><Could not resolve>
maven conflict solution: scenerio: Runtime Error: ``` java.lang.SecurityException: class "javax ...
- python学习 day01 基础介绍
一.编程的目的 1.什么是语言?编程语言又为何? 语言是一种事物与另外一种事物沟通的介质.编程语言是程序员和计算机沟通的介质. 2.什么是编程? 程序员把自己想要计算机做的事用编程语言表达出来,编程的 ...
- 用户访一个APP或者网页流程示意图
用户访问示意图:
- Delphi 10.3.1拍照遇到的问题
procedure TAddOrderCamera.CameraActionExecute(Sender: TObject); var Service: IFMXCameraService; Para ...
- GB2312汉字编码字符集对照表
第01区 +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F A1A0 . . ・ ˉ ˇ ¨ " 々 ― - | - ' ' A1B0 &quo ...