-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Issue With Jira Collector #3409
Comments
My application.properties dbname=dashboarddb2 logging.file=./logs/jira.log Delta change date that modulates the collector item taskOccasionally, these values should be modified if database size is a concernfeature.deltaStartDate=2021-03-01T00:00:00.000000 Chron schedule: S M D M Y [Day of the Week]feature.cron=0 */5 * * * * ST Query File Details - Required, but DO NOT MODIFYfeature.queryFolder=jiraapi-queries JIRA CONNECTION DETAILS:Enterprise Proxy - ONLY INCLUDE IF YOU HAVE A PROXY#feature.jiraProxyUrl= For basic authentication, requires username:password as string in base64This command will make this for you: echo -n username:password | base64feature.jiraCredentials=cmFwaWRzZHhwY3VzdG9tZXJAZ21haWwuY29tOnJhcGlkc191c2VyQDEyMw== Trending Query: Number of days in a sprint (not-required)feature.sprintDays=60 Trending Query: Length of sprint week (not-required)feature.sprintEndPrior=7 OAuth is not fully implemented; please blank-out the OAuth values:#feature.jiraOauthAuthtoken= feature.jiraIssueTypeNames=Story |
I am using this collectors in aws instance is any proxy setting needed |
@rvema I am getting 401 unauthorized error for jira feature collector
2021-07-06 15:00:00,016 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Getting Collector: Jira
2021-07-06 15:00:00,038 [taskScheduler-1] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:28, serverValue:171}] to localhost:27017
2021-07-06 15:00:00,071 [taskScheduler-1] INFO c.c.dashboard.client.RestClient - makeRestCall op=GET url=https://rapids4321.atlassian.net/rest/api/2/issuetype status=401 duration=30
2021-07-06 15:00:00,071 [taskScheduler-1] ERROR o.s.s.s.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.
org.springframework.web.client.HttpClientErrorException: 401 Unauthorized
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:108)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:622)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:540)
at com.capitalone.dashboard.client.RestClient.makeRestCallGet(RestClient.java:158)
at com.capitalone.dashboard.collector.DefaultJiraClient.makeRestCall(DefaultJiraClient.java:828)
at com.capitalone.dashboard.collector.DefaultJiraClient.getJiraIssueTypeIds(DefaultJiraClient.java:299)
at com.capitalone.dashboard.collector.FeatureCollectorTask.getCollector(FeatureCollectorTask.java:98)
at com.capitalone.dashboard.collector.FeatureCollectorTask.getCollector(FeatureCollectorTask.java:1)
at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:56)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2021-07-06 15:01:44,963 [MaintenanceTimer-1-thread-1] INFO org.mongodb.driver.connection - Closed connection [connectionId{localValue:28, serverValue:171}] to localhost:27017 because it is past its maximum allowed idle time.
The text was updated successfully, but these errors were encountered: