Error 110 connecting to super__redis:6379. Connection timed out..
⚠️ Check for existing issues before proceeding. ⚠️
- [X] I have searched the existing issues, and there is no existing issue for my problem
Where are you using SuperAGI?
Linux
Which branch of SuperAGI are you using?
Main
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
While ruuning docker-compose up --build, it is ending with Cannot connect to redis://super__redis:6379/0: Error 110 connecting to super__redis:6379. Connection timed out..
How to replicate your Issue?
Upload Error Log Content
superagi-backend-1 | Traceback (most recent call last): superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 677, in lifespan superagi-backend-1 | async with self.lifespan_context(app) as maybe_state: superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 566, in aenter superagi-backend-1 | await self._router.startup() superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 654, in startup superagi-backend-1 | await handler() superagi-backend-1 | File "/app/main.py", line 151, in startup_event superagi-backend-1 | default_user = session.query(User).filter(User.email == "[email protected]").first() superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/query.py", line 2747, in first superagi-backend-1 | return self.limit(1)._iter().first() # type: ignore superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/query.py", line 2846, in _iter superagi-backend-1 | result: Union[ScalarResult[_T], Result[_T]] = self.session.execute( superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2225, in execute superagi-backend-1 | return self._execute_internal( superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2110, in _execute_internal superagi-backend-1 | conn = self._connection_for_bind(bind) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1977, in _connection_for_bind superagi-backend-1 | return trans._connection_for_bind(engine, execution_options) superagi-backend-1 | File "", line 2, in _connection_for_bind superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/state_changes.py", line 136, in _go superagi-backend-1 | ret_value = fn(self, *arg, **kw) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1109, in _connection_for_bind superagi-backend-1 | conn = bind.connect() superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3264, in connect superagi-backend-1 | return self._connection_cls(self) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 147, in init superagi-backend-1 | Connection._handle_dbapi_exception_noconnection( superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2426, in _handle_dbapi_exception_noconnection superagi-backend-1 | raise sqlalchemy_exception.with_traceback(exc_info[2]) from e superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 145, in init superagi-backend-1 | self._dbapi_connection = engine.raw_connection() superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3288, in raw_connection superagi-backend-1 | return self.pool.connect() superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 452, in connect superagi-backend-1 | return _ConnectionFairy._checkout(self) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 1267, in _checkout superagi-backend-1 | fairy = _ConnectionRecord.checkout(pool) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 716, in checkout superagi-backend-1 | rec = pool._do_get() superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/impl.py", line 170, in _do_get superagi-backend-1 | self._dec_overflow() superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 147, in exit superagi-backend-1 | raise exc_value.with_traceback(exc_tb) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/impl.py", line 167, in _do_get superagi-backend-1 | return self._create_connection() superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 393, in _create_connection superagi-backend-1 | return _ConnectionRecord(self) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 678, in init superagi-backend-1 | self.__connect() superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 903, in __connect superagi-backend-1 | pool.logger.debug("Error on connect(): %s", e) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 147, in exit superagi-backend-1 | raise exc_value.with_traceback(exc_tb) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 898, in __connect superagi-backend-1 | self.dbapi_connection = connection = pool._invoke_creator(self) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 637, in connect superagi-backend-1 | return dialect.connect(*cargs, **cparams) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 615, in connect superagi-backend-1 | return self.loaded_dbapi.connect(*cargs, **cparams) superagi-backend-1 | File "/usr/local/lib/python3.9/site-packages/psycopg2/init.py", line 122, in connect superagi-backend-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync) superagi-backend-1 | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "super__postgres" (172.22.0.2), port 5432 failed: Connection timed out superagi-backend-1 | Is the server running on that host and accepting TCP/IP connections? superagi-backend-1 | superagi-backend-1 | (Background on this error at: https://sqlalche.me/e/20/e3q8) superagi-backend-1 | superagi-backend-1 | ERROR: Application startup failed. Exiting. superagi-backend-1 | INFO: Stopping reloader process [1]
Can you give redis logs using sudo docker compose logs super__redis
ubuntu@ip-172-31-32-73:~/abhinav/SuperAGI$ sudo docker compose logs super__redis
superagi-super__redis-1 | 8:C 07 Jul 2023 09:09:33.053 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
superagi-super__redis-1 | 8:C 07 Jul 2023 09:09:33.054 # Redis version=6.2.12, bits=64, commit=00000000, modified=0, pid=8, just started
superagi-super__redis-1 | 8:C 07 Jul 2023 09:09:33.054 # Configuration loaded
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.055 * Increased maximum number of open files to 10032 (it was originally set to 1024).
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.055 * monotonic clock: POSIX clock_gettime
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.056 * Running mode=standalone, port=6379.
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.056 # Server initialized
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.056 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.086 * Redis version found by RedisSearch : 6.2.12 - oss
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.088 * RediSearch version 2.6.9 (Git=HEAD-b205a1d5)
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.088 * Low level api version 1 initialized successfully
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.089 * concurrent writes: OFF, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results: 10000, search pool size: 20, index pool size: 8,
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.090 * Initialized thread pool!
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.090 * Enabled diskless replication
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.090 * Enabled role change notification
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.092 * Module 'search' loaded from /opt/redis-stack/lib/redisearch.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.132 * Enabled role change notification
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.132 * Starting up RedisGraph version 2.10.10.
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.134 * Thread pool created, using 16 threads.
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.134 * Maximum number of OpenMP threads set to 16
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.135 * Module 'graph' loaded from /opt/redis-stack/lib/redisgraph.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.141 * RedisTimeSeries version 10810, git_sha=78d8254a4ed499e4e24566ab76c9275130c8786b
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.141 * Redis version found by RedisTimeSeries : 6.2.12 - oss
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.141 * loaded default CHUNK_SIZE_BYTES policy: 4096
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.141 * loaded server DUPLICATE_POLICY: block
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.141 * Setting default series ENCODING to: compressed
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.141 * Detected redis oss
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.142 * Enabled diskless replication
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.142 * Module 'timeseries' loaded from /opt/redis-stack/lib/redistimeseries.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.155 * <ReJSON> version: 20407 git sha: a4412b3 branch: HEAD
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.155 * <ReJSON> Exported RedisJSON_V1 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.155 * <ReJSON> Exported RedisJSON_V2 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.155 * <ReJSON> Exported RedisJSON_V3 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.155 * <ReJSON> Enabled diskless replication
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.155 * <ReJSON> Created new data type 'ReJSON-RL'
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.155 * Module 'ReJSON' loaded from /opt/redis-stack/lib/rejson.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.155 * Acquired RedisJSON_V3 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.155 * Acquired RedisJSON_V1 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.157 * RedisBloom version 2.4.5 (Git=unknown)
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.157 * Module 'bf' loaded from /opt/redis-stack/lib/redisbloom.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:09:33.157 * Ready to accept connections
superagi-super__redis-1 | 8:signal-handler (1688721528) Received SIGTERM scheduling shutdown...
superagi-super__redis-1 | 8:signal-handler (1688721528) Received SIGTERM scheduling shutdown...
superagi-super__redis-1 | 8:C 07 Jul 2023 09:19:23.579 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
superagi-super__redis-1 | 8:C 07 Jul 2023 09:19:23.579 # Redis version=6.2.12, bits=64, commit=00000000, modified=0, pid=8, just started
superagi-super__redis-1 | 8:C 07 Jul 2023 09:19:23.579 # Configuration loaded
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.580 * Increased maximum number of open files to 10032 (it was originally set to 1024).
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.580 * monotonic clock: POSIX clock_gettime
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.580 * Running mode=standalone, port=6379.
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.580 # Server initialized
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.580 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.582 * Redis version found by RedisSearch : 6.2.12 - oss
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.582 * RediSearch version 2.6.9 (Git=HEAD-b205a1d5)
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.582 * Low level api version 1 initialized successfully
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.582 * concurrent writes: OFF, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results: 10000, search pool size: 20, index pool size: 8,
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.582 * Initialized thread pool!
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.582 * Enabled diskless replication
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.582 * Enabled role change notification
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.582 * Module 'search' loaded from /opt/redis-stack/lib/redisearch.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.584 * Enabled role change notification
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.584 * Starting up RedisGraph version 2.10.10.
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * Thread pool created, using 16 threads.
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * Maximum number of OpenMP threads set to 16
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * Module 'graph' loaded from /opt/redis-stack/lib/redisgraph.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * RedisTimeSeries version 10810, git_sha=78d8254a4ed499e4e24566ab76c9275130c8786b
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * Redis version found by RedisTimeSeries : 6.2.12 - oss
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * loaded default CHUNK_SIZE_BYTES policy: 4096
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * loaded server DUPLICATE_POLICY: block
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * Setting default series ENCODING to: compressed
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * Detected redis oss
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * Enabled diskless replication
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.585 * Module 'timeseries' loaded from /opt/redis-stack/lib/redistimeseries.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * <ReJSON> version: 20407 git sha: a4412b3 branch: HEAD
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * <ReJSON> Exported RedisJSON_V1 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * <ReJSON> Exported RedisJSON_V2 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * <ReJSON> Exported RedisJSON_V3 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * <ReJSON> Enabled diskless replication
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * <ReJSON> Created new data type 'ReJSON-RL'
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * Module 'ReJSON' loaded from /opt/redis-stack/lib/rejson.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * Acquired RedisJSON_V3 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * Acquired RedisJSON_V1 API
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * RedisBloom version 2.4.5 (Git=unknown)
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * Module 'bf' loaded from /opt/redis-stack/lib/redisbloom.so
superagi-super__redis-1 | 8:M 07 Jul 2023 09:19:23.586 * Ready to accept connections
superagi-super__redis-1 | 8:signal-handler (1688724263) Received SIGTERM scheduling shutdown...
superagi-super__redis-1 | 8:signal-handler (1688724263) Received SIGTERM scheduling shutdown...
superagi-super__redis-1 | 8:C 10 Jul 2023 04:13:46.923 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
superagi-super__redis-1 | 8:C 10 Jul 2023 04:13:46.923 # Redis version=6.2.12, bits=64, commit=00000000, modified=0, pid=8, just started
superagi-super__redis-1 | 8:C 10 Jul 2023 04:13:46.923 # Configuration loaded
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.924 * Increased maximum number of open files to 10032 (it was originally set to 1024).
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.924 * monotonic clock: POSIX clock_gettime
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.924 * Running mode=standalone, port=6379.
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.924 # Server initialized
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.924 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.926 * Redis version found by RedisSearch : 6.2.12 - oss
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.926 * RediSearch version 2.6.9 (Git=HEAD-b205a1d5)
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.926 * Low level api version 1 initialized successfully
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.926 * concurrent writes: OFF, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results: 10000, search pool size: 20, index pool size: 8,
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.926 * Initialized thread pool!
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.926 * Enabled diskless replication
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.926 * Enabled role change notification
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.926 * Module 'search' loaded from /opt/redis-stack/lib/redisearch.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.928 * Enabled role change notification
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.928 * Starting up RedisGraph version 2.10.10.
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * Thread pool created, using 16 threads.
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * Maximum number of OpenMP threads set to 16
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * Module 'graph' loaded from /opt/redis-stack/lib/redisgraph.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * RedisTimeSeries version 10810, git_sha=78d8254a4ed499e4e24566ab76c9275130c8786b
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * Redis version found by RedisTimeSeries : 6.2.12 - oss
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * loaded default CHUNK_SIZE_BYTES policy: 4096
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * loaded server DUPLICATE_POLICY: block
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * Setting default series ENCODING to: compressed
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * Detected redis oss
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * Enabled diskless replication
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.929 * Module 'timeseries' loaded from /opt/redis-stack/lib/redistimeseries.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * <ReJSON> version: 20407 git sha: a4412b3 branch: HEAD
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * <ReJSON> Exported RedisJSON_V1 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * <ReJSON> Exported RedisJSON_V2 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * <ReJSON> Exported RedisJSON_V3 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * <ReJSON> Enabled diskless replication
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * <ReJSON> Created new data type 'ReJSON-RL'
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * Module 'ReJSON' loaded from /opt/redis-stack/lib/rejson.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * Acquired RedisJSON_V3 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * Acquired RedisJSON_V1 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * RedisBloom version 2.4.5 (Git=unknown)
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * Module 'bf' loaded from /opt/redis-stack/lib/redisbloom.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:13:46.930 * Ready to accept connections
superagi-super__redis-1 | 8:signal-handler (1688963445) Received SIGTERM scheduling shutdown...
superagi-super__redis-1 | 8:signal-handler (1688963445) Received SIGTERM scheduling shutdown...
superagi-super__redis-1 | 8:C 10 Jul 2023 04:57:37.800 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
superagi-super__redis-1 | 8:C 10 Jul 2023 04:57:37.801 # Redis version=6.2.12, bits=64, commit=00000000, modified=0, pid=8, just started
superagi-super__redis-1 | 8:C 10 Jul 2023 04:57:37.801 # Configuration loaded
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.802 * Increased maximum number of open files to 10032 (it was originally set to 1024).
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.802 * monotonic clock: POSIX clock_gettime
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.803 * Running mode=standalone, port=6379.
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.803 # Server initialized
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.803 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.827 * Redis version found by RedisSearch : 6.2.12 - oss
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.828 * RediSearch version 2.6.9 (Git=HEAD-b205a1d5)
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.828 * Low level api version 1 initialized successfully
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.829 * concurrent writes: OFF, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results: 10000, search pool size: 20, index pool size: 8,
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.830 * Initialized thread pool!
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.830 * Enabled diskless replication
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.830 * Enabled role change notification
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.831 * Module 'search' loaded from /opt/redis-stack/lib/redisearch.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.862 * Enabled role change notification
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.862 * Starting up RedisGraph version 2.10.10.
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.864 * Thread pool created, using 16 threads.
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.864 * Maximum number of OpenMP threads set to 16
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.865 * Module 'graph' loaded from /opt/redis-stack/lib/redisgraph.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.870 * RedisTimeSeries version 10810, git_sha=78d8254a4ed499e4e24566ab76c9275130c8786b
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.870 * Redis version found by RedisTimeSeries : 6.2.12 - oss
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.870 * loaded default CHUNK_SIZE_BYTES policy: 4096
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.870 * loaded server DUPLICATE_POLICY: block
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.870 * Setting default series ENCODING to: compressed
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.871 * Detected redis oss
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.871 * Enabled diskless replication
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.871 * Module 'timeseries' loaded from /opt/redis-stack/lib/redistimeseries.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.882 * <ReJSON> version: 20407 git sha: a4412b3 branch: HEAD
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.882 * <ReJSON> Exported RedisJSON_V1 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.882 * <ReJSON> Exported RedisJSON_V2 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.882 * <ReJSON> Exported RedisJSON_V3 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.882 * <ReJSON> Enabled diskless replication
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.882 * <ReJSON> Created new data type 'ReJSON-RL'
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.882 * Module 'ReJSON' loaded from /opt/redis-stack/lib/rejson.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.882 * Acquired RedisJSON_V3 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.882 * Acquired RedisJSON_V1 API
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.885 * RedisBloom version 2.4.5 (Git=unknown)
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.885 * Module 'bf' loaded from /opt/redis-stack/lib/redisbloom.so
superagi-super__redis-1 | 8:M 10 Jul 2023 04:57:37.886 * Ready to accept connections
Redis seems ready to accept connections but probably Celery started before Redis was up try restarting Celery
docker compose restart celery
restarted celery still issue is not resolved
can you please have a look
I do have the same issue on windows (which didn't happen before e.g. 28 days before), celery-1 is running but super__redis is throwing errors. ERROR/MainProcess] consumer: Cannot connect to redis://super__redis:6379/0: Error -3 connecting to super__redis:6379. Temporary failure in name resolution..
Even if I try manually starting the super_redis container in dockers it says:
superagi-super__redis-1 | 8:C 10 Sep 2023 09:18:11.156 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. superagi-super__redis-1 | 8:C 10 Sep 2023 09:18:11.156 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo superagi-super__redis-1 | 8:C 10 Sep 2023 09:18:11.156 * Redis version=7.2.1, bits=64, commit=00000000, modified=0, pid=8, just started superagi-super__redis-1 | 8:C 10 Sep 2023 09:18:11.156 * Configuration loaded superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.156 * monotonic clock: POSIX clock_gettime superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.157 * Running mode=standalone, port=6379. superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.157 * <search> Redis version found by RedisSearch : 7.2.1 - oss superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.157 * <search> RediSearch version 2.8.4 (Git=HEAD-7797d39d) superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.157 * <search> Low level api version 1 initialized successfully superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.157 * <search> concurrent writes: OFF, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results: 10000, search pool size: 20, index pool size: 8, superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * <search> Initialized thread pools! superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * <search> Enabled role change notification superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * Module 'search' loaded from /opt/redis-stack/lib/redisearch.so superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * <timeseries> RedisTimeSeries version 11004, git_sha=c10178d33caf11177e12ca575092b072d81a5cd2 superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * <timeseries> Redis version found by RedisTimeSeries : 7.2.1 - oss superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * <timeseries> loaded default CHUNK_SIZE_BYTES policy: 4096 superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * <timeseries> loaded server DUPLICATE_POLICY: block superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * <timeseries> Setting default series ENCODING to: compressed superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * <timeseries> Detected redis oss superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.158 * Module 'timeseries' loaded from /opt/redis-stack/lib/redistimeseries.so superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <ReJSON> Created new data type 'ReJSON-RL' superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <ReJSON> version: 20606 git sha: unknown branch: unknown superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <ReJSON> Exported RedisJSON_V1 API superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <ReJSON> Exported RedisJSON_V2 API superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <ReJSON> Exported RedisJSON_V3 API superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <ReJSON> Exported RedisJSON_V4 API superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <ReJSON> Enabled diskless replication superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * Module 'ReJSON' loaded from /opt/redis-stack/lib/rejson.so superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <search> Acquired RedisJSON_V4 API superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <bf> RedisBloom version 2.6.3 (Git=unknown) superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * Module 'bf' loaded from /opt/redis-stack/lib/redisbloom.so superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <redisgears_2> Created new data type 'GearsType' superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <redisgears_2> Detected redis oss superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 # <redisgears_2> could not initialize RedisAI_InitError superagi-super__redis-1 | superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <redisgears_2> Failed loading RedisAI API. superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.159 * <redisgears_2> RedisGears v2.0.11, sha='0aa55951836750ceabd9733decb200f8a5e7bac3', build_type='release', built_for='Linux-ubuntu22.04.x86_64'. superagi-super__redis-1 | superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.160 * <redisgears_2> Registered backend: js. superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.160 * Module 'redisgears_2' loaded from /opt/redis-stack/lib/redisgears.so superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.160 * Server initialized superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.160 * <search> Loading event starts superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.160 * <redisgears_2> Got a loading start event, clear the entire functions data. superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.160 * Loading RDB produced by version 6.2.13 superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.160 * RDB age 4751425 seconds superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.160 * RDB memory usage when created 1.43 Mb superagi-super__redis-1 | 8:M 10 Sep 2023 09:18:11.160 # The RDB file contains AUX module data I can't load: no matching module 'graphdata' superagi-super__redis-1 exited with code 1
graphdata
So is only graphdata missing?
Adding the image for easy readability:
