You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/06/25 07:53:00 UTC
[jira] [Updated] (CAMEL-16555) JIRA Source Component -- Oauth 401
after time
[ https://issues.apache.org/jira/browse/CAMEL-16555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-16555:
--------------------------------
Fix Version/s: 3.12.0
> 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
> Fix For: 3.12.0
>
>
> 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)