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

I get connection timeout, however ES logs seems okay #480

Open
pullsuzdesheloper opened this issue Apr 24, 2024 · 0 comments
Open

I get connection timeout, however ES logs seems okay #480

pullsuzdesheloper opened this issue Apr 24, 2024 · 0 comments

Comments

@pullsuzdesheloper
Copy link

So i have 2 main documents: A and B.
A has 200K records, while B has 17K. When I say python manage.py search_index --rebuild, A is being indexed without any problem, but B returns me:
elastic_transport.ConnectionTimeout: Connection timed out.

I tried to do it one by one with this command: python manage.py search_index --rebuild --models app.B. The result is still the same. I also checked the ES logs:
{"type": "server", "timestamp": "2024-04-24T00:08:26,315Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "es-docker-cluster", "node.name": "es01", "message": "Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[B][0]]]).", "cluster.uuid": "1WTn6GPTSWK0RdDUDditmw", "node.id": "i_ft-utwSIKBCplG7ZX2aw" } {"type": "server", "timestamp": "2024-04-24T00:09:12,400Z", "level": "INFO", "component": "o.e.c.m.MetadataDeleteIndexService", "cluster.name": "es-docker-cluster", "node.name": "es01", "message": "[B/zeHlCSrpSjuYLwpxH0ySdA] deleting index", "cluster.uuid": "1WTn6GPTSWK0RdDUDditmw", "node.id": "i_ft-utwSIKBCplG7ZX2aw" } {"type": "server", "timestamp": "2024-04-24T00:09:12,624Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateIndexService", "cluster.name": "es-docker-cluster", "node.name": "es01", "message": "[B] creating index, cause [api], templates [], shards [1]/[0]", "cluster.uuid": "1WTn6GPTSWK0RdDUDditmw", "node.id": "i_ft-utwSIKBCplG7ZX2aw" } {"type": "server", "timestamp": "2024-04-24T00:09:12,776Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "es-docker-cluster", "node.name": "es01", "message": "Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[B][0]]]).", "cluster.uuid": "1WTn6GPTSWK0RdDUDditmw", "node.id": "i_ft-utwSIKBCplG7ZX2aw" }

It seems like, the problem is not related to ES, but something between Django and ES.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant