我在这里有一个奇怪的问题,它让我发疯。
我在另一个运行顺利的应用程序上设置了代理。但是,运行相同会产生以下错误。
有问题的应用程序将 Route53 与“name.xxbg3wy.us-east-1.elasticbeanstalk.com”之类的 url 集成,而其他正常运行的应用程序具有 url“name.us-east-1.elasticbeanstalk.com”
有什么我在这里错过的吗?是否必须在配置文件中的某个位置设置端点 URL?该区域是“us-east-1”,我已经从配置文件中多次确认。
2017-07-17 19:20:54,998 - cwlogs.threads - ERROR - 28422 - Thread-11 -
Exception caught in <EventBatchPublisher(Thread-11, started daemon
140656144017152)>
Traceback (most recent call last):
File "/var/awslogs/local/lib/python2.7/site-
packages/cwlogs/threads.py", line 58, in run
self._run()
File "/var/awslogs/local/lib/python2.7/site-packages/cwlogs/push.py",
line 1402, in _run
self._publish_event_batch()
File "/var/awslogs/local/lib/python2.7/site-packages/cwlogs/push.py",
line 1209, in _publish_event_batch
self.sequence_token = self._put_log_events(self.event_batch)
File "/var/awslogs/local/lib/python2.7/site-packages/cwlogs/push.py",
line 1247, in _put_log_events
response = self.logs_service.put_log_events(**params)
File "/var/awslogs/local/lib/python2.7/site-
packages/botocore/client.py", line 253, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/awslogs/local/lib/python2.7/site-
packages/botocore/client.py", line 530, in _make_api_call
operation_model, request_dict)
File "/var/awslogs/local/lib/python2.7/site-
packages/botocore/endpoint.py", line 141, in make_request
return self._send_request(request_dict, operation_model)
File "/var/awslogs/local/lib/python2.7/site-
packages/botocore/endpoint.py", line 170, in _send_request
success_response, exception):
EndpointConnectionError: Could not connect to the endpoint URL:
"https://logs.us-east-1.amazonaws.com/"
2017-07-17 19:21:55,927 - cwlogs.push.reader - INFO - 28422 - Thread-12
- Reader is leaving as requested...