-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Request Timeout when trying to add new data source #66301
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
@nchaulet Could you take a look? @kaiyan-sheng tried with the default datasource and it work, this seems related to the AWS configuration. |
Looking right now |
I was able to add a mysql data source on top of default system config. So maybe it's something wrong with the aws data source itself? More log messages that are related:
|
Locally it was working, but it took 21s, I am investigating which steps are really long and if we can do more things concurently. |
@nchaulet I have been chasing slow startup / install time for #66125 I was just working on a branch to add APM debugging #67069 I installed aws locally and it took about 15s. I'm short on time to leave more details but here's the breakdown It looks just like the issues with the system package in that draft PR, so the quick fixes I had in mind (ETA ~1 day) should apply here, too. You're welcome to make your own improvements, of course or ping me on Slack / Zoom and we can chat. |
Pefect @jfsiii I will to see if the fix for the system package fix this too. |
Thank you for your help! Is there a workaround for this problem? For example, is there a setting to change the request timeout? |
@kaiyan-sheng There can be long times but it always works. I cannot get to 30s once, let alone reliably. I am using |
@nchaulet did you have time to look at this? |
@kaiyan-sheng can you tell me what ressource did you allocated to docker for mac? Looks like giving more ressource allow to not have a timeout (6CPU on my end and 6GB of memory) |
Thank you for your help @nchaulet! I have 6 CPU and 2GB memory. Let me increase the memory to 6GB and give it a try! |
@nchaulet 6GB memory works! Thanks! |
If anybody need a a repro you can run ES in a docker environment with limited ressources. I think we can close this issue for now. |
Kibana version:
master branch
Elasticsearch version:
master branch
Server OS version:
mac 10.15.4
Browser version:
Chrome Version 81.0.4044.138 (Official Build) (64-bit)
Steps to reproduce:
elastic/package-registry
and runmage build
elastic/package-registry
directory, rundocker build --rm -t docker.elastic.co/package-registry/package-registry:master .
cd testing/environments
docker-compose -f snapshot.yml -f local.yml up --force-recreate
6. Click default config:
7. Click create data source:
8. Choose `aws` in the integration list and click `Save data source`:
9. This should lead to the next screenshot after the timeout. 10. I also tried to change Kibana URL under global output from `http://0:5601`(default) to `http:localhost:5601` and same thing happend.
Screenshots:
Provide logs and/or server output (if relevant):
I also tried to ping Kibana and it works seem like:
The text was updated successfully, but these errors were encountered: