We ended up creating our QR environment in AWS and decided to bring it up in us-west-2. However, this setting doesn't appear to be working. It gets stucks pushing the master DB:
2021-09-21 16:52:51 quantrocket.db: ERROR Traceback (most recent call last):
2021-09-21 16:52:51 quantrocket.db: ERROR File "sym://qrocket_log_py", line 34, in wrapped
2021-09-21 16:52:51 quantrocket.db: ERROR File "sym://qrocket_mule_py", line 24, in mule_s3_push
2021-09-21 16:52:51 quantrocket.db: ERROR File "sym://qrocket_db_s3_py", line 192, in push
2021-09-21 16:52:51 quantrocket.db: ERROR File "sym://qrocket_db_s3_py", line 226, in _push_sqlite
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/site-packages/boto/s3/key.py", line 1375, in set_contents_from_filename
2021-09-21 16:52:51 quantrocket.db: ERROR return self.set_contents_from_file(fp, headers, replace, cb,
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/site-packages/boto/s3/key.py", line 1307, in set_contents_from_file
2021-09-21 16:52:51 quantrocket.db: ERROR self.send_file(fp, headers=headers, cb=cb, num_cb=num_cb,
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/site-packages/boto/s3/key.py", line 760, in send_file
2021-09-21 16:52:51 quantrocket.db: ERROR self._send_file_internal(fp, headers=headers, cb=cb, num_cb=num_cb,
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/site-packages/boto/s3/key.py", line 957, in _send_file_internal
2021-09-21 16:52:51 quantrocket.db: ERROR resp = self.bucket.connection.make_request(
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/site-packages/boto/s3/connection.py", line 667, in make_request
2021-09-21 16:52:51 quantrocket.db: ERROR return super(S3Connection, self).make_request(
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/site-packages/boto/connection.py", line 1070, in make_request
2021-09-21 16:52:51 quantrocket.db: ERROR return self._mexe(http_request, sender, override_num_retries,
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/site-packages/boto/connection.py", line 1030, in _mexe
2021-09-21 16:52:51 quantrocket.db: ERROR raise ex
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/site-packages/boto/connection.py", line 939, in _mexe
2021-09-21 16:52:51 quantrocket.db: ERROR response = sender(connection, request.method, request.path,
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/site-packages/boto/s3/key.py", line 856, in sender
2021-09-21 16:52:51 quantrocket.db: ERROR http_conn.send(chunk)
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/http/client.py", line 971, in send
2021-09-21 16:52:51 quantrocket.db: ERROR self.sock.sendall(data)
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/ssl.py", line 1204, in sendall
2021-09-21 16:52:51 quantrocket.db: ERROR v = self.send(byte_view[count:])
2021-09-21 16:52:51 quantrocket.db: ERROR File "/opt/conda/lib/python3.8/ssl.py", line 1173, in send
2021-09-21 16:52:51 quantrocket.db: ERROR return self._sslobj.write(data)
2021-09-21 16:52:51 quantrocket.db: ERROR BrokenPipeError: [Errno 32] Broken pipe
2021-09-21 16:52:51 quantrocket.db: ERROR
What's curious is DBs before this get pushed correctly. I've confirmed the IAM policies for the buckets are the same, and also confirmed I'm using the --region 'us-west-2'
correctly for s3config
.
Thanks