Hi All,
After configuring Jira Pack in stackstorm , I’m facing this issue and I’m unable to create or get any issue from Jira.
WARNING:root:Got recoverable error from GET myjira:8080/rest/api/2/serverInfo, will retry [1/3] in 4.07404639477s. Err: 401 \nWARNING:root:Got recoverable error from GET myjira:8080/rest/api/2/serverInfo, will retry [2/3] in 33.4701336819s. Err: 401 \nWARNING:root:Got recoverable error from GET myjira:8080/rest/api/2/serverInfo, will retry [3/3] in 22.8582043358s. Err: 401 \nTraceback (most recent call last):\n File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/runners/python_action_wrapper.py\", line 275, in <module>\n obj.run()\n File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/runners/python_action_wrapper.py\", line 162, in run\n action = self._get_action_instance()\n File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/runners/python_action_wrapper.py\", line 240, in _get_action_instance\n action_service=action_service)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2common/runners/utils.py\", line 98, in get_action_class_instance\n action_instance = action_cls(**kwargs)\n File \"/opt/stackstorm/packs/jira/actions/lib/base.py\", line 17, in __init__\n self._client = self._get_client()\n File \"/opt/stackstorm/packs/jira/actions/lib/base.py\", line 34, in _get_client\n client = JIRA(options=options, oauth=oauth_creds)\n File \"/opt/stackstorm/virtualenvs/jira/lib/python2.7/site-packages/jira/client.py\", line 346, in __init__\n si = self.server_info()\n File \"/opt/stackstorm/virtualenvs/jira/lib/python2.7/site-packages/jira/client.py\", line 1943, in server_info\n j = self._get_json('serverInfo')\n File \"/opt/stackstorm/virtualenvs/jira/lib/python2.7/site-packages/jira/client.py\", line 2355, in _get_json\n r = self._session.get(url, params=params)\n File \"/opt/stackstorm/virtualenvs/jira/lib/python2.7/site-packages/jira/resilientsession.py\", line 150, in get\n return self.__verb('GET', url, **kwargs)\n File \"/opt/stackstorm/virtualenvs/jira/lib/python2.7/site-packages/jira/resilientsession.py\", line 146, in __verb\n raise_on_error(response, verb=verb, **kwargs)\n File \"/opt/stackstorm/virtualenvs/jira/lib/python2.7/site-packages/jira/resilientsession.py\", line 56, in raise_on_error\n r.status_code, error, r.url, request=request, response=r, **kwargs)\njira.exceptions.JIRAError: JiraError HTTP 401 url: http://myjira:8080/rest/api/2/serverInfo\n\ttext: oauth_problem=signature_invalid&oauth_signature=Q%2BnUQegJNK71dgwvuSM0WhRg1bqniI59u9Vq21TfrIX8dEY4r7kNnoBMXTldLdeBkafP3qSJwwH9Y80z7qFw70e7WLVwa6%2F73XUoMdzFcsioVb22WmpRNyHClD9zNUotPz4WgKoiO1f02KcTrUnvXBa%2BzjN5I2Xqch8W5R%2ByVjnLpA4Wpgj7Vkt6eH%2BzN4HaDD01cG8flheFjkUieTaIOtCMcLPbxisQnDlDfW99E6r4233sxK2%2FjuCn8f6%2BVG3G6544MJ7mRxHOH7d1jwldv5efp8wJJ%2BZfZLtaVUUSSt0jwf%2FVHkLTrA7sBeFKvsuu6G8YrverU6wTkH7fgkbtqA%3D%3D&oauth_signature_base_string=GET%26http%253A%252F%252Fmyjira%253A8080%252Frest%252Fapi%252F2%252FserverInfo%26oauth_consumer_key%253D9a9c6e0c-43e2-479f-92c6-26da5660d45f%2526oauth_nonce%253D7486406249565642931520594130%2526oauth_signature_method%253DRSA-SHA1%2526oauth_timestamp%253D1520594130%2526oauth_token%253DwCv3WUSfiMQC6owZxyhGoJbXs7vyvdDR%2526oauth_version%253D1.0&oauth_signature_method=RSA-SHA1\n\t\n\tresponse headers = {'Date': 'Fri, 09 Mar 2018 11:15:30 GMT', 'Content-Length': '825', 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8', 'WWW-Authenticate': 'OAuth realm=\"http%3A%2F%2Fmyjira%3A8080\", OAuth realm=\"http%3A%2F%2Fmyjira%3A8080\", oauth_problem=\"signature_invalid\", oauth_signature=\"Q%2BnUQegJNK71dgwvuSM0WhRg1bqniI59u9Vq21TfrIX8dEY4r7kNnoBMXTldLdeBkafP3qSJwwH9Y80z7qFw70e7WLVwa6%2F73XUoMdzFcsioVb22WmpRNyHClD9zNUotPz4WgKoiO1f02KcTrUnvXBa%2BzjN5I2Xqch8W5R%2ByVjnLpA4Wpgj7Vkt6eH%2BzN4HaDD01cG8flheFjkUieTaIOtCMcLPbxisQnDlDfW99E6r4233sxK2%2FjuCn8f6%2BVG3G6544MJ7mRxHOH7d1jwldv5efp8wJJ%2BZfZLtaVUUSSt0jwf%2FVHkLTrA7sBeFKvsuu6G8YrverU6wTkH7fgkbtqA%3D%3D\", oauth_signature_base_string=\"GET%26http%253A%252F%252Fmyjira%253A8080%252Frest%252Fapi%252F2%252FserverInfo%26oauth_consumer_key%253D9a9c6e0c-43e2-479f-92c6-26da5660d45f%2526oauth_nonce%253D7486406249565642931520594130%2526oauth_signature_method%253DRSA-SHA1%2526oauth_timestamp%253D1520594130%2526oauth_token%253DwCv3WUSfiMQC6owZxyhGoJbXs7vyvdDR%2526oauth_version%253D1.0\", oauth_signature_method=\"RSA-SHA1\"'}\n\tresponse text = oauth_problem=signature_invalid&oauth_signature=Q%2BnUQegJNK71dgwvuSM0WhRg1bqniI59u9Vq21TfrIX8dEY4r7kNnoBMXTldLdeBkafP3qSJwwH9Y80z7qFw70e7WLVwa6%2F73XUoMdzFcsioVb22WmpRNyHClD9zNUotPz4WgKoiO1f02KcTrUnvXBa%2BzjN5I2Xqch8W5R%2ByVjnLpA4Wpgj7Vkt6eH%2BzN4HaDD01cG8flheFjkUieTaIOtCMcLPbxisQnDlDfW99E6r4233sxK2%2FjuCn8f6%2BVG3G6544MJ7mRxHOH7d1jwldv5efp8wJJ%2BZfZLtaVUUSSt0jwf%2FVHkLTrA7sBeFKvsuu6G8YrverU6wTkH7fgkbtqA%3D%3D&oauth_signature_base_string=GET%26http%253A%252F%252Fmyjira%253A8080%252Frest%252Fapi%252F2%252FserverInfo%26oauth_consumer_key%253D9a9c6e0c-43e2-479f-92c6-26da5660d45f%2526oauth_nonce%253D7486406249565642931520594130%2526oauth_signature_method%253DRSA-SHA1%2526oauth_timestamp%253D1520594130%2526oauth_token%253DwCv3WUSfiMQC6owZxyhGoJbXs7vyvdDR%2526oauth_version%253D1.0&oauth_signature_method=RSA-SHA1\n
Can you please look into and suggest.