Current Pod Status: PodStatus(conditions=[PodCondition(lastProbeTime=null, lastTransitionTime=2022-08-29T07:29:58Z, message=null, reason=null, status=True, type=Initialized, additionalProperties={}), PodCondition(lastProbeTime=null, lastTransitionTime=2022-08-29T07:29:59Z, message=null, reason=null, status=True, type=Ready, additionalProperties={}), PodCondition(lastProbeTime=null, lastTransitionTime=2022-08-29T07:29:59Z, message=null, reason=null, status=True, type=ContainersReady, additionalProperties={}), PodCondition(lastProbeTime=null, lastTransitionTime=2022-08-29T07:29:58Z, message=null, reason=null, status=True, type=PodScheduled, additionalProperties={})], containerStatuses=[ContainerStatus(containerID=containerd://cf858ba0a9282565b1997c5884f9597f6c85c8d12312974ed02bff606b8723e1, image=quay.io/ibmresilient/fn_exchange_online:1.3.0, imageID=quay.io/ibmresilient/fn_exchange_online@sha256:b47d3c03c910d96af1714abc20076d20b662fb542833fb08c082c90bdce8641f, lastState=ContainerState(running=null, terminated=null, waiting=null, additionalProperties={}), name=83fde3a2-1fa9-4ec0-bc12-198a87d13270, ready=true, restartCount=0, started=true, state=ContainerState(running=ContainerStateRunning(startedAt=2022-08-29T07:29:59Z, additionalProperties={}), terminated=null, waiting=null, additionalProperties={}), additionalProperties={})], ephemeralContainerStatuses=[], hostIP=192.168.16.244, initContainerStatuses=[], message=null, nominatedNodeName=null, phase=Running, podIP=10.42.0.190, podIPs=[PodIP(ip=10.42.0.190, additionalProperties={})], qosClass=BestEffort, reason=null, startTime=2022-08-29T07:29:58Z, additionalProperties={}) Logs: ------------------------ Environment: Python Version: 3.9.7 (default, Sep 13 2021, 08:18:39) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] Installed packages: beautifulsoup4: 4.11.1 bs4: 0.0.1 cachetools: 5.2.0 certifi: 2020.12.5 cffi: 1.14.5 chardet: 4.0.0 charset-normalizer: 2.0.4 circuits: 3.2.2 cryptography: 3.4.6 decorator: 5.1.1 Deprecated: 1.2.13 filelock: 3.2.1 fn-exchange-online: 1.3.0 idna: 2.10 importlib-metadata: 4.11.4 jeepney: 0.8.0 Jinja2: 3.1.2 keyring: 23.5.1 MarkupSafe: 2.1.1 pip: 22.2.2 py: 1.11.0 pycparser: 2.20 PySocks: 1.7.1 pytz: 2022.1 requests: 2.27.1 requests-mock: 1.8.0 requests-toolbelt: 0.9.1 resilient: 46.0.3461 resilient-circuits: 46.0.3461 resilient-lib: 46.0.3461 retry2: 0.9.4 SecretStorage: 3.3.1 setuptools: 62.6.0 six: 1.16.0 soupsieve: 2.2.1 stompest: 2.3.0 typing-extensions: 3.7.4.3 tzlocal: 2.1 urllib3: 1.26.4 watchdog: 2.1.8 wrapt: 1.14.1 zipp: 3.4.1 ############### 2022-08-29 07:30:00,217 INFO [app] Configuration file: /etc/rescircuits/app.config 2022-08-29 07:30:00,217 INFO [app] Resilient server: soar.XXXX.com 2022-08-29 07:30:00,217 INFO [app] Resilient api key id: 2df83d2a-bfc9-4538-beca-b246d85045e4 2022-08-29 07:30:00,218 INFO [app] Resilient org: XXXX, com. 2022-08-29 07:30:00,218 INFO [app] Logging Level: INFO 2022-08-29 07:30:00,298 INFO [co3base] Using org name: XXXX, com. 2022-08-29 07:30:01,263 INFO [app] Components auto-load directory: (none) 2022-08-29 07:30:01,275 INFO [exchange_online_create_meeting] test 2022-08-29 07:30:01,303 INFO [component_loader] Loading 9 components 2022-08-29 07:30:01,304 INFO [component_loader] 'fn_exchange_online.components.exchange_online_create_meeting.FunctionComponent' loading 2022-08-29 07:30:01,510 INFO [component_loader] 'fn_exchange_online.components.exchange_online_delete_email.FunctionComponent' loading 2022-08-29 07:30:01,572 INFO [component_loader] 'fn_exchange_online.components.exchange_online_delete_messages_from_query_results.FunctionComponent' loading 2022-08-29 07:30:01,635 INFO [component_loader] 'fn_exchange_online.components.exchange_online_get_email_user_profile.FunctionComponent' loading 2022-08-29 07:30:01,696 INFO [component_loader] 'fn_exchange_online.components.exchange_online_get_message.FunctionComponent' loading 2022-08-29 07:30:01,764 INFO [component_loader] 'fn_exchange_online.components.exchange_online_move_message_to_folder.FunctionComponent' loading 2022-08-29 07:30:01,862 INFO [component_loader] 'fn_exchange_online.components.exchange_online_query_emails.FunctionComponent' loading 2022-08-29 07:30:01,929 INFO [component_loader] 'fn_exchange_online.components.exchange_online_send_message.FunctionComponent' loading 2022-08-29 07:30:01,991 INFO [component_loader] 'fn_exchange_online.components.exchange_online_write_message_as_attachment.FunctionComponent' loading 2022-08-29 07:30:02,058 INFO [stomp_component] Connect to soar.XXXX.com:65001 2022-08-29 07:30:02,059 INFO [actions_component] 'fn_exchange_online.components.exchange_online_create_meeting.FunctionComponent' function 'exchange_online_create_meeting' registered to 'fn_exchange_online' 2022-08-29 07:30:02,060 INFO [actions_component] 'fn_exchange_online.components.exchange_online_delete_email.FunctionComponent' function 'exchange_online_delete_email' registered to 'fn_exchange_online' 2022-08-29 07:30:02,060 INFO [actions_component] 'fn_exchange_online.components.exchange_online_delete_messages_from_query_results.FunctionComponent' function 'exchange_online_delete_messages_from_query_results' registered to 'fn_exchange_online' 2022-08-29 07:30:02,061 INFO [app] App Started 2022-08-29 07:30:02,063 INFO [actions_component] 'fn_exchange_online.components.exchange_online_get_email_user_profile.FunctionComponent' function 'exchange_online_get_email_user_profile' registered to 'fn_exchange_online' 2022-08-29 07:30:02,063 INFO [actions_component] 'fn_exchange_online.components.exchange_online_get_message.FunctionComponent' function 'exchange_online_get_message' registered to 'fn_exchange_online' 2022-08-29 07:30:02,064 INFO [actions_component] 'fn_exchange_online.components.exchange_online_move_message_to_folder.FunctionComponent' function 'exchange_online_move_message_to_folder' registered to 'fn_exchange_online' 2022-08-29 07:30:02,064 INFO [actions_component] 'fn_exchange_online.components.exchange_online_query_emails.FunctionComponent' function 'exchange_online_query_emails' registered to 'fn_exchange_online' 2022-08-29 07:30:02,064 INFO [actions_component] 'fn_exchange_online.components.exchange_online_send_message.FunctionComponent' function 'exchange_online_send_message' registered to 'fn_exchange_online' 2022-08-29 07:30:02,064 INFO [actions_component] 'fn_exchange_online.components.exchange_online_write_message_as_attachment.FunctionComponent' function 'exchange_online_write_message_as_attachment' registered to 'fn_exchange_online' 2022-08-29 07:30:02,065 INFO [app] Components loaded 2022-08-29 07:30:02,168 INFO [actions_component] STOMP attempting to connect 2022-08-29 07:30:02,169 INFO [stomp_component] Connect to Stomp... 2022-08-29 07:30:02,169 INFO [client] Connecting to soar.XXXX.com:65001 ... 2022-08-29 07:30:02,223 INFO [client] Connection established 2022-08-29 07:30:02,294 INFO [client] Connected to stomp broker [session=ID:resilient.localdomain-37256-1654766743402-4:482, version=1.2] 2022-08-29 07:30:02,295 INFO [stomp_component] Connected to failover:(ssl://soar.XXXX.com:65001)?maxReconnectAttempts=3,startupMaxReconnectAttempts=3 2022-08-29 07:30:02,295 INFO [stomp_component] Client HB: 0 Server HB: 15000 2022-08-29 07:30:02,296 INFO [stomp_component] No Client heartbeats will be sent 2022-08-29 07:30:02,296 INFO [stomp_component] Requested heartbeats from server. 2022-08-29 07:30:02,297 INFO [actions_component] STOMP connected. 2022-08-29 07:30:02,400 INFO [actions_component] resilient-circuits has started successfully and is now running... 2022-08-29 07:30:02,400 INFO [actions_component] Subscribe to message destination 'fn_exchange_online' 2022-08-29 07:30:02,401 INFO [stomp_component] Subscribe to message destination actions.202.fn_exchange_online 2022-08-29 07:32:05,917 INFO [actions_component] Event: Channel: functions.exchange_online_query_emails 2022-08-29 07:32:06,122 INFO [exchange_online_query_emails] incident_id: 5909 2022-08-29 07:32:06,122 INFO [exchange_online_query_emails] exo_email_address: test1@XXXX.com 2022-08-29 07:32:06,122 INFO [exchange_online_query_emails] exo_mailfolders: inbox 2022-08-29 07:32:06,123 INFO [exchange_online_query_emails] exo_email_address_sender: None 2022-08-29 07:32:06,123 INFO [exchange_online_query_emails] exo_start_date: 1661410800000 2022-08-29 07:32:06,123 INFO [exchange_online_query_emails] exo_end_date: 1661454000000 2022-08-29 07:32:06,124 INFO [exchange_online_query_emails] exo_email_has_attachments: None 2022-08-29 07:32:06,124 INFO [exchange_online_query_emails] exo_message_subject: Fw[2]: CASES amazon gift card 2022-08-29 07:32:06,124 INFO [exchange_online_query_emails] exo_message_body: None 2022-08-29 07:32:06,124 INFO [exchange_online_query_emails] exo_query_output_format: ['Exchange Online data table', 'Incident note'] 2022-08-29 07:32:06,125 INFO [decorators] [exchange_online_query_emails] StatusMessage: Starting message query. 2022-08-29 07:32:06,824 INFO [oauth2_client_credentials_session] Response status code: 200 2022-08-29 07:32:12,391 ERROR [exchange_online_query_emails] [Errno Expecting value] .decorated.._call_the_task at 0x7fb92f1e1940>, incident_id=5909, exo_has_attachments=None, exo_message_subject='Fw[2]: CASES amazon gift card', exo_email_address='test1@XXXX.com', exo_query_output_format=[{'id': 239, 'name': 'Exchange Online data table'}, {'id': 241, 'name': 'Incident note'}], exo_start_date=1661410800000, exo_email_address_sender=None, exo_end_date=1661454000000, exo_message_body=None, exo_mail_folders='inbox')> (): Traceback (most recent call last): File "/opt/app-root/lib64/python3.9/site-packages/requests/models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib64/python3.9/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib64/python3.9/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python3.9/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)