aleph-im / aleph-vm

Aleph.im VM execution engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with the VM cache service

hoh opened this issue · comments

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