-
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
[ML] CSV import via Data visualizer is not working with the attached file #42114
Comments
Pinging @elastic/ml-ui |
Minor investigations as follows: 22,552 hits imported. Using 7.3.0 |
From my investigations I believe this is a problem with the import endpoint hanging. The error shown in the console comes from the |
I've managed to get this file to import by editing the There does still appear to be a delay during each chunk, so whatever is causing this to hang is still there but appears to be less effected when dealing with less data. Maybe |
I don't think the user should be responsible for configuring this. The uploader should do it dynamically. The thing that's interesting/different about this particular CSV file is that the records are very long - each one contains multiline text fields where AirBNB owners have written large amounts about their properties. I guess this issue shows that Cloud imposes a limit on the size of messages that the browser running Kibana can send to the Kibana server. I will try to find out what this limit is. At the moment the upload code is using Lodash's
|
In my case it was related to browser. It worked fine on chrome, but was stuck on firefox. |
Kibana version:
7.2.0
Elasticsearch version:
7.2.0
Server OS version:
Elastic Cloud AWS
Browser version:
Latest Chrome
Browser OS version:
Latest Chrome
Original install method (e.g. download page, yum, from source, etc.):
Describe the bug:
Trying to upload and ingest an specific CSV file stops without any error (in Frontend)
Javascript Console shows following error:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'nonce-wcklBim9l4CnY7us'". Either the 'unsafe-inline' keyword, a hash ('sha256-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
Steps to reproduce:
Expected behavior:
Import will be done successfully.
Screenshots (if relevant):
Errors in browser console (if relevant):
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'nonce-wcklBim9l4CnY7us'". Either the 'unsafe-inline' keyword, a hash ('sha256-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
This is the CSV file that made problems:
https://drive.google.com/file/d/1UUtaK9vmzyM4ZCHuEWWAU4Q2BFbDBbzw/view?usp=sharing
[Elastic only]
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: