HI
I am using xMatters Actionable Alerts for SPLUNK. I have configured everything as per the documentation, but I am getting the below errors. Have anyone encountered these issues before
2019-08-15 18:15:02,899 INFO [xmatters.alert_actions] [xmatters] [execute] [7738] action=EXECUTE endpoint_url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd username=sureshkumar.kumaresan recipients=INTL_xxxxx_DEVOPS_Notify
2019-08-15 18:15:02,899 INFO [util] [password] [get_password] [7738] action=GET_PASSWORD server_uri=https://127.0.0.1:8089 password_name=xmatters_password
2019-08-15 18:15:02,899 INFO [util] [rest] [get] [7738] action=GET url=https://127.0.0.1:8089/servicesNS/nobody/xmatters_alert_action/storage/passwords/%3Axmatters_password%3A?output_mode=json
2019-08-15 18:15:02,912 INFO [xmatters_client] [xm_client] [add_credentials] [7738] action=ADD_CREDENTIALS username=sureshkumar.kumaresan
2019-08-15 18:15:02,912 INFO [xmatters_client] [xm_client] [send_event] [7738] action=SEND_EVENT url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd xm_event_type=<class 'xmatters_sdk.xm_event.XMattersEvent'>
2019-08-15 18:15:02,913 INFO [xmatters_client] [rest] [convert_to_https] [7738] action=CONVERT_TO_HTTPS url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd scheme=https
2019-08-15 18:15:02,913 INFO [xmatters_client] [rest] [post] [7738] action=POST url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd
2019-08-15 18:15:02,941 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [7738] Failed to execute xMatters Alert Action
2019-08-15 18:15:02,941 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [7738] <urlopen error [Errno 104] Connection reset by peer>
Traceback (most recent call last):
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 143, in <module>
REQUEST_ID = XM_ALERT.execute()
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 119, in execute
request_id = xm_client.send_event(self.endpoint_url, xm_event)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/xmatters_sdk/xm_client.py", line 61, in send_event
force_https=True
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 160, in post
return self._send_request(req, headers)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 100, in _send_request
res = urllib2.urlopen(req)
File "/app/splunk/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/app/splunk/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] Connection reset by peer>
2019-08-15 18:19:02,024 INFO [xmatters.alert_actions] [xmatters] [execute] [8748] action=EXECUTE endpoint_url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd username=sureshkumar.kumaresan recipients=INTL_xxxxx_DEVOPS_Notify
2019-08-15 18:19:02,024 INFO [util] [password] [get_password] [8748] action=GET_PASSWORD server_uri=https://127.0.0.1:8089 password_name=xmatters_password
2019-08-15 18:19:02,024 INFO [util] [rest] [get] [8748] action=GET url=https://127.0.0.1:8089/servicesNS/nobody/xmatters_alert_action/storage/passwords/%3Axmatters_password%3A?output_mode=json
2019-08-15 18:19:02,032 INFO [xmatters_client] [xm_client] [add_credentials] [8748] action=ADD_CREDENTIALS username=sureshkumar.kumaresan
2019-08-15 18:19:02,032 INFO [xmatters_client] [xm_client] [send_event] [8748] action=SEND_EVENT url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd xm_event_type=<class 'xmatters_sdk.xm_event.XMattersEvent'>
2019-08-15 18:19:02,033 INFO [xmatters_client] [rest] [convert_to_https] [8748] action=CONVERT_TO_HTTPS url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd scheme=https
2019-08-15 18:19:02,033 INFO [xmatters_client] [rest] [post] [8748] action=POST url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd
2019-08-15 18:19:02,062 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [8748] Failed to execute xMatters Alert Action
2019-08-15 18:19:02,062 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [8748] <urlopen error [Errno 104] Connection reset by peer>
Traceback (most recent call last):
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 143, in <module>
REQUEST_ID = XM_ALERT.execute()
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 119, in execute
request_id = xm_client.send_event(self.endpoint_url, xm_event)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/xmatters_sdk/xm_client.py", line 61, in send_event
force_https=True
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 160, in post
return self._send_request(req, headers)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 100, in _send_request
res = urllib2.urlopen(req)
File "/app/splunk/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/app/splunk/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] Connection reset by peer>
2019-08-15 18:36:02,378 INFO [xmatters.alert_actions] [xmatters] [execute] [13640] action=EXECUTE endpoint_url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd username=sureshkumar.kumaresan recipients=INTL_xxxxx_DEVOPS_Notify
2019-08-15 18:36:02,378 INFO [util] [password] [get_password] [13640] action=GET_PASSWORD server_uri=https://127.0.0.1:8089 password_name=xmatters_password
2019-08-15 18:36:02,378 INFO [util] [rest] [get] [13640] action=GET url=https://127.0.0.1:8089/servicesNS/nobody/xmatters_alert_action/storage/passwords/%3Axmatters_password%3A?output_mode=json
2019-08-15 18:36:02,389 INFO [xmatters_client] [xm_client] [add_credentials] [13640] action=ADD_CREDENTIALS username=sureshkumar.kumaresan
2019-08-15 18:36:02,389 INFO [xmatters_client] [xm_client] [send_event] [13640] action=SEND_EVENT url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd xm_event_type=<class 'xmatters_sdk.xm_event.XMattersEvent'>
2019-08-15 18:36:02,389 INFO [xmatters_client] [rest] [convert_to_https] [13640] action=CONVERT_TO_HTTPS url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd scheme=https
2019-08-15 18:36:02,389 INFO [xmatters_client] [rest] [post] [13640] action=POST url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd
2019-08-15 18:36:02,438 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [13640] Failed to execute xMatters Alert Action
2019-08-15 18:36:02,441 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [13640] <urlopen error [Errno 104] Connection reset by peer>
Traceback (most recent call last):
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 143, in <module>
REQUEST_ID = XM_ALERT.execute()
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 119, in execute
request_id = xm_client.send_event(self.endpoint_url, xm_event)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/xmatters_sdk/xm_client.py", line 61, in send_event
force_https=True
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 160, in post
return self._send_request(req, headers)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 100, in _send_request
res = urllib2.urlopen(req)
File "/app/splunk/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/app/splunk/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] Connection reset by peer>
2019-08-15 18:40:03,444 INFO [xmatters.alert_actions] [xmatters] [execute] [14593] action=EXECUTE endpoint_url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd username=sureshkumar.kumaresan recipients=INTL_xxxxx_DEVOPS_Notify
2019-08-15 18:40:03,444 INFO [util] [password] [get_password] [14593] action=GET_PASSWORD server_uri=https://127.0.0.1:8089 password_name=xmatters_password
2019-08-15 18:40:03,444 INFO [util] [rest] [get] [14593] action=GET url=https://127.0.0.1:8089/servicesNS/nobody/xmatters_alert_action/storage/passwords/%3Axmatters_password%3A?output_mode=json
2019-08-15 18:40:03,453 INFO [xmatters_client] [xm_client] [add_credentials] [14593] action=ADD_CREDENTIALS username=sureshkumar.kumaresan
2019-08-15 18:40:03,454 INFO [xmatters_client] [xm_client] [send_event] [14593] action=SEND_EVENT url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd xm_event_type=<class 'xmatters_sdk.xm_event.XMattersEvent'>
2019-08-15 18:40:03,454 INFO [xmatters_client] [rest] [convert_to_https] [14593] action=CONVERT_TO_HTTPS url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd scheme=https
2019-08-15 18:40:03,454 INFO [xmatters_client] [rest] [post] [14593] action=POST url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd
2019-08-15 18:40:03,485 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [14593] Failed to execute xMatters Alert Action
2019-08-15 18:40:03,485 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [14593] <urlopen error [Errno 104] Connection reset by peer>
Traceback (most recent call last):
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 143, in <module>
REQUEST_ID = XM_ALERT.execute()
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 119, in execute
request_id = xm_client.send_event(self.endpoint_url, xm_event)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/xmatters_sdk/xm_client.py", line 61, in send_event
force_https=True
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 160, in post
return self._send_request(req, headers)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 100, in _send_request
res = urllib2.urlopen(req)
File "/app/splunk/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/app/splunk/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] Connection reset by peer>
2019-08-15 18:48:02,125 INFO [xmatters.alert_actions] [xmatters] [execute] [16442] action=EXECUTE endpoint_url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd username=sureshkumar.kumaresan recipients=INTL_xxxxx_DEVOPS_Notify
2019-08-15 18:48:02,125 INFO [util] [password] [get_password] [16442] action=GET_PASSWORD server_uri=https://127.0.0.1:8089 password_name=xmatters_password
2019-08-15 18:48:02,125 INFO [util] [rest] [get] [16442] action=GET url=https://127.0.0.1:8089/servicesNS/nobody/xmatters_alert_action/storage/passwords/%3Axmatters_password%3A?output_mode=json
2019-08-15 18:48:02,138 INFO [xmatters_client] [xm_client] [add_credentials] [16442] action=ADD_CREDENTIALS username=sureshkumar.kumaresan
2019-08-15 18:48:02,138 INFO [xmatters_client] [xm_client] [send_event] [16442] action=SEND_EVENT url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd xm_event_type=<class 'xmatters_sdk.xm_event.XMattersEvent'>
2019-08-15 18:48:02,138 INFO [xmatters_client] [rest] [convert_to_https] [16442] action=CONVERT_TO_HTTPS url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd scheme=https
2019-08-15 18:48:02,139 INFO [xmatters_client] [rest] [post] [16442] action=POST url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd
2019-08-15 18:48:02,167 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [16442] Failed to execute xMatters Alert Action
2019-08-15 18:48:02,167 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [16442] <urlopen error [Errno 104] Connection reset by peer>
Traceback (most recent call last):
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 143, in <module>
REQUEST_ID = XM_ALERT.execute()
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 119, in execute
request_id = xm_client.send_event(self.endpoint_url, xm_event)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/xmatters_sdk/xm_client.py", line 61, in send_event
force_https=True
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 160, in post
return self._send_request(req, headers)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 100, in _send_request
res = urllib2.urlopen(req)
File "/app/splunk/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/app/splunk/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] Connection reset by peer>
2019-08-15 20:05:01,991 INFO [xmatters.alert_actions] [xmatters] [execute] [3082] action=EXECUTE endpoint_url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd username=sureshkumar.kumaresan recipients=INTL_xxxxx_DEVOPS_Notify
2019-08-15 20:05:01,992 INFO [util] [password] [get_password] [3082] action=GET_PASSWORD server_uri=https://127.0.0.1:8089 password_name=xmatters_password
2019-08-15 20:05:01,992 INFO [util] [rest] [get] [3082] action=GET url=https://127.0.0.1:8089/servicesNS/nobody/xmatters_alert_action/storage/passwords/%3Axmatters_password%3A?output_mode=json
2019-08-15 20:05:02,008 INFO [xmatters_client] [xm_client] [add_credentials] [3082] action=ADD_CREDENTIALS username=sureshkumar.kumaresan
2019-08-15 20:05:02,008 INFO [xmatters_client] [xm_client] [send_event] [3082] action=SEND_EVENT url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd xm_event_type=<class 'xmatters_sdk.xm_event.XMattersEvent'>
2019-08-15 20:05:02,009 INFO [xmatters_client] [rest] [convert_to_https] [3082] action=CONVERT_TO_HTTPS url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd scheme=https
2019-08-15 20:05:02,009 INFO [xmatters_client] [rest] [post] [3082] action=POST url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd
2019-08-15 20:05:02,049 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [3082] Failed to execute xMatters Alert Action
2019-08-15 20:05:02,049 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [3082] <urlopen error [Errno 104] Connection reset by peer>
Traceback (most recent call last):
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 143, in <module>
REQUEST_ID = XM_ALERT.execute()
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 119, in execute
request_id = xm_client.send_event(self.endpoint_url, xm_event)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/xmatters_sdk/xm_client.py", line 61, in send_event
force_https=True
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 160, in post
return self._send_request(req, headers)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 100, in _send_request
res = urllib2.urlopen(req)
File "/app/splunk/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/app/splunk/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] Connection reset by peer>
2019-08-15 20:16:02,440 INFO [xmatters.alert_actions] [xmatters] [execute] [5822] action=EXECUTE endpoint_url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd username=sureshkumar.kumaresan recipients=INTL_xxxxx_DEVOPS_Notify
2019-08-15 20:16:02,440 INFO [util] [password] [get_password] [5822] action=GET_PASSWORD server_uri=https://127.0.0.1:8089 password_name=xmatters_password
2019-08-15 20:16:02,440 INFO [util] [rest] [get] [5822] action=GET url=https://127.0.0.1:8089/servicesNS/nobody/xmatters_alert_action/storage/passwords/%3Axmatters_password%3A?output_mode=json
2019-08-15 20:16:02,452 INFO [xmatters_client] [xm_client] [add_credentials] [5822] action=ADD_CREDENTIALS username=sureshkumar.kumaresan
2019-08-15 20:16:02,452 INFO [xmatters_client] [xm_client] [send_event] [5822] action=SEND_EVENT url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd xm_event_type=<class 'xmatters_sdk.xm_event.XMattersEvent'>
2019-08-15 20:16:02,452 INFO [xmatters_client] [rest] [convert_to_https] [5822] action=CONVERT_TO_HTTPS url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd scheme=https
2019-08-15 20:16:02,453 INFO [xmatters_client] [rest] [post] [5822] action=POST url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd
2019-08-15 20:16:02,498 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [5822] Failed to execute xMatters Alert Action
2019-08-15 20:16:02,499 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [5822] <urlopen error [Errno 104] Connection reset by peer>
Traceback (most recent call last):
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 143, in <module>
REQUEST_ID = XM_ALERT.execute()
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 119, in execute
request_id = xm_client.send_event(self.endpoint_url, xm_event)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/xmatters_sdk/xm_client.py", line 61, in send_event
force_https=True
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 160, in post
return self._send_request(req, headers)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 100, in _send_request
res = urllib2.urlopen(req)
File "/app/splunk/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/app/splunk/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] Connection reset by peer>
2019-08-15 21:22:02,701 INFO [xmatters.alert_actions] [xmatters] [execute] [23081] action=EXECUTE endpoint_url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd username=sureshkumar.kumaresan recipients=INTL_xxxxx_DEVOPS_Notify
2019-08-15 21:22:02,702 INFO [util] [password] [get_password] [23081] action=GET_PASSWORD server_uri=https://127.0.0.1:8089 password_name=xmatters_password
2019-08-15 21:22:02,702 INFO [util] [rest] [get] [23081] action=GET url=https://127.0.0.1:8089/servicesNS/nobody/xmatters_alert_action/storage/passwords/%3Axmatters_password%3A?output_mode=json
2019-08-15 21:22:02,715 INFO [xmatters_client] [xm_client] [add_credentials] [23081] action=ADD_CREDENTIALS username=sureshkumar.kumaresan
2019-08-15 21:22:02,715 INFO [xmatters_client] [xm_client] [send_event] [23081] action=SEND_EVENT url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd xm_event_type=<class 'xmatters_sdk.xm_event.XMattersEvent'>
2019-08-15 21:22:02,715 INFO [xmatters_client] [rest] [convert_to_https] [23081] action=CONVERT_TO_HTTPS url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd scheme=https
2019-08-15 21:22:02,715 INFO [xmatters_client] [rest] [post] [23081] action=POST url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd
2019-08-15 21:22:02,726 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [23081] Failed to execute xMatters Alert Action
2019-08-15 21:22:02,727 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [23081] <urlopen error [Errno 104] Connection reset by peer>
Traceback (most recent call last):
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 143, in <module>
REQUEST_ID = XM_ALERT.execute()
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 119, in execute
request_id = xm_client.send_event(self.endpoint_url, xm_event)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/xmatters_sdk/xm_client.py", line 61, in send_event
force_https=True
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 160, in post
return self._send_request(req, headers)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 100, in _send_request
res = urllib2.urlopen(req)
File "/app/splunk/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/app/splunk/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] Connection reset by peer>
2019-08-15 21:26:01,875 INFO [xmatters.alert_actions] [xmatters] [execute] [24896] action=EXECUTE endpoint_url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd username=sureshkumar.kumaresan recipients=INTL_xxxxx_DEVOPS_Notify
2019-08-15 21:26:01,875 INFO [util] [password] [get_password] [24896] action=GET_PASSWORD server_uri=https://127.0.0.1:8089 password_name=xmatters_password
2019-08-15 21:26:01,875 INFO [util] [rest] [get] [24896] action=GET url=https://127.0.0.1:8089/servicesNS/nobody/xmatters_alert_action/storage/passwords/%3Axmatters_password%3A?output_mode=json
2019-08-15 21:26:01,883 INFO [xmatters_client] [xm_client] [add_credentials] [24896] action=ADD_CREDENTIALS username=sureshkumar.kumaresan
2019-08-15 21:26:01,883 INFO [xmatters_client] [xm_client] [send_event] [24896] action=SEND_EVENT url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd xm_event_type=<class 'xmatters_sdk.xm_event.XMattersEvent'>
2019-08-15 21:26:01,883 INFO [xmatters_client] [rest] [convert_to_https] [24896] action=CONVERT_TO_HTTPS url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd scheme=https
2019-08-15 21:26:01,883 INFO [xmatters_client] [rest] [post] [24896] action=POST url=https://xxxxx.xmatters.com/api/integration/1/functions/4cc0bdf1-dc96-4455-88f7-7c6de8288d8d/triggers?apiKey=f3ddddf7-6265-4147-b272-a0311c8f59cd
2019-08-15 21:26:01,921 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [24896] Failed to execute xMatters Alert Action
2019-08-15 21:26:01,922 ERROR [xmatters.alert_action.main] [xmatters] [<module>] [24896] <urlopen error [Errno 104] Connection reset by peer>
Traceback (most recent call last):
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 143, in <module>
REQUEST_ID = XM_ALERT.execute()
File "/app/splunk/etc/apps/xmatters_alert_action/bin/xmatters.py", line 119, in execute
request_id = xm_client.send_event(self.endpoint_url, xm_event)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/xmatters_sdk/xm_client.py", line 61, in send_event
force_https=True
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 160, in post
return self._send_request(req, headers)
File "/app/splunk/etc/apps/xmatters_alert_action/lib/common_utils/rest.py", line 100, in _send_request
res = urllib2.urlopen(req)
File "/app/splunk/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/app/splunk/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] Connection reset by peer>
Comments
Please sign in to leave a comment.
Hey Kumar,
Stackoverflow has a post about that Errno 104. The poster mentions:
"Connection reset by peer" is the TCP/IP equivalent of slamming the phone back on the hook. It's more polite than merely not replying, leaving one hanging. But it's not the FIN-ACK expected of the truly polite TCP/IP converseur.
Baring widespread xMatters issues, I would make sure you can do a successful post from curl on the Splunk server to the xMatters inbound integration url. That will help indicate the network path is clear and that you don't have any proxies that might be expecting some kind of authentication.
I would start there.
Let us know how it goes.
Happy Thursday!
--- Travis
Thanks Travis. I will test and provide the feedback