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

[Question]: How to remotely connect to Ubuntu server? #4197

Open
myrainbowandsky opened this issue Dec 23, 2024 · 4 comments
Open

[Question]: How to remotely connect to Ubuntu server? #4197

myrainbowandsky opened this issue Dec 23, 2024 · 4 comments
Labels
question Further information is requested

Comments

@myrainbowandsky
Copy link

myrainbowandsky commented Dec 23, 2024

Describe your problem

I tried :

autossh -M 0 -N -f -L 127.0.0.1:9380:127.0.0.1:9380 xy@remote

the remote termial got:

2024-12-24 00:14:33,998 INFO     5523
        ____   ___    ______ ______ __
       / __ \ /   |  / ____// ____// /____  _      __
      / /_/ // /| | / / __ / /_   / // __ \| | /| / /
     / _, _// ___ |/ /_/ // __/  / // /_/ /| |/ |/ /
    /_/ |_|/_/  |_|\____//_/    /_/ \____/ |__/|__/


2024-12-24 00:14:33,999 INFO     5523 RAGFlow version: 0d5486aa(v0.14.1~75) full
2024-12-24 00:14:33,999 INFO     5523 project base: /ragflow
2024-12-24 00:14:33,999 INFO     5523 Current configs, from /ragflow/conf/service_conf.yaml:
	ragflow: {'host': '0.0.0.0', 'http_port': 9380}
	mysql: {'name': 'rag_flow', 'user': 'root', 'password': 'infini_rag_flow', 'host': 'mysql', 'port': 3306, 'max_connections': 100, 'stale_timeout': 30}
	minio: {'user': 'rag_flow', 'password': 'infini_rag_flow', 'host': 'minio:9000'}
	es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': 'infini_rag_flow'}
	infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'}
	redis: {'db': 1, 'password': 'infini_rag_flow', 'host': 'redis:6379'}
