[
https://issues.apache.org/jira/browse/CAMEL-16555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17333329#comment-17333329
]
Steven Tobias commented on CAMEL-16555:
---------------------------------------
No, I stop receiving new issues. I have to delete the pod to completely
restart the process
> 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: Minor
>
> 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)