I inherited a jenkins docker instance that was setup using the jenkinsci/blueocean docker image. We are looking to upgrade as its running an older version of alpine linux(3.15). I backed up the data directory, removed the container, pulled the new jenkins/jenkins image, and start the container using the same docker run command that we use for the blueocean image. The container starts up, and everything works, jobs are there, users exist, plugins are listed. The one thing that I can not figure out is that Jenkins can not connect to our github repository. The error:
Failed to connect to repository : Command “git ls-remote -h – https://github.mycompany.com/github_repo HEAD” returned status code 128:
stderr: fatal: unable to access ‘https://github.mycompany.com/github_repo/’: Failed to connect to x.x.x.x port 83 after 0 ms: Couldn’t connect to server
Weird thing is that it can get updates via the proxy. If I shut down this container, and boot up the old blueocean image, everything works and I can connect to Github without issue.
I have also deleted the entire Jenkins data directory and started from scratch, installing plugins one at a time, but when I copy the jobs over, I get the same enable to access github error.