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

Unhandled ya_activity.ApiException when destroying activity after unsuccessful ssh check #120

Open
lucekdudek opened this issue Nov 14, 2023 · 1 comment

Comments

@lucekdudek
Copy link
Contributor

Traceback (most recent call last):
  File "/home/lucjan/Repos/golem-ray/ray_on_golem/server/services/golem/golem.py", line 278, in _create_activity_retry
    return await self._create_activity(
  File "/home/lucjan/Repos/golem-ray/ray_on_golem/server/services/golem/golem.py", line 311, in _create_activity
    await activity.destroy()
  File "/home/lucjan/Repos/golem-core-python/golem/resources/base.py", line 60, in wrapper
    return await f(*args, **kwargs)
  File "/home/lucjan/Repos/golem-core-python/golem/resources/activity/activity.py", line 90, in destroy
    await self.api.destroy_activity(self.id)
  File "/home/lucjan/Repos/golem-ray/.venv/lib/python3.10/site-packages/ya_activity/api_client.py", line 205, in __call_api
    raise e
  File "/home/lucjan/Repos/golem-ray/.venv/lib/python3.10/site-packages/ya_activity/api_client.py", line 193, in __call_api
    response_data = await self.request(
  File "/home/lucjan/Repos/golem-ray/.venv/lib/python3.10/site-packages/ya_activity/rest.py", line 248, in DELETE
    return await self.request(
  File "/home/lucjan/Repos/golem-ray/.venv/lib/python3.10/site-packages/ya_activity/rest.py", line 180, in request
    raise ApiException(http_resp=r)
ya_activity.exceptions.ApiException: (408)
@lucekdudek
Copy link
Contributor Author

lucekdudek commented Dec 14, 2023

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