Code Monkey home page Code Monkey logo

Comments (25)

donhui avatar donhui commented on May 30, 2024

update-center.json 文件中
"connectionCheckUrl":"http://www.google.com/"
google 可以换成 baidu

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

see also jenkins-infra/update-center2#245

from jenkins-zh.

donhui avatar donhui commented on May 30, 2024

我理解的这个证书是 https 域名需要的,如果用 http 的话,就不需要证书了
还有如果 jenkins-zh.cn 本身就有证书的话,应该可以用它的证书的吧

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

from jenkins-zh.

donhui avatar donhui commented on May 30, 2024

我自己搭建了 nginx ,生成的 update-center.json,不用什么证书也可以用的,下载了 Blue Ocean 插件试了下,速度很快~

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

是通过修改 Jenkins 的更新中心地址来做的吗?update-center.json是怎么来的?

from jenkins-zh.

donhui avatar donhui commented on May 30, 2024

是通过修改 Jenkins 的更新中心地址来做的,update-center.json 从清华镜像下载的,然后替换了下载地址,刚看了下,虽然功能没问题,但是页面有个警告
image

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

那如何确定插件就是从清华的站点下载的呢?

from jenkins-zh.

donhui avatar donhui commented on May 30, 2024

貌似不确定从哪里下载的,我也挂了代理的 😅
这个目前也没日志,得再看看

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

已经搞定了,还差一篇推广的文章。

from jenkins-zh.

Z0T0 avatar Z0T0 commented on May 30, 2024

你这个国内源,对JDK 有什么要求?

检查更新中心: Signature verification failed in update site 'default' (显示详情)

java.security.cert.CertPathValidatorException: Algorithm constraints check failed on keysize limits. RSA 1024bit key used with certificate: EMAILADDRESS=[email protected], CN=demo.com, OU=dev, O=vihoo, L=SZ, ST=GD, C=CN.
at sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraint.permits(DisabledAlgorithmConstraints.java:817)

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

@Z0T0 感谢提供反馈,我们是在 java8 的环境下做的测试
麻烦给一些您的环境信息:

  • Jenkins 版本号
  • 运行 Jenkins 的 JRE 版本号
  • Jenkins 的安装方式

from jenkins-zh.

Z0T0 avatar Z0T0 commented on May 30, 2024

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

@Z0T0 请问 Java 的版本号是多少呢?

from jenkins-zh.

Z0T0 avatar Z0T0 commented on May 30, 2024

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

from jenkins-zh.

Z0T0 avatar Z0T0 commented on May 30, 2024

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

Java 用的是OpenJDK 11
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)

@Z0T0 不对吧,到底是用的java11还是8呢?

from jenkins-zh.

Z0T0 avatar Z0T0 commented on May 30, 2024

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

@Z0T0 没有明确的复现步骤,是无法复现问题的。

from jenkins-zh.

yJunS avatar yJunS commented on May 30, 2024

我在 openjdk 11 环境测试是没有问题的, 我的 jdk 版本如下:

openjdk version "11.0.1-redhat" 2018-10-16 LTS
OpenJDK Runtime Environment (build 11.0.1-redhat+13-LTS)
OpenJDK 64-Bit Server VM (build 11.0.1-redhat+13-LTS, mixed mode)

@Z0T0 个人感觉@Z0T0 没有使用建议用的 update center url,可以发一下你使用的 update center url吗?

from jenkins-zh.

yJunS avatar yJunS commented on May 30, 2024

今天有一个童鞋也有相同的问题,重新初始化 Jenkins 之后,看到 Jenkins 是离线的,感觉本地网络环境和服务端之间的通信有一定问题。

from jenkins-zh.

xusiwei avatar xusiwei commented on May 30, 2024

update-center.json 文件中
"connectionCheckUrl":"http://www.google.com/"
google 可以换成 baidu

这里的 google.com 用来check网络连接,国内很多时候访问不了 http://www.google.com/
导致拉取不了更新列表,有点坑。。。。。。

from jenkins-zh.

LinuxSuRen avatar LinuxSuRen commented on May 30, 2024

@xusiwei 可以关注下这个项目 https://github.com/jenkins-zh/update-center-mirror

from jenkins-zh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.