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

Error with the VM cache service #526

Open
hoh opened this issue Jan 31, 2024 · 0 comments
Open

Error with the VM cache service #526

hoh opened this issue Jan 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hoh
Copy link
Member

hoh commented Jan 31, 2024

aleph-vm 0.4.0a1

Jan 31 15:12:54 staging-ovh python3[13237]: 2024-01-31 15:12:54,577 | DEBUG | waiting for VM response
Jan 31 15:12:54 staging-ovh python3[13371]: Error handling request
Jan 31 15:12:54 staging-ovh python3[13371]: Traceback (most recent call last):
Jan 31 15:12:54 staging-ovh python3[13371]:   File "/opt/aleph-vm/aiohttp/web_protocol.py", line 452, in _handle_request
Jan 31 15:12:54 staging-ovh python3[13371]:     resp = await request_handler(request)
Jan 31 15:12:54 staging-ovh python3[13371]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 31 15:12:54 staging-ovh python3[13371]:   File "/opt/aleph-vm/sentry_sdk/integrations/aiohttp.py", line 139, in sentry_app_handle
Jan 31 15:12:54 staging-ovh python3[13371]:     reraise(*_capture_exception(hub))
Jan 31 15:12:54 staging-ovh python3[13371]:   File "/opt/aleph-vm/sentry_sdk/_compat.py", line 99, in reraise
Jan 31 15:12:54 staging-ovh python3[13371]:     raise value
Jan 31 15:12:54 staging-ovh python3[13371]:   File "/opt/aleph-vm/sentry_sdk/integrations/aiohttp.py", line 129, in sentry_app_handle
Jan 31 15:12:54 staging-ovh python3[13371]:     response = await old_handle(self, request)
Jan 31 15:12:54 staging-ovh python3[13371]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 31 15:12:54 staging-ovh python3[13371]:   File "/opt/aleph-vm/aiohttp/web_app.py", line 543, in _handle
Jan 31 15:12:54 staging-ovh python3[13371]:     resp = await handler(request)
Jan 31 15:12:54 staging-ovh python3[13371]:            ^^^^^^^^^^^^^^^^^^^^^^
Jan 31 15:12:54 staging-ovh python3[13371]:   File "/opt/aleph-vm/aleph/vm/guest_api/__main__.py", line 132, in put_in_cache
Jan 31 15:12:54 staging-ovh python3[13371]:     return web.json_response(await redis.set(f"{prefix}:{key}", value, expire=CACHE_EXPIRES_AFTER))
Jan 31 15:12:54 staging-ovh python3[13371]:                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 31 15:12:54 staging-ovh python3[13371]:   File "/usr/lib/python3/dist-packages/aioredis/commands/string.py", line 197, in set
Jan 31 15:12:54 staging-ovh python3[13371]:     fut = self.execute(b'SET', key, value, *args)
Jan 31 15:12:54 staging-ovh python3[13371]:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 31 15:12:54 staging-ovh python3[13371]:   File "/usr/lib/python3/dist-packages/aioredis/commands/__init__.py", line 51, in execute
Jan 31 15:12:54 staging-ovh python3[13371]:     return self._pool_or_conn.execute(command, *args, **kwargs)
Jan 31 15:12:54 staging-ovh python3[13371]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 31 15:12:54 staging-ovh python3[13371]:   File "/usr/lib/python3/dist-packages/aioredis/connection.py", line 322, in execute
Jan 31 15:12:54 staging-ovh python3[13371]:     raise ConnectionClosedError(msg)
Jan 31 15:12:54 staging-ovh python3[13371]: aioredis.errors.ConnectionClosedError: Reader at end of file
Jan 31 15:12:54 staging-ovh python3[13237]: 2024-01-31 15:12:54,589 | DEBUG | Cleaning VM socket resources

image

@hoh hoh added the bug Something isn't working label Jan 31, 2024
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

1 participant