Open murali741 opened 4 years ago
2020-07-21 14:43:01,265 [taskScheduler-1] DEBUG c.c.d.c.DefaultBitbucketServerClient - Failed to obtain commits from https://git.companyname.net/rest/api/1.0/projects/cd/repos/core/commits?until=refs%2Fheads%2Fmaster&limit=25 org.springframework.web.client.HttpClientErrorException: 401 null at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:641) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:597) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:572) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:493) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at com.capitalone.dashboard.collector.SCMHttpRestClient.makeRestCall(SCMHttpRestClient.java:38) ~[bitbucket-scm-collector.jar!/:3.1.2-SNAPSHOT] at com.capitalone.dashboard.collector.DefaultBitbucketServerClient.getCommits(DefaultBitbucketServerClient.java:94) ~[bitbucket-scm-collector.jar!/:3.1.2-SNAPSHOT] at com.capitalone.dashboard.collector.GitCollectorTask.collect(GitCollectorTask.java:170) [bitbucket-scm-collector.jar!/:3.1.2-SNAPSHOT] at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63) [core-3.1.5.jar!/:3.1.2-SNAPSHOT] 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_102] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_102] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_102] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_102] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102] 2020-07-21 14:43:01,266 [taskScheduler-1] INFO c.c.d.collector.GitCollectorTask - {password=Lu4NtLK4nyxiuIyivhNqrQ==, personalAccessToken=, branch=master, userID=, url=https://git..net/scm/cd/core, lastUpdate=1595356860726}::master::get pulls 2020-07-21 14:43:01,266 [taskScheduler-1] DEBUG c.c.d.b.BitbucketApiUrlBuilder - bitbucket url :https://git..net/scm/cd/core 2020-07-21 14:43:01,267 [taskScheduler-1] INFO c.c.d.collector.PullRequestCollector - Executing [https://git..net/rest/api/1.0/projects/cd/repos/core/pull-requests?at=refs%2Fheads%2Fmaster&state=all&limit=25 2020-07-21 14:43:01,267 [taskScheduler-1] DEBUG c.c.d.collector.SCMHttpRestClient - GET https://git..net/rest/api/1.0/projects/cd/repos/core/pull-requests?at=refs%2Fheads%2Fmaster&state=all&limit=25 2020-07-21 14:43:01,396 [taskScheduler-1] ERROR c.c.d.collector.PullRequestCollector - Exception block: 401 null
bitbucket.properties file
dbname=dashboarddb dbusername=dashboarduser dbpassword=password dbhost=localhost dbport=27017 dbreplicaset=false dbhostport=localhost:27017 server.contextPath=/api server.port=8080 spring.data.mongodb.authentication-database = admin logging.file=./logs/bitbucket.log git.cron=0 0/1 git.host=https://git..net git.username=
git.password= git.api=/rest/api/1.0/ git.commitThresholdDays=1 git.pageSize=25 git.product=server logging.level.com.capitalone.dashboard=DEBUG logging.level.com.capitalone.dashboard.collector=DEBUG logging.level.com.atlassian.git=INFO git.key=B/0a/tlSSnky8ZgZwVuozS9SE87Om170 github.key=B/0a/tlSSnky8ZgZwVuozS9SE87Om170 bitbucket.key=B/0a/tlSSnky8ZgZwVuozS9SE87Om170
2020-07-21 14:43:01,265 [taskScheduler-1] DEBUG c.c.d.c.DefaultBitbucketServerClient - Failed to obtain commits from https://git.companyname.net/rest/api/1.0/projects/cd/repos/core/commits?until=refs%2Fheads%2Fmaster&limit=25 org.springframework.web.client.HttpClientErrorException: 401 null at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:641) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:597) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:572) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:493) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE] at com.capitalone.dashboard.collector.SCMHttpRestClient.makeRestCall(SCMHttpRestClient.java:38) ~[bitbucket-scm-collector.jar!/:3.1.2-SNAPSHOT] at com.capitalone.dashboard.collector.DefaultBitbucketServerClient.getCommits(DefaultBitbucketServerClient.java:94) ~[bitbucket-scm-collector.jar!/:3.1.2-SNAPSHOT] at com.capitalone.dashboard.collector.GitCollectorTask.collect(GitCollectorTask.java:170) [bitbucket-scm-collector.jar!/:3.1.2-SNAPSHOT] at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63) [core-3.1.5.jar!/:3.1.2-SNAPSHOT] 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_102] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_102] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_102] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_102] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102] 2020-07-21 14:43:01,266 [taskScheduler-1] INFO c.c.d.collector.GitCollectorTask - {password=Lu4NtLK4nyxiuIyivhNqrQ==, personalAccessToken=, branch=master, userID=, url=https://git..net/scm/cd/core, lastUpdate=1595356860726}::master::get pulls
2020-07-21 14:43:01,266 [taskScheduler-1] DEBUG c.c.d.b.BitbucketApiUrlBuilder - bitbucket url :https://git..net/scm/cd/core
2020-07-21 14:43:01,267 [taskScheduler-1] INFO c.c.d.collector.PullRequestCollector - Executing [https://git..net/rest/api/1.0/projects/cd/repos/core/pull-requests?at=refs%2Fheads%2Fmaster&state=all&limit=25
2020-07-21 14:43:01,267 [taskScheduler-1] DEBUG c.c.d.collector.SCMHttpRestClient - GET https://git..net/rest/api/1.0/projects/cd/repos/core/pull-requests?at=refs%2Fheads%2Fmaster&state=all&limit=25
2020-07-21 14:43:01,396 [taskScheduler-1] ERROR c.c.d.collector.PullRequestCollector - Exception block: 401 null
bitbucket.properties file
dbname=dashboarddb dbusername=dashboarduser dbpassword=password dbhost=localhost dbport=27017 dbreplicaset=false dbhostport=localhost:27017 server.contextPath=/api server.port=8080 spring.data.mongodb.authentication-database = admin logging.file=./logs/bitbucket.log git.cron=0 0/1 git.host=https://git..net
git.username=
git.password=Q2hpbm5hMTIz
git.password=
git.api=/rest/api/1.0/
git.commitThresholdDays=1
git.pageSize=25
git.product=server
logging.level.com.capitalone.dashboard=DEBUG
logging.level.com.capitalone.dashboard.collector=DEBUG
logging.level.com.atlassian.git=INFO
git.key=B/0a/tlSSnky8ZgZwVuozS9SE87Om170
github.key=B/0a/tlSSnky8ZgZwVuozS9SE87Om170
bitbucket.key=B/0a/tlSSnky8ZgZwVuozS9SE87Om170