MCMicS / jenkins-control-plugin

Jenkins integration in IDEA Platforms
https://plugins.jetbrains.com/plugin/6110-jenkins-control-plugin
Apache License 2.0
250 stars 125 forks source link

org.codinjutsu.tools.jenkins.security.AuthenticationException: Not found #72

Open ghost opened 10 years ago

ghost commented 10 years ago

Hi,

After a first inital setup, I can't get the plugin to work any more. The views are shown, but no jobs and the refresh icon is grayed out. I changed the login and crumb-data for the existing server (that worked before) and now I'm getting:

Not found: Not found
org.codinjutsu.tools.jenkins.security.AuthenticationException: Not found
    at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.checkResponse(DefaultSecurityClient.java:148)
    at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.runMethod(DefaultSecurityClient.java:126)
    at org.codinjutsu.tools.jenkins.security.DefaultSecurityClient.execute(DefaultSecurityClient.java:68)
    at org.codinjutsu.tools.jenkins.logic.RequestManager.loadJenkinsView(RequestManager.java:106)
    at org.codinjutsu.tools.jenkins.view.BrowserPanel.loadJobs(BrowserPanel.java:412)
    at org.codinjutsu.tools.jenkins.view.BrowserPanel.access$400(BrowserPanel.java:67)
    at org.codinjutsu.tools.jenkins.view.BrowserPanel$LoadSelectedViewJob.run(BrowserPanel.java:511)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
    at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:373)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:420)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    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:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:695)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:150)

Even uninstalling the plugin, removing the preferences and resetting the master password (credentials were stored on disk) does not help.

Thx in advance.

dboissier commented 10 years ago

Hi,

Did you remove the file .idea/jenkinsSettings.xml and <jenkinsSettings> entry from the IWS file of your project ?

Regards,

David

ghost commented 10 years ago

Thanks for your help and suggestions. I totally forgot about the .idea/jenkinsSettings.xml but I got no Idea where to find the <jenkinsSettings> entry because I can't find a IWS file. Where should it be located? I got none under .idea/ in my project directories. I did a grep for jenkinsSettings with no results.

After removing the plugin, the jenkinsSettings.xml and resetting the Master password I entered the settings for my jenkinsServer again. Connection test was successfull but still leaving me with the error posted above.

dboissier commented 10 years ago

Hi,

I am sorry. I misspelled the tag and my answer was incorrect.

Actually, you have two settings:

I hope these could help you to solve your issue and understand how jenkins plugin settings are stored in IntelliJ.