Hygieia -Jira Collector Error | 401 Error
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
add a comment |
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
add a comment |
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
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
spring-boot jira-rest-api hygieia
edited Nov 23 '18 at 18:16
Shobhit Pal
asked Nov 22 '18 at 15:39
Shobhit PalShobhit Pal
1416
1416
add a comment |
add a comment |
0
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',
autoActivateHeartbeat: false,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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