卫生-吉拉收集器错误| 401错误

时间:2018-11-22 15:39:53

标签: spring-boot jira-rest-api hygieia

我收到此错误运行我的Jira功能收集器时,我已验证我的凭据正确,并且未使用电子邮件地址, 我正在使用用户名:密码。

问题是它并没有立即给我401错误,它运行了一段时间,成功获取了一些成功推送到db的记录,过了一段时间,它将给我这个错误。

这让我很烦。我尝试了所有可能的方法,但无法解决此问题。

请在下面找到我得到的堆栈跟踪。

  

                                                                                                                  

未经授权(401)

                                                                                                                   

加载此页面时遇到"401 - Unauthorized"错误。

                              

Go to Jira home

                                                          

     在

  com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47)   〜[jira-rest-java-client-core-3.0.0.jar:na]在   com.capitalone.dashboard.client.DefaultJiraClient.getIssues(DefaultJiraClient.java:108)   〜[classes /:na]在   com.capitalone.dashboard.client.story.StoryDataClientImpl.updateStoryInformation(StoryDataClientImpl.java:178)   [classes /:na]位于   com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:169)   [classes /:na]位于   com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:1)   [classes /:na]位于   com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63)   [classes /:na]位于   org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)   [spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]在   org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)   [spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]在   java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)   [na:1.8.0_162]在   java.util.concurrent.FutureTask.run(FutureTask.java:266)   [na:1.8.0_162]在   java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 201(ScheduledThreadPoolExecutor.java:180)   [na:1.8.0_162]在   java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)   [na:1.8.0_162]在   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)   [na:1.8.0_162]在   java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)   [na:1.8.0_162]位于java.lang.Thread.run(Thread.java:748)   [na:1.8.0_162]原因:   com.atlassian.jira.rest.client.api.RestClientException:   org.codehaus.jettison.json.JSONException:JSONObject文本必须开始   

的字符11处带有'{'      

     

      未经授权(401)                var contextPath ='';       var DeferScripts = {deferState:'disabled'};

0 个答案:

没有答案