2024-12-24 00:14:33,999 INFO     5523 Use Elasticsearch http://es01:9200 as the doc engine.
2024-12-24 00:14:34,007 INFO     5523 GET http://es01:9200/ [status:200 duration:0.007s]
2024-12-24 00:14:34,009 INFO     5523 HEAD http://es01:9200/ [status:200 duration:0.002s]
2024-12-24 00:14:34,010 INFO     5523 Elasticsearch http://es01:9200 is healthy.
2024-12-24 00:14:34,014 WARNING  5523 Load term.freq FAIL!
2024-12-24 00:14:34,014 WARNING  5523 Missing synonym.json
2024-12-24 00:14:34,014 WARNING  5523 Realtime synonym is disabled, since no redis connection.
2024-12-24 00:14:34,014 WARNING  5523 Fail to load synonym
2024-12-24 00:14:34,018 WARNING  5523 Load term.freq FAIL!
2024-12-24 00:14:34,019 WARNING  5523 Missing synonym.json
2024-12-24 00:14:34,019 WARNING  5523 Realtime synonym is disabled, since no redis connection.
2024-12-24 00:14:34,019 WARNING  5523 Fail to load synonym
2024-12-24 00:14:34,019 INFO     5523 MAX_CONTENT_LENGTH: 134217728
2024-12-24 00:14:34,019 INFO     5523 SERVER_QUEUE_MAX_LEN: 1024
2024-12-24 00:14:34,019 INFO     5523 SERVER_QUEUE_RETENTION: 3600
2024-12-24 00:14:34,019 INFO     5523 MAX_FILE_COUNT_PER_USER: 0
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/pymysql/connections.py", line 649, in connect
    sock = socket.create_connection(
  File "/usr/lib/python3.10/socket.py", line 824, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/peewee.py", line 3232, in connect
    self._state.set_connection(self._connect())
  File "/ragflow/.venv/lib/python3.10/site-packages/playhouse/pool.py", line 76, in inner
    return fn(self, *args, **kwargs)
  File "/ragflow/.venv/lib/python3.10/site-packages/playhouse/pool.py", line 169, in _connect
    conn = super(PooledDatabase, self)._connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/peewee.py", line 4201, in _connect
    conn = mysql.connect(db=self.database, autocommit=True,
  File "/ragflow/.venv/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/pymysql/connections.py", line 716, in connect
    raise exc
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'mysql' ([Errno -2] Name or service not known)")

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/api/ragflow_server.py", line 77, in <module>
    init_web_db()
  File "/ragflow/.venv/lib/python3.10/site-packages/peewee.py", line 3127, in inner
    with ConnectionContext(self.db):
  File "/ragflow/.venv/lib/python3.10/site-packages/peewee.py", line 3122, in __enter__
    self.db.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/playhouse/pool.py", line 121, in connect
    return super(PooledDatabase, self).connect(reuse_if_open)
  File "/ragflow/.venv/lib/python3.10/site-packages/peewee.py", line 3231, in connect
    with __exception_wrapper__:
  File "/ragflow/.venv/lib/python3.10/site-packages/peewee.py", line 3059, in __exit__
    reraise(new_type, new_type(exc_value, *exc_args), traceback)
  File "/ragflow/.venv/lib/python3.10/site-packages/peewee.py", line 192, in reraise
    raise value.with_traceback(tb)
  File "/ragflow/.venv/lib/python3.10/site-packages/peewee.py", line 3232, in connect
    self._state.set_connection(self._connect())
  File "/ragflow/.venv/lib/python3.10/site-packages/playhouse/pool.py", line 76, in inner
    return fn(self, *args, **kwargs)
  File "/ragflow/.venv/lib/python3.10/site-packages/playhouse/pool.py", line 169, in _connect
    conn = super(PooledDatabase, self)._connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/peewee.py", line 4201, in _connect
    conn = mysql.connect(db=self.database, autocommit=True,
  File "/ragflow/.venv/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/pymysql/connections.py", line 716, in connect
    raise exc
peewee.OperationalError: (2003, "Can't connect to MySQL server on 'mysql' ([Errno -2] Name or service not known)")
2024-12-24 00:14:34,250 ERROR    18 RedisDB.get_unacked_for task_consumer_0 got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 226, in get_unacked_for
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:34,309 ERROR    18 RedisDB.queue_consumer rag_flow_svr_queue got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 195, in queue_consumer
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:35,369 ERROR    18 RedisDB.get_unacked_for task_consumer_0 got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 226, in get_unacked_for
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:35,429 ERROR    18 RedisDB.queue_consumer rag_flow_svr_queue got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 195, in queue_consumer
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:36,488 ERROR    18 RedisDB.get_unacked_for task_consumer_0 got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 226, in get_unacked_for
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:36,548 ERROR    18 RedisDB.queue_consumer rag_flow_svr_queue got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 195, in queue_consumer
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:36,686 INFO     5658 ragflow_server log path: /ragflow/logs/ragflow_server.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
2024-12-24 00:14:37,608 ERROR    18 RedisDB.get_unacked_for task_consumer_0 got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 226, in get_unacked_for
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:37,667 ERROR    18 RedisDB.queue_consumer rag_flow_svr_queue got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 195, in queue_consumer
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:38,728 ERROR    18 RedisDB.get_unacked_for task_consumer_0 got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 226, in get_unacked_for
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:38,788 ERROR    18 RedisDB.queue_consumer rag_flow_svr_queue got exception: Error -2 connecting to redis:6379. Name or service not known.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 302, in connect
    sock = self.retry.call_with_retry(
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/retry.py", line 62, in call_with_retry
    return do()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 303, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 696, in _connect
    for res in socket.getaddrinfo(
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/ragflow/rag/utils/redis_conn.py", line 195, in queue_consumer
    group_info = self.REDIS.xinfo_groups(queue_name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
    return self.execute_command("XINFO GROUPS", name)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
    connection.connect()
  File "/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 308, in connect
    raise ConnectionError(self._error_message(e))
valkey.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
2024-12-24 00:14:41,410 INFO     5658 init database on cluster mode successfully
2024-12-24 00:14:45,131 WARNING  18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:14:45,131 INFO     18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:14:45.130515", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:14:51,578 INFO     5658
        ____   ___    ______ ______ __
       / __ \ /   |  / ____// ____// /____  _      __
      / /_/ // /| | / / __ / /_   / // __ \| | /| / /
     / _, _// ___ |/ /_/ // __/  / // /_/ /| |/ |/ /
    /_/ |_|/_/  |_|\____//_/    /_/ \____/ |__/|__/


2024-12-24 00:14:51,579 INFO     5658 RAGFlow version: 0d5486aa(v0.14.1~75) full
2024-12-24 00:14:51,579 INFO     5658 project base: /ragflow
2024-12-24 00:14:51,579 INFO     5658 Current configs, from /ragflow/conf/service_conf.yaml:
	ragflow: {'host': '0.0.0.0', 'http_port': 9380}
	mysql: {'name': 'rag_flow', 'user': 'root', 'password': 'infini_rag_flow', 'host': 'mysql', 'port': 3306, 'max_connections': 100, 'stale_timeout': 30}
	minio: {'user': 'rag_flow', 'password': 'infini_rag_flow', 'host': 'minio:9000'}
	es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': 'infini_rag_flow'}
	infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'}
	redis: {'db': 1, 'password': 'infini_rag_flow', 'host': 'redis:6379'}
2024-12-24 00:14:51,579 INFO     5658 Use Elasticsearch http://es01:9200 as the doc engine.
2024-12-24 00:14:51,587 INFO     5658 GET http://es01:9200/ [status:200 duration:0.007s]
2024-12-24 00:14:51,590 INFO     5658 HEAD http://es01:9200/ [status:200 duration:0.002s]
2024-12-24 00:14:51,590 INFO     5658 Elasticsearch http://es01:9200 is healthy.
2024-12-24 00:14:51,594 WARNING  5658 Load term.freq FAIL!
2024-12-24 00:14:51,594 WARNING  5658 Missing synonym.json
2024-12-24 00:14:51,595 WARNING  5658 Realtime synonym is disabled, since no redis connection.
2024-12-24 00:14:51,595 WARNING  5658 Fail to load synonym
2024-12-24 00:14:51,599 WARNING  5658 Load term.freq FAIL!
2024-12-24 00:14:51,599 WARNING  5658 Missing synonym.json
2024-12-24 00:14:51,599 WARNING  5658 Realtime synonym is disabled, since no redis connection.
2024-12-24 00:14:51,599 WARNING  5658 Fail to load synonym
2024-12-24 00:14:51,599 INFO     5658 MAX_CONTENT_LENGTH: 134217728
2024-12-24 00:14:51,599 INFO     5658 SERVER_QUEUE_MAX_LEN: 1024
2024-12-24 00:14:51,599 INFO     5658 SERVER_QUEUE_RETENTION: 3600
2024-12-24 00:14:51,600 INFO     5658 MAX_FILE_COUNT_PER_USER: 0
2024-12-24 00:15:00,756 INFO     5658 init web data success:7.518873453140259
2024-12-24 00:15:00,758 INFO     5658 RAGFlow HTTP server start...
2024-12-24 00:15:00,760 INFO     5658 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:9380
 * Running on http://172.18.0.3:9380
2024-12-24 00:15:00,761 INFO     5658 Press CTRL+C to quit
2024-12-24 00:15:15,163 WARNING  18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:15:15,164 INFO     18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:15:15.163244", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:15:45,195 WARNING  18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:15:45,196 INFO     18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:15:45.195249", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:16:15,227 WARNING  18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:16:15,228 INFO     18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:16:15.227093", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:16:45,259 WARNING  18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:16:45,260 INFO     18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:16:45.259034", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:17:09,978 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception  # type: ignore[misc]
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
  File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:09,981 INFO     5658 172.18.0.1 - - [24/Dec/2024 00:17:09] "GET / HTTP/1.1" 200 -
2024-12-24 00:17:10,897 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception  # type: ignore[misc]
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
  File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:10,898 INFO     5658 172.18.0.1 - - [24/Dec/2024 00:17:10] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-24 00:17:15,291 WARNING  18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:17:15,292 INFO     18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:17:15.291337", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:17:27,057 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception  # type: ignore[misc]
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
  File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:27,058 INFO     5658 172.18.0.1 - - [24/Dec/2024 00:17:27] "GET / HTTP/1.1" 200 -
2024-12-24 00:17:27,544 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception  # type: ignore[misc]
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
  File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:27,545 INFO     5658 172.18.0.1 - - [24/Dec/2024 00:17:27] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-24 00:17:28,412 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception  # type: ignore[misc]
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
  File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:28,413 INFO     5658 172.18.0.1 - - [24/Dec/2024 00:17:28] "GET / HTTP/1.1" 200 -
2024-12-24 00:17:28,924 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception  # type: ignore[misc]
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
  File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:28,925 INFO     5658 172.18.0.1 - - [24/Dec/2024 00:17:28] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-24 00:17:30,689 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception  # type: ignore[misc]
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
  File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:30,690 INFO     5658 172.18.0.1 - - [24/Dec/2024 00:17:30] "GET / HTTP/1.1" 200 -
2024-12-24 00:17:31,114 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception  # type: ignore[misc]
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
  File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:31,115 INFO     5658 172.18.0.1 - - [24/Dec/2024 00:17:31] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-24 00:17:45,034 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
    self.raise_routing_exception(req)
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
    raise request.routing_exception  # type: ignore[misc]
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
  File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
    raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:45,036 INFO     5658 172.18.0.1 - - [24/Dec/2024 00:17:45] "GET / HTTP/1.1" 200 -
2024-12-24 00:17:45,321 WARNING  18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:17:45,321 INFO     18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:17:45.320841", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:17:45,584 ERROR    5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()

File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:17:45,585 INFO 5658 172.18.0.1 - - [24/Dec/2024 00:17:45] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-24 00:18:00,480 ERROR 5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:18:00,481 INFO 5658 172.18.0.1 - - [24/Dec/2024 00:18:00] "GET / HTTP/1.1" 200 -
2024-12-24 00:18:01,355 ERROR 5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:18:01,356 INFO 5658 172.18.0.1 - - [24/Dec/2024 00:18:01] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-24 00:18:03,005 ERROR 5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:18:03,006 INFO 5658 172.18.0.1 - - [24/Dec/2024 00:18:03] "GET / HTTP/1.1" 200 -
2024-12-24 00:18:03,455 ERROR 5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:18:03,456 INFO 5658 172.18.0.1 - - [24/Dec/2024 00:18:03] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-24 00:18:15,353 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:18:15,354 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:18:15.353010", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:18:45,385 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:18:45,386 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:18:45.385109", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:19:15,415 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:19:15,415 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:19:15.414678", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:19:45,446 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:19:45,447 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:19:45.446367", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:20:15,478 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:20:15,479 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:20:15.478067", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:20:45,510 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:20:45,511 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:20:45.510135", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:21:15,526 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:21:15,527 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:21:15.526546", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:21:45,558 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:21:45,559 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:21:45.558542", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:22:15,590 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:22:15,591 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:22:15.590588", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:22:45,623 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:22:45,623 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:22:45.622666", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:23:15,655 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:23:15,655 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:23:15.654684", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:23:45,687 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:23:45,687 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:23:45.686795", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:24:15,719 WARNING 18 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-24 00:24:15,720 INFO 18 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-24T00:24:15.718873", "boot_at": "2024-12-24T00:03:40.362382", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-24 00:24:33,938 ERROR 5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-24 00:24:33,939 INFO 5658 172.18.0.1 - - [24/Dec/2024 00:24:33] "GET / HTTP/1.1" 200 -
2024-12-24 00:24:34,440 ERROR 5658 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception # type: ignore[misc]

@myrainbowandsky myrainbowandsky added the question Further information is requested label Dec 23, 2024
@KevinHuSh
Copy link
Collaborator

It seems backend server can't access mysql.
Make sure the host of mysql in conf/service_conf.yaml in container is accessible.

@JinHai-CN
Copy link
Contributor

How did you install RAGFlow?

  1. Docker compose
  2. Launch from source code

@myrainbowandsky
Copy link
Author

myrainbowandsky commented Dec 25, 2024

The 1st one, Docker compose using

$ cd ragflow
$ docker logs -f ragflow-server

How did you install RAGFlow?

  1. Docker compose
  2. Launch from source code

@myrainbowandsky
Copy link
Author

It seems backend server can't access mysql. Make sure the host of mysql in conf/service_conf.yaml in container is accessible.
I checked :

docker compose -f docker/docker-compose.yml up -d
WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string.
[+] Running 5/5
 ✔ Container ragflow-minio   Running                                                                                                                                                                                                             0.0s
 ✔ Container ragflow-redis   Running                                                                                                                                                                                                             0.0s
 ✔ Container ragflow-es-01   Running                                                                                                                                                                                                             0.0s
 ✔ Container ragflow-mysql   Healthy                                                                                                                                                                                                             0.5s
 ✔ Container ragflow-server  Running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants