Установка плагинов Jenkins завершается с ошибкой 403 - PullRequest
0 голосов
/ 03 октября 2019

Примечание: Я мог видеть тот же вопрос, который задавался в прошлом, но ответы не могли помочь мне решить эту проблему, поэтому я спрашиваю здесь еще раз, если люди недавно столкнулись с этим и решили.

Iустановил Jenkins 2.121.2 с помощью jenkins.msi в Windows 10 и изменил его порт на 9999 с 8080 из-за конфликта. И попытался установить плагины, но это не удалось с ошибкой -

java.io.IOException: Server returned HTTP response code: 403 for URL: http://mirror.serverion.com/jenkins/plugins/handlebars/1.1.1/handlebars.hpi
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at java.net.URLConnection.getHeaderFieldLong(Unknown Source)
at java.net.URLConnection.getContentLengthLong(Unknown Source)
at java.net.URLConnection.getContentLength(Unknown Source)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1126)
Caused: java.io.IOException: Server returned HTTP response code: 403 for URL: http://mirror.serverion.com/jenkins/plugins/handlebars/1.1.1/handlebars.hpi
    at sun.reflect.GeneratedConstructorAccessor61.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1139)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/handlebars/1.1.1/handlebars.hpi to C:\Program Files (x86)\Jenkins\plugins\handlebars.jpi.tmp
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1146)
Caused: hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/handlebars/1.1.1/handlebars.hpi (redirected to: http://mirror.serverion.com/jenkins/plugins/handlebars/1.1.1/handlebars.hpi)
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1172)
    at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1677)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1874)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)
    at java.lang.Thread.run(Unknown Source)

Может кто-нибудь, пожалуйста, помогите понять, что может быть здесь не так и с решением?

...