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

Queries fail after trying to query, when app was recently deployed. #990

Open
Somebi opened this issue Dec 16, 2024 · 0 comments
Open

Queries fail after trying to query, when app was recently deployed. #990

Somebi opened this issue Dec 16, 2024 · 0 comments

Comments

@Somebi
Copy link

Somebi commented Dec 16, 2024

Queries fail after trying to query, when app was recently deployed.

  File "/home/beck/.local/share/virtualenvs/api-bjhqPKPA/lib/python3.11/site-packages/vespa/application.py", line 316, in query
    return sync_app.query(body=body, groupname=groupname, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/beck/.local/share/virtualenvs/api-bjhqPKPA/lib/python3.11/site-packages/vespa/application.py", line 1236, in query
    raise_for_status(response)
  File "/home/beck/.local/share/virtualenvs/api-bjhqPKPA/lib/python3.11/site-packages/vespa/application.py", line 73, in raise_for_status
    raise VespaError(errors) from http_error
vespa.exceptions.VespaError: [{'code': 10, 'summary': 'Backend communication error', 'source': 'images_content', 'message': 'Connection failure on nodes with distribution-keys: 0'}]

Application deployment finished successfully, but app couldn't query.
After some time, restarting app, it managed to query.
It seems that there are still some background stuff happening, which is not considered by application deployment.

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