You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Steven Tobias (Jira)" <ji...@apache.org> on 2021/04/26 17:07:00 UTC

[jira] [Created] (CAMEL-16555) JIRA Source Component Oauth issues in long runs.

Steven Tobias created CAMEL-16555:
-------------------------------------

             Summary: JIRA Source Component Oauth issues in long runs.
                 Key: CAMEL-16555
                 URL: https://issues.apache.org/jira/browse/CAMEL-16555
             Project: Camel
          Issue Type: Bug
          Components: camel-jira
            Reporter: Steven Tobias


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)