-
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
[Maps] GeoJSON upload fails #95744
Comments
Pinging @elastic/kibana-gis (Team:Geo) |
Thanks for finally looking into this, however, just note that the GeoJSON file doesn't exist anymore. I've used another one and it still fails on 7.17.3, the map gets blank after a few percent into the import process. |
Sorry for missing this issue between the cracks and thanks @mbarretta for catching it 😓 @consulthys could you please update the issue description with a URL pointing to a problematic issue? |
@jsanz I don't know what more to describe here. You can try to upload any GeoJSON file that is a few MB large and you should see this happening, i.e. preview works, upload doesn't |
Just checked with a sample from the Geonames dataset, taking 190.000 features, just below the 100MB limit from Elastic Maps and imported without issues. Also checked a smaller (34MB) completely different point dataset without isuses. We really need a dataset that surfaces the error to work on the this issue. |
You can try this one and download the GeoJSON file: |
I've uploaded it from my browser (Chrome) to a deployment in Elastic Cloud with 7.17.5 without any issues. I recreated the Index Pattern to select a temporal field and I could play with the dataset. @nickpeihl do you see anything on the browser console screenshots that ring a bell? |
Thanks for trying it out @jsanz On my end, it goes up to 4% and then I can see the following error in the Network tab
PS: Worth noting that the 7.17.3 cluster is not a small one (24 data nodes) and isn't overloaded right now. |
This issue sounds like a duplicate of #72985. The original issue was fixed with #93678 which was merged into 7.13.0. The fix for cloud uploads was to chunk the file into 1MB pieces. I wonder if the issue has more to due with connection speed and connecting to cloud. Maybe 1MB upload chuncking is still too large for poor connections. |
Just checked with a larger cluster (3 Elasticsearch, 3 Kibana) and worked well. I then enabled the Tested the same dataset and throttling in |
I have opened #139760 to address the issue. The solution works well for files with small to medium features. However, the solution does not resolve the problem for files with large features. It may never be possible to upload large features on a slow connection. |
Kibana version:
7.10.0
Elasticsearch version:
7.10.0
Server OS version:
Elastic Cloud
Browser version:
Chrome 89.0.4389.90
Browser OS version:
MacOS Sierra 10.13.6
Describe the bug:
Importing a GeoJSON file into a new map layer fails
Steps to reproduce:
Expected behavior:
The GeoJSON file should be successfully imported since:
Screenshots (if relevant):
Just after dropping the file, the map displays all the geo points:
However, when clicking on "Import file", the file starts to upload and eventually fails. The right panel doesn't show anything anymore and there's an error in the console (see below)
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
I tried on another Elastic Cloud deployment running 7.12.0, but I'm hitting a different issue (i.e. HTTP 408 Timeout error instead of HTTP 400)
The text was updated successfully, but these errors were encountered: