[ 
https://issues.apache.org/jira/browse/CAMEL-16555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17332988#comment-17332988
 ] 

Claus Ibsen commented on CAMEL-16555:
-------------------------------------

Does that error go away, eg on next poll do you get a success call? 


> JIRA Source Component -- Oauth 401 after time
> ---------------------------------------------
>
>                 Key: CAMEL-16555
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16555
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jira
>            Reporter: Steven Tobias
>            Priority: Major
>
> I'm running the Jira camel k component to get new issues from Jira cloud.
>  
> Just a basic
> {code:java}
> from(jira://newissues)
> {code}
>  
> After a certain amount of time - (somewhere around 4-5 days), the Jira 
> connector starts throwing 401s. 
>  
> I get errors like the below.
> {code:java}
> (Camel (camel-1) thread #0 - jira://newIssues) Consumer 
> Consumer[jira://newIssues?accessToken=xxxxxx] failed polling endpoint: 
> jira://newIssues?accessToken=xxxxxx. Will try again at next poll. Caused by: 
> [com.atlassian.jira.rest.client.api.RestClientException - 
> org.codehaus.jettison.json.JSONException: A JSONObject text must begin with 
> '{' at character 1 of oauth_problem=nonce_used]: 
> RestClientException{statusCode=Optional.of(401), errorCollections=[]}
> {code}
> I think the important part here is that the "nonce_used" error from oauth, 
> but not sure what that might mean.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to