Hygieia -Jira Collector Error | 401 Error











up vote
0
down vote

favorite












I am getting this Error While running my Jira feature Collector, I have verified my credentials are correct, and I am not using email address,
I am using username:password.



And the problem is its not giving me 401-Error straight away, It runs for some time fetch some records push successfully to db, and after some time it will gives me this error.



This is very annoying to me. I tried every possible ways, But not able to fix this issue.



Please find below the stack trace which I get.










Unauthorized (401)





Encountered a "401 - Unauthorized" error while loading this page.


Go to Jira home






at
com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47)
~[jira-rest-java-client-core-3.0.0.jar:na] at
com.capitalone.dashboard.client.DefaultJiraClient.getIssues(DefaultJiraClient.java:108)
~[classes/:na] at
com.capitalone.dashboard.client.story.StoryDataClientImpl.updateStoryInformation(StoryDataClientImpl.java:178)
[classes/:na] at
com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:169)
[classes/:na] at
com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:1)
[classes/:na] at
com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63)
[classes/:na] at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[na:1.8.0_162] at
java.util.concurrent.FutureTask.run(FutureTask.java:266)
[na:1.8.0_162] at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
[na:1.8.0_162] at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[na:1.8.0_162] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[na:1.8.0_162] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[na:1.8.0_162] at java.lang.Thread.run(Thread.java:748)
[na:1.8.0_162] Caused by:
com.atlassian.jira.rest.client.api.RestClientException:
org.codehaus.jettison.json.JSONException: A JSONObject text must begin
with '{' at character 11 of






Unauthorized (401)

var contextPath = '';
var DeferScripts = { deferState: 'disabled' };











share|improve this question




























    up vote
    0
    down vote

    favorite












    I am getting this Error While running my Jira feature Collector, I have verified my credentials are correct, and I am not using email address,
    I am using username:password.



    And the problem is its not giving me 401-Error straight away, It runs for some time fetch some records push successfully to db, and after some time it will gives me this error.



    This is very annoying to me. I tried every possible ways, But not able to fix this issue.



    Please find below the stack trace which I get.










    Unauthorized (401)





    Encountered a "401 - Unauthorized" error while loading this page.


    Go to Jira home






    at
    com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47)
    ~[jira-rest-java-client-core-3.0.0.jar:na] at
    com.capitalone.dashboard.client.DefaultJiraClient.getIssues(DefaultJiraClient.java:108)
    ~[classes/:na] at
    com.capitalone.dashboard.client.story.StoryDataClientImpl.updateStoryInformation(StoryDataClientImpl.java:178)
    [classes/:na] at
    com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:169)
    [classes/:na] at
    com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:1)
    [classes/:na] at
    com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63)
    [classes/:na] at
    org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    [spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
    org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
    [spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    [na:1.8.0_162] at
    java.util.concurrent.FutureTask.run(FutureTask.java:266)
    [na:1.8.0_162] at
    java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    [na:1.8.0_162] at
    java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    [na:1.8.0_162] at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    [na:1.8.0_162] at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    [na:1.8.0_162] at java.lang.Thread.run(Thread.java:748)
    [na:1.8.0_162] Caused by:
    com.atlassian.jira.rest.client.api.RestClientException:
    org.codehaus.jettison.json.JSONException: A JSONObject text must begin
    with '{' at character 11 of






    Unauthorized (401)

    var contextPath = '';
    var DeferScripts = { deferState: 'disabled' };











    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am getting this Error While running my Jira feature Collector, I have verified my credentials are correct, and I am not using email address,
      I am using username:password.



      And the problem is its not giving me 401-Error straight away, It runs for some time fetch some records push successfully to db, and after some time it will gives me this error.



      This is very annoying to me. I tried every possible ways, But not able to fix this issue.



      Please find below the stack trace which I get.










      Unauthorized (401)





      Encountered a "401 - Unauthorized" error while loading this page.


      Go to Jira home






      at
      com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47)
      ~[jira-rest-java-client-core-3.0.0.jar:na] at
      com.capitalone.dashboard.client.DefaultJiraClient.getIssues(DefaultJiraClient.java:108)
      ~[classes/:na] at
      com.capitalone.dashboard.client.story.StoryDataClientImpl.updateStoryInformation(StoryDataClientImpl.java:178)
      [classes/:na] at
      com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:169)
      [classes/:na] at
      com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:1)
      [classes/:na] at
      com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63)
      [classes/:na] at
      org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
      [spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
      org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
      [spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
      java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      [na:1.8.0_162] at
      java.util.concurrent.FutureTask.run(FutureTask.java:266)
      [na:1.8.0_162] at
      java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      [na:1.8.0_162] at
      java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      [na:1.8.0_162] at
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      [na:1.8.0_162] at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      [na:1.8.0_162] at java.lang.Thread.run(Thread.java:748)
      [na:1.8.0_162] Caused by:
      com.atlassian.jira.rest.client.api.RestClientException:
      org.codehaus.jettison.json.JSONException: A JSONObject text must begin
      with '{' at character 11 of






      Unauthorized (401)

      var contextPath = '';
      var DeferScripts = { deferState: 'disabled' };











      share|improve this question















      I am getting this Error While running my Jira feature Collector, I have verified my credentials are correct, and I am not using email address,
      I am using username:password.



      And the problem is its not giving me 401-Error straight away, It runs for some time fetch some records push successfully to db, and after some time it will gives me this error.



      This is very annoying to me. I tried every possible ways, But not able to fix this issue.



      Please find below the stack trace which I get.










      Unauthorized (401)





      Encountered a "401 - Unauthorized" error while loading this page.


      Go to Jira home






      at
      com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47)
      ~[jira-rest-java-client-core-3.0.0.jar:na] at
      com.capitalone.dashboard.client.DefaultJiraClient.getIssues(DefaultJiraClient.java:108)
      ~[classes/:na] at
      com.capitalone.dashboard.client.story.StoryDataClientImpl.updateStoryInformation(StoryDataClientImpl.java:178)
      [classes/:na] at
      com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:169)
      [classes/:na] at
      com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:1)
      [classes/:na] at
      com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63)
      [classes/:na] at
      org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
      [spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
      org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
      [spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE] at
      java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      [na:1.8.0_162] at
      java.util.concurrent.FutureTask.run(FutureTask.java:266)
      [na:1.8.0_162] at
      java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      [na:1.8.0_162] at
      java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      [na:1.8.0_162] at
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      [na:1.8.0_162] at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      [na:1.8.0_162] at java.lang.Thread.run(Thread.java:748)
      [na:1.8.0_162] Caused by:
      com.atlassian.jira.rest.client.api.RestClientException:
      org.codehaus.jettison.json.JSONException: A JSONObject text must begin
      with '{' at character 11 of






      Unauthorized (401)

      var contextPath = '';
      var DeferScripts = { deferState: 'disabled' };








      spring-boot jira-rest-api hygieia






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 23 at 18:16

























      asked Nov 22 at 15:39









      Shobhit Pal

      1416




      1416





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53434303%2fhygieia-jira-collector-error-401-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53434303%2fhygieia-jira-collector-error-401-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          What visual should I use to simply compare current year value vs last year in Power BI desktop

          How to ignore python UserWarning in pytest?

          Alexandru Averescu