question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Time out on large layers

See original GitHub issue

This parcel layer has 1.846 million features.

esri2geojson http://gis2.cookcountyil.gov/arcgis/rest/services/cookVwrDynmcCondo/MapServer/44 condos.geojson
cli.esridump - INFO - Built 1846 requests using OID where clause method
Traceback (most recent call last):
  File "/usr/local/bin/esri2geojson", line 9, in <module>
    load_entry_point('esridump==1.1.1', 'console_scripts', 'esri2geojson')()
  File "/Library/Python/2.7/site-packages/esridump/cli.py", line 88, in main
    feature = feature_iter.next()
  File "/Library/Python/2.7/site-packages/esridump/dumper.py", line 360, in __iter__
    raise EsriDownloadError("Could not connect to URL", e)
esridump.errors.EsriDownloadError: ('Could not connect to URL', ReadTimeout(ReadTimeoutError("HTTPConnectionPool(host='gis2.cookcountyil.gov', port=80): Read timed out. (read timeout=30)",),))

It cuts out at 226 MB after 1 minute. I’m guessing the final version will be nearly 1 GB.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
iandeescommented, Sep 7, 2016

This is more of a problem that the server is getting overwhelmed than something wrong with the code. We could maybe add a retry and backoff timer so we don’t hit the server quite as quickly as we do now.

0reactions
andrewharveycommented, Jul 12, 2019

@stevevance If the layer has an ID field, then I’ve found forcing esri2geojson to query by ID range avoids timeouts, you can now do this with --paginate-oid, from https://github.com/openaddresses/pyesridump/commit/a4c68db6025264e323bb73b9d901be6050ae6f7f. Could you try that and see if it makes a difference?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Decrease timeout setting for map layers that are s...
I'm wondering if there is a map setting for reducing the timeout (wait time) on layers that are slow or fail to load?...
Read more >
Resolving Server Timeouts in large artifacts - JFrog
In this article we will be covering some server timeout scenarios using Artifactory as artifacts and docker images for troubleshooting.
Read more >
"I/O error: Read timed out" pulling large Docker layer using ...
These timeouts occur exactly 20 seconds after the layer read begins. Our “Connection/Socket timeout” System Setting just happens to be set to 20 ......
Read more >
Docker hub keeps timing out and retrying on large image layer ...
I have an unavoidably large docker image layer (2.4GB). When I push the image to my paid docker hub registry account (support is ......
Read more >
Timeout while uploading large files in GeoNode / GeoServer
I am getting timeout while uploading large files in GeoNode ( System Configuration : GeoNode 3.1.0 , GeoServer 2.16.2 installed on Ubuntu ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found