java.io.IOException: Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144520/mercurial.hpi is not allowed

Jenkins JIRA | frohman | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I am trying to update a Hudson installation to 1.330 from whatever version was current as of mid-August. While Hudson will start up fine after deploying the new hudson.war, I am unable to update any plugins using the Update Manager. When I try, they all end in error. Here is an excerpt from catalina.log: Oct 28, 2009 2:14:58 PM hudson.model.UpdateCenter$DownloadJob run INFO: Starting the installation of Mercurial Plugin on behalf of bshows Oct 28, 2009 2:14:58 PM hudson.model.UpdateCenter$DownloadJob run SEVERE: Failed to install Mercurial Plugin java.io.IOException: Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144520/mercurial.hpi is not allowed at hudson.model.UpdateCenter$UpdateCenterConfiguration.preValidate(UpdateCenter.java:583) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:846) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:951) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:832) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 7 years ago | frohman
    java.io.IOException: Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144520/mercurial.hpi is not allowed
  2. 0

    According changelog update center should use hidson-ci.org, but it still use dev.java.net and updates don't work: * Checking internet connectivity * Checking java.net connectivity * Success Mercurial Plugin Failure java.io.IOException: Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144520/mercurial.hpi is not allowed at hudson.model.UpdateCenter$UpdateCenterConfiguration.preValidate(UpdateCenter.java:583) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:846) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:951) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:832) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) hudson-wsclean-plugin Failure java.io.IOException: Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144091/hudson-wsclean-plugin.hpi is not allowed at hudson.model.UpdateCenter$UpdateCenterConfiguration.preValidate(UpdateCenter.java:583) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:846) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:951) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:832) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Release Plugin Failure java.io.IOException: Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144168/release.hpi is not allowed at hudson.model.UpdateCenter$UpdateCenterConfiguration.preValidate(UpdateCenter.java:583) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:846) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:951) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:832) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) cmakebuilder Plugin Failure java.io.IOException: Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144547/cmakebuilder.hpi is not allowed at hudson.model.UpdateCenter$UpdateCenterConfiguration.preValidate(UpdateCenter.java:583) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:846) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:951) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:832) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) SSH Slaves plugin Failure java.io.IOException: Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144521/ssh-slaves.hpi is not allowed at hudson.model.UpdateCenter$UpdateCenterConfiguration.preValidate(UpdateCenter.java:583) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:846) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:951) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:832) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Page generated: Oct 26, 2009 2:13:29 PM Hudson ver. 1.330 BTW, bottom-right link (Hudson ver. 1.330) points to http://hudson.dev.java.net/ too

    Jenkins JIRA | 7 years ago | isanych
    java.io.IOException: Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144520/mercurial.hpi is not allowed
  3. 0

    Auto-update fails for Jenkins 1.415

    Google Groups | 6 years ago | Henk van Voorthuijsen
    java.io.IOException: Inconsistent file length: expected 38718715 but only got 38642421
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to upgrade when installed as Windows Service (automatic upgrade fails)

    Google Groups | 6 years ago | Carl Pritchett
    java.io.IOException: Installation of plugin from http://updates.hudson-labs.org/download/war/1.386/hudson.war is not allowed
  6. 0

    Tomcat Configuration for Jenkins Plugin - 403 error

    Stack Overflow | 3 years ago | pcb
    java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/xunit/1.84/xunit.hpi

  1. davidvanlaatum 14 times, last 6 months ago
22 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Installation of plugin from https://hudson.dev.java.net/files/documents/2402/144520/mercurial.hpi is not allowed

    at hudson.model.UpdateCenter$UpdateCenterConfiguration.preValidate()
  2. Hudson
    UpdateCenter$DownloadJob.run
    1. hudson.model.UpdateCenter$UpdateCenterConfiguration.preValidate(UpdateCenter.java:583)
    2. hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:846)
    3. hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:951)
    4. hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:832)
    4 frames
  3. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    6. java.lang.Thread.run(Thread.java:619)
    6 frames