Hello!
After upgrading from ELK 6.5.4 to 6.6.2, I can't connect to my S3 Repository for a Backup.
My ELK ver - 6.6.2
S3 Repository version - 6.6.2
elasticsearch.yml S3 Repository config:
s3.client.default.proxy.host: "proxy.XXXX.pro"
s3.client.default.proxy.port: 31XX
The command I use is:
curl -X PUT "localhost:9200/_snapshot/elasticsearch_backups" -H 'Content-Type: application/json' -d'
{
"type": "s3",
"settings": {
"bucket": "es-apps-backup",
"region":"us-east-2",
"base_path":"elasticsearch-backup",
"proxy.host":"proxy.xxxx.pro",
"proxy.port":"3xxx"
}
}
'
Sometimes I receive this error:
{"error":{"root_cause":[{"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (put_repository [elasticsearch_backups]) within 30s"}],"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (put_repository [elasticsearch_backups]) within 30s"},"status":503}
And sometimes this error:
"error":{"root_cause":[{"type":"repository_verification_exception","reason":"[elasticsearch_backups] [[PxTOD6yYS2CPvGngHGYTwQ, 'RemoteTransportException[[elastic006][10.94.xxx.xx:9300][internal:admin/repository/verify]]; nested: BlobStoreException[Failed to check if blob [master.dat] exists]; nested: NotSerializableExceptionWrapper[amazon_s3_exception: Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: D93850F5B1705E0B; S3 Extended Request ID: AJk6ZmMVeow05iEu9HEFNiCaeHm6vvcCNtDukwbcpPGa9hZbk2bBXyx00vI9d+9gSqPuxxxxx=)];'], [YDogK-I0SxyK33selGMA1g, 'RemoteTransportException[[elastic001][10.xxx.xxx.xx:9300][internal:admin/repository/verify]]; nested: BlobStoreException[Failed to check if blob [master.dat] exists]; nested: NotSerializableExceptionWrapper[amazon_s3_exception: Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: EB99A20757BF3258; S3 Extended Request ID: HxHu5pfLX8/0vj/yEgN5yYRvflm3VQooSXIErQwvF7ioGal+dSpQMp3RoKMKDdz1jEki3lkQ4Ps=)];']
What could be the problem?
It worked before the upgrade
Thanks,
Aleksei