Jenkins Offline problem in Windows Solved!

Topic is about how I solved Jenkins Offline problem on Windows.

I Installed Jenkins for Windows and faced with problem “Offline This Jenkins instance appears to be offline.” As shown above.

When I tried Configure Proxy, I got error Failed to connect to http://yahoo.com/. (P.S you may use different URL 🙂 )



There might be 2 main reason for occurance of this problem:

  • Application not properly running
  • Your corporate proxy only allows NTLMv2 request but not NTLM

In order to solve problem I opened Windows Services (Start > Run > services.msc), stopped Jenkins manually as below:

Try to find your Java location, for example in my OS it is located on C:\Program Files\Java\jre1.8.0_141\bin\java.exe, then open cmd, go to the Jenkins Folder (C:\Program Files (x86)\Jenkins) and run below command

“C:\Program Files\Java\jre1.8.0_141\bin\java.exe” -jar jenkins.war

If Firewall Window appears and requires access,  click Allow access

Wait few seconds, till the message appears INFO: Jenkins is fully up and running

After this process try again to login Jenkins with browser and check if problem solved or not.

If problem still exist and you are in corporate proxy most probably your proxy server support only NTLMv2, but not NTLM. But I solved this problem by creating proxy server on my own machine, with the following way,:

Install Cntlm

Go to Cntlm folder (C:\Program Files (x86)\Cntlm), open cntlm.ini file

Change second proxy address (Proxy 10.0.0.42:8080) with your corporate proxy address and port.

Change below information according to your credentials:

Username testuser
Domain corp-uk
Password password

For example, mine is :

Save your changes in file.Then go to the folder C:\Windows\System32, find cmd.exe, right click on cmd.exe and select Run As Administrator (otherwise it’ll return error Access is Denied)

Give command:

C:\Windows\System32\net.exe start cntlm

If Proxy service was started successfully, it means you created your own proxy server, you can type 127.0.0.1 port 3128 where required proxy, let’s see it in Jenkins.

As you see, proxy server is 127.0.0.1 and port is 3128, Click to Validete Proxy and wait if it succeed.

It is worked for me!

Please comment your result if it’s worked for you 🙂

 

 

Join the Conversation

9 Comments

  1. Haѵing read this I thought it was rather informаtive.
    I appreciɑte yoս spending some time and energy to put this
    article together. I once again fіnd myself personally spеnding a significant amount of time b᧐th reading and
    posting comments. But so what, it was stilⅼ worth it!

  2. Can a Computer System Think About a Remedy Without Its Memory?

    computer system
    You may ask yourself if a computer system can think of the response to a
    concern. Here are several of the functions of a computer and also its components Memory is just one of these.
    A computer can not think of a solution to a problem unless it recognizes what it
    desires. This short article will certainly aid you recognize
    what enters into making a computer and its memory.

    You may also would like to know what parts of a computer make up a hard
    drive.

    Computer system components.
    Computers include many different elements,
    which with each other are called the computer’s ” equipment.” While the elements each serve a specific function, they also serve
    to enhance each other, so the whole system needs to
    work as a natural system to operate at its
    ideal. This overview will give you an review of hardware
    and also aid you pick the ideal elements for your system.
    To begin, let’s specify computer elements. Here’s a quick summary
    of each one.

    Functions of a computer
    What does a computer do? The computer’s standard functions are input, storage,
    and also outcome. It additionally has components
    for input and result, such as a disk drive.
    A computer system can execute all of these features,
    or any kind of mix of them. Flash memory card, hard drives,
    as well as various other mobile storage devices are common instances.
    The computer system’s processor does these features, in addition to
    other vital functions. It can likewise be attached to a number of output
    devices, including a printer and speakers.

    Parts of a computer system
    A computer system is comprised of many different parts,
    including the motherboard, CPU, RAM, graphics
    card, as well as extra. Each element has a specific function as well as operates
    in conjunction with others to complete the computer’s architectural
    design. Without one of these important parts, the computer can not
    do its features. The parts of a computer system are split into 2 types: interior
    and exterior. For internal components, you can click the links below.

    Elements that make up a computer’s memory
    There are lots of parts that compose a
    computer system’s memory. Computer systems are developed
    to keep directions and data in memory. They are typically
    based upon an incorporated circuit (IC) which contains a
    series of elements. An IC is a miniaturized collection of electronic parts
    constructed from silicon, that includes memory chips. A USB memory
    stick contains a memory chip that gives one gigabyte of NAND
    blink memory. As with human memory, computers discover
    as well as bear in mind points differently than we do.
    Nonetheless, semantic networks are made use of to program
    computers to discover and keep in mind particular things.

    Components that make up a computer’s os
    The operating system is a huge system that is divided into different parts
    that work together to do a variety of functions. There are 8 elements in an os:
    memory, data system, input/output device,
    process memory, and application software. Each of these elements plays an essential
    duty in computer system procedure. Along with
    taking care of computer sources, the os likewise establishes
    the interface and also implements applications software.

Leave a comment

Leave a Reply to Lei Cancel reply

Your email address will not be published.