[SOLVED] Error: This Jenkins instance appears to be offline – 1 simple solution!

You are currently viewing [SOLVED] Error: This Jenkins instance appears to be offline – 1 simple solution!
Photo by Annie Spratt on Unsplash
Share This Post, Help Others, And Earn My Heartfelt Appreciation! :)
4.8
(1399)

Problem

During the installation of Jenkins, we may receive an error [ This Jenkins instance appears to be offline ] saying that our Jenkins do not have internet access. The problem may be due to the fact that we have problems with the SSL certificate, and by default Jenkins connects after https, when, for example, wants to download plugins for installation.

Solution

To solve the above problem, just change the protocol from HTTPS to HTTP in the file hudson.model.UpdateCenter.xml and reconstruct Jenkins.

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

If you enjoyed this post please add the comment below and share this post on your Facebook, Twitter, LinkedIn or another social media webpage.
Thanks in advanced!

How useful was this post?

Click on a star to rate it!

Average rating 4.8 / 5. Vote count: 1399

No votes so far! Be the first to rate this post.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments