Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When not on EC2, creating repository can cause timeout during verification #206

Open
robin13 opened this issue Apr 30, 2015 · 5 comments
Open

Comments

@robin13
Copy link

robin13 commented Apr 30, 2015

If creating a repository from outside AWS (e.g. Google Compute Engine), the verification process can take longer than the default 30s timeout, resulting in the repository not being created on all nodes in the cluster, and consequently not possible to create snapshots.

Would it be possible to add the timeout as a parameter to the S3 repository configuration?

@dadoonet
Copy link
Member

dadoonet commented May 4, 2015

I wonder if disabling verification would help in that case as a workaround.

@imotov Do you think we should add such an option (timeout?) to the core snapshot&restore feature?

@imotov
Copy link
Contributor

imotov commented May 4, 2015

@robin13 is there a error message logged when this happens? Could you post the error message here?

@robin13 robin13 closed this as completed May 21, 2015
@robin13
Copy link
Author

robin13 commented May 21, 2015

See #149 (comment)

@robin13 robin13 reopened this May 21, 2015
@robin13
Copy link
Author

robin13 commented May 21, 2015

Sorry - I cannot find the original error messages, but it looks to be similar to #149
I have asked the customer to repeat the procedure and will post the error messages if/when I get them.

@robin13
Copy link
Author

robin13 commented Jun 10, 2015

I was able to simulate a bad connection using netem and got this error:

"error" : "RepositoryVerificationException[[my_s3_repository] [t_UCAimmREyhrEzfe7sIpA, 'RepositoryVerificationException[[my_s3_repository] store location [dr-elk] is not accessible on the node [[rclarke-node1][t_UCAimmREyhrEzfe7sIpA][es-rclarke][inet[/10.10.10.89:9300]]]]; nested: IOException[Unable to upload object tests-w1lIImwORQSdq3vJ_N8hfA-t_UCAimmREyhrEzfe7sIpA]; nested: AmazonS3Exception[Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed. (Service: Amazon S3; Status Code: 400; Error Code: RequestTimeout; Request ID: D96E0A3F50D94D12)]; ']]]",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants