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

Creating new layer from Shapefile causes Layman to crash #175

Closed
fzadrazil opened this issue Dec 2, 2020 · 3 comments
Closed

Creating new layer from Shapefile causes Layman to crash #175

fzadrazil opened this issue Dec 2, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@fzadrazil
Copy link
Collaborator

image
After inserting new layer from Shp (epsg:4326), all the subsequent requests for this layer ends with proxy error. Tried on three different servers with the same result, using Layman 1.7.3.

@bvj
Copy link

bvj commented Dec 3, 2020

not only subsequent requests for this layer, but all requests for any layer

log:
[2020-12-02 14:31:13 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:38)
[2020-12-02 14:31:13 +0000] [38] [INFO] Worker exiting (pid: 38)
[2020-12-02 14:31:13 +0000] [44] [INFO] Booting worker with pid: 44
[2020-12-02 14:31:13,934] INFO in init: IN_CELERY_WORKER_PROCESS=False
[2020-12-02 14:31:13,934] INFO in init: IN_PYTEST_PROCESS=False
[2020-12-02 14:31:13,934] INFO in init: IN_FLOWER_PROCESS=False
[2020-12-02 14:31:13,934] INFO in init: IN_FLASK_PROCESS=True

@jirik
Copy link
Member

jirik commented Dec 3, 2020

Seems like layman container is not running, whereas layman test client is. Full log of layman container would be useful.

@jirik
Copy link
Member

jirik commented Dec 3, 2020

After some investigation it seems that Layman freezes on posting new feature type to GeoServer:
https://github.com/jirik/layman/blob/66cc4ee5d083fab0bf47c69a0cfc6e0dd11acaff/src/layman/layer/geoserver/__init__.py#L94

The reason of this freezing is still unknown. It freezes on 1.7.3, but it's not happening after downgrade to 1.7.2.

@jirik jirik added the bug Something isn't working label Dec 3, 2020
jirik added a commit that referenced this issue Dec 10, 2020
jirik added a commit that referenced this issue Dec 10, 2020
@jirik jirik closed this as completed in 3a9b3a1 Dec 13, 2020
jirik added a commit that referenced this issue Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants