You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to start the project but I keep getting login errors and there is almost no documentation.
`de.cronn.jira.sync.JiraSyncException: [https://project.atlassian.net] Unauthorized: {"errorMessages":["Login failed"],"errors":{}}
at de.cronn.jira.sync.service.JiraRestResponseErrorHandler.handleError(JiraRestResponseErrorHandler.java:31) ~[main/:na]
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:622) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:389) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at de.cronn.jira.sync.service.JiraServiceRestClient.login(JiraServiceRestClient.java:166) ~[main/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_362]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_362]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_362]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_362]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at com.sun.proxy.$Proxy57.login(Unknown Source) ~[na:na]
at de.cronn.jira.sync.JiraSyncTask.sync(JiraSyncTask.java:69) [main/:na]
at de.cronn.jira.sync.JiraSyncTask.run(JiraSyncTask.java:57) [main/:na]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:704) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:688) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:675) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1082) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1071) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at de.cronn.jira.sync.JiraSyncApplication.main(JiraSyncApplication.java:43) [main/:na]
2023-02-02 15:31:00.109 INFO 107428 --- [ main] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2023-02-02 15:31:00.112 ERROR 107428 --- [ main] o.s.boot.SpringApplication : Application startup failed
java.lang.IllegalStateException: Failed to execute CommandLineRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:707) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:688) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:675) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1082) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1071) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at de.cronn.jira.sync.JiraSyncApplication.main(JiraSyncApplication.java:43) [main/:na]
Caused by: de.cronn.jira.sync.JiraSyncException: [https://project.atlassian.net] Unauthorized: {"errorMessages":["You are not authenticated. Authentication required to perform this operation."],"errors":{}}
at de.cronn.jira.sync.service.JiraRestResponseErrorHandler.handleError(JiraRestResponseErrorHandler.java:31) ~[main/:na]
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:622) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.delete(RestTemplate.java:494) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at de.cronn.jira.sync.service.JiraServiceRestClient.logout(JiraServiceRestClient.java:172) ~[main/:na]
at de.cronn.jira.sync.service.JiraServiceRestClient.close(JiraServiceRestClient.java:187) ~[main/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_362]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_362]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_362]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_362]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at com.sun.proxy.$Proxy57.close(Unknown Source) ~[na:na]
at de.cronn.jira.sync.JiraSyncTask.sync(JiraSyncTask.java:86) ~[main/:na]
at de.cronn.jira.sync.JiraSyncTask.run(JiraSyncTask.java:57) ~[main/:na]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:704) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
... 6 common frames omitted`
Hi, I am trying to start the project but I keep getting login errors and there is almost no documentation.
`de.cronn.jira.sync.JiraSyncException: [https://project.atlassian.net] Unauthorized: {"errorMessages":["Login failed"],"errors":{}}
at de.cronn.jira.sync.service.JiraRestResponseErrorHandler.handleError(JiraRestResponseErrorHandler.java:31) ~[main/:na]
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:622) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:389) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at de.cronn.jira.sync.service.JiraServiceRestClient.login(JiraServiceRestClient.java:166) ~[main/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_362]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_362]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_362]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_362]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at com.sun.proxy.$Proxy57.login(Unknown Source) ~[na:na]
at de.cronn.jira.sync.JiraSyncTask.sync(JiraSyncTask.java:69) [main/:na]
at de.cronn.jira.sync.JiraSyncTask.run(JiraSyncTask.java:57) [main/:na]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:704) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:688) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:675) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1082) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1071) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at de.cronn.jira.sync.JiraSyncApplication.main(JiraSyncApplication.java:43) [main/:na]
2023-02-02 15:31:00.109 INFO 107428 --- [ main] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2023-02-02 15:31:00.112 ERROR 107428 --- [ main] o.s.boot.SpringApplication : Application startup failed
java.lang.IllegalStateException: Failed to execute CommandLineRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:707) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:688) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:675) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1082) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1071) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
at de.cronn.jira.sync.JiraSyncApplication.main(JiraSyncApplication.java:43) [main/:na]
Caused by: de.cronn.jira.sync.JiraSyncException: [https://project.atlassian.net] Unauthorized: {"errorMessages":["You are not authenticated. Authentication required to perform this operation."],"errors":{}}
at de.cronn.jira.sync.service.JiraRestResponseErrorHandler.handleError(JiraRestResponseErrorHandler.java:31) ~[main/:na]
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:622) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.web.client.RestTemplate.delete(RestTemplate.java:494) ~[spring-web-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at de.cronn.jira.sync.service.JiraServiceRestClient.logout(JiraServiceRestClient.java:172) ~[main/:na]
at de.cronn.jira.sync.service.JiraServiceRestClient.close(JiraServiceRestClient.java:187) ~[main/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_362]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_362]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_362]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_362]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
at com.sun.proxy.$Proxy57.close(Unknown Source) ~[na:na]
at de.cronn.jira.sync.JiraSyncTask.sync(JiraSyncTask.java:86) ~[main/:na]
at de.cronn.jira.sync.JiraSyncTask.run(JiraSyncTask.java:57) ~[main/:na]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:704) [spring-boot-1.5.22.RELEASE.jar:1.5.22.RELEASE]
... 6 common frames omitted`
I have already tried following but does not work:
de.cronn.jira.sync.source: url: https://project.atlassian.net
username: email
password: password
de.cronn.jira.sync.source:
url: https://project.atlassian.net
username: email
password: api-token
de.cronn.jira.sync.source:
url: https://project.atlassian.net
username: email
password: password
basicAuth:
username: email
password: api-token
de.cronn.jira.sync.source:
url: https://project.atlassian.net
username: email
password: api-token
basicAuth:
username: email
password: api-token
Nothing works.
Could you help me? Thanks
The text was updated successfully, but these errors were encountered: