[ERROR] ConnectionError: HTTPSConnectionPool(host='login.salesforce.com', port=443): Max retries exceeded with url: /services/oauth2/token? (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7eff240669d0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Traceback (most recent call last):
File "/var/task/sfRealTimeQueueMetrics.py", line 89, in lambda_handler
raise e
File "/var/task/sfRealTimeQueueMetrics.py", line 86, in lambda_handler
ac_queue_metrics(queue_id_name_dict,queue_ids,instance_id)
File "/var/task/sfRealTimeQueueMetrics.py", line 219, in ac_queue_metrics
raise e
File "/var/task/sfRealTimeQueueMetrics.py", line 151, in ac_queue_metrics
sf.sign_in()
File "/var/task/salesforce.py", line 63, in sign_in
resp = self.request.post(url=self.login_host+"/services/oauth2/token", params=self.auth_data, headers=headers)
File "/var/task/salesforce.py", line 174, in post
r = requests.post(url=url, data=json.dumps(data), params=params, headers=headers)
File "/opt/python/lib/python3.7/site-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, kwargs)
File "/opt/python/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, kwargs)
File "/opt/python/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, send_kwargs)
File "/opt/python/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, kwargs)
File "/opt/python/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
[ERROR] ConnectionError: HTTPSConnectionPool(host='login.salesforce.com', port=443): Max retries exceeded with url: /services/oauth2/token?g(Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7eff240669d0>: Failed to establish a new connection: [Errno -2] Name or service not known')) Traceback (most recent call last): File "/var/task/sfRealTimeQueueMetrics.py", line 89, in lambda_handler raise e File "/var/task/sfRealTimeQueueMetrics.py", line 86, in lambda_handler ac_queue_metrics(queue_id_name_dict,queue_ids,instance_id) File "/var/task/sfRealTimeQueueMetrics.py", line 219, in ac_queue_metrics raise e File "/var/task/sfRealTimeQueueMetrics.py", line 151, in ac_queue_metrics sf.sign_in() File "/var/task/salesforce.py", line 63, in sign_in resp = self.request.post(url=self.login_host+"/services/oauth2/token", params=self.auth_data, headers=headers) File "/var/task/salesforce.py", line 174, in post r = requests.post(url=url, data=json.dumps(data), params=params, headers=headers) File "/opt/python/lib/python3.7/site-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, kwargs) File "/opt/python/lib/python3.7/site-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, kwargs) File "/opt/python/lib/python3.7/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, send_kwargs) File "/opt/python/lib/python3.7/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, kwargs) File "/opt/python/lib/python3.7/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request)
[ERROR] ConnectionError: HTTPSConnectionPool(host='login.salesforce.com', port=443): Max retries exceeded with url: /services/oauth2/token? (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7eff240669d0>: Failed to establish a new connection: [Errno -2] Name or service not known')) Traceback (most recent call last): File "/var/task/sfRealTimeQueueMetrics.py", line 89, in lambda_handler raise e File "/var/task/sfRealTimeQueueMetrics.py", line 86, in lambda_handler ac_queue_metrics(queue_id_name_dict,queue_ids,instance_id) File "/var/task/sfRealTimeQueueMetrics.py", line 219, in ac_queue_metrics raise e File "/var/task/sfRealTimeQueueMetrics.py", line 151, in ac_queue_metrics sf.sign_in() File "/var/task/salesforce.py", line 63, in sign_in resp = self.request.post(url=self.login_host+"/services/oauth2/token", params=self.auth_data, headers=headers) File "/var/task/salesforce.py", line 174, in post r = requests.post(url=url, data=json.dumps(data), params=params, headers=headers) File "/opt/python/lib/python3.7/site-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, kwargs) File "/opt/python/lib/python3.7/site-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, kwargs) File "/opt/python/lib/python3.7/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, send_kwargs) File "/opt/python/lib/python3.7/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, kwargs) File "/opt/python/lib/python3.7/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) [ERROR] ConnectionError: HTTPSConnectionPool(host='login.salesforce.com', port=443): Max retries exceeded with url: /services/oauth2/token?g(Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7eff240669d0>: Failed to establish a new connection: [Errno -2] Name or service not known')) Traceback (most recent call last): File "/var/task/sfRealTimeQueueMetrics.py", line 89, in lambda_handler raise e File "/var/task/sfRealTimeQueueMetrics.py", line 86, in lambda_handler ac_queue_metrics(queue_id_name_dict,queue_ids,instance_id) File "/var/task/sfRealTimeQueueMetrics.py", line 219, in ac_queue_metrics raise e File "/var/task/sfRealTimeQueueMetrics.py", line 151, in ac_queue_metrics sf.sign_in() File "/var/task/salesforce.py", line 63, in sign_in resp = self.request.post(url=self.login_host+"/services/oauth2/token", params=self.auth_data, headers=headers) File "/var/task/salesforce.py", line 174, in post r = requests.post(url=url, data=json.dumps(data), params=params, headers=headers) File "/opt/python/lib/python3.7/site-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, kwargs) File "/opt/python/lib/python3.7/site-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, kwargs) File "/opt/python/lib/python3.7/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, send_kwargs) File "/opt/python/lib/python3.7/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, kwargs) File "/opt/python/lib/python3.7/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request)