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 does local Mac connect remote Ubuntu 22.04? #4282

Open
myrainbowandsky opened this issue Dec 28, 2024 · 1 comment
Open

[Question]: How does local Mac connect remote Ubuntu 22.04? #4282

myrainbowandsky opened this issue Dec 28, 2024 · 1 comment
Labels
question Further information is requested

Comments

@myrainbowandsky
Copy link

Describe your problem

docker logs -f ragflow-server
2024-12-28 23:45:22,301 INFO     14 ragflow_server log path: /ragflow/logs/ragflow_server.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
2024-12-28 23:45:22,756 INFO     17 task_executor_0 log path: /ragflow/logs/task_executor_0.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
2024-12-28 23:45:27,655 INFO     14 init database on cluster mode successfully
2024-12-28 23:45:27,790 INFO     17 init database on cluster mode successfully
2024-12-28 23:45:35,701 INFO     14
        ____   ___    ______ ______ __
       / __ \ /   |  / ____// ____// /____  _      __
      / /_/ // /| | / / __ / /_   / // __ \| | /| / /
     / _, _// ___ |/ /_/ // __/  / // /_/ /| |/ |/ /
    /_/ |_|/_/  |_|\____//_/    /_/ \____/ |__/|__/


2024-12-28 23:45:35,701 INFO     14 RAGFlow version: v0.15.1 slim
2024-12-28 23:45:35,701 INFO     14 project base: /ragflow
2024-12-28 23:45:35,701 INFO     14 Current configs, from /ragflow/conf/service_conf.yaml:
	ragflow: {'host': '0.0.0.0', 'http_port': 9380}
	mysql: {'name': 'rag_flow', 'user': 'root', 'password': '********', 'host': 'mysql', 'port': 3306, 'max_connections': 100, 'stale_timeout': 30}
	minio: {'user': 'rag_flow', 'password': '********', 'host': 'minio:9000'}
	es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': '********'}
	infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'}
	redis: {'db': 1, 'password': '********', 'host': 'redis:6379'}
2024-12-28 23:45:35,701 INFO     14 Use Elasticsearch http://es01:9200 as the doc engine.
2024-12-28 23:45:35,863 INFO     14 GET http://es01:9200/ [status:200 duration:0.161s]
2024-12-28 23:45:35,868 INFO     14 HEAD http://es01:9200/ [status:200 duration:0.004s]
2024-12-28 23:45:35,868 INFO     14 Elasticsearch http://es01:9200 is healthy.
2024-12-28 23:45:35,872 WARNING  14 Load term.freq FAIL!
2024-12-28 23:45:35,876 WARNING  14 Realtime synonym is disabled, since no redis connection.
2024-12-28 23:45:35,881 WARNING  14 Load term.freq FAIL!
2024-12-28 23:45:35,885 WARNING  14 Realtime synonym is disabled, since no redis connection.
2024-12-28 23:45:35,885 INFO     14 MAX_CONTENT_LENGTH: 134217728
2024-12-28 23:45:35,885 INFO     14 SERVER_QUEUE_MAX_LEN: 1024
2024-12-28 23:45:35,885 INFO     14 SERVER_QUEUE_RETENTION: 3600
2024-12-28 23:45:35,885 INFO     14 MAX_FILE_COUNT_PER_USER: 0
2024-12-28 23:45:36,498 INFO     17 generated new fontManager
2024-12-28 23:45:42,985 INFO     14 init web data success:2.034282922744751
2024-12-28 23:45:42,987 INFO     14 RAGFlow HTTP server start...
2024-12-28 23:45:42,988 INFO     14 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.6:9380
2024-12-28 23:45:42,988 INFO     14 Press CTRL+C to quit
2024-12-28 23:45:47,951 INFO     17
  ______           __      ______                     __
 /_  __/___ ______/ /__   / ____/  _____  _______  __/ /_____  _____
  / / / __ `/ ___/ //_/  / __/ | |/_/ _ \/ ___/ / / / __/ __ \/ ___/
 / / / /_/ (__  ) ,<    / /____>  </  __/ /__/ /_/ / /_/ /_/ / /
/_/  \__,_/____/_/|_|  /_____/_/|_|\___/\___/\__,_/\__/\____/_/

2024-12-28 23:45:47,951 INFO     17 TaskExecutor: RAGFlow version: v0.15.1 slim
2024-12-28 23:45:47,951 INFO     17 Use Elasticsearch http://es01:9200 as the doc engine.
2024-12-28 23:45:47,959 INFO     17 GET http://es01:9200/ [status:200 duration:0.007s]
2024-12-28 23:45:47,962 INFO     17 HEAD http://es01:9200/ [status:200 duration:0.002s]
2024-12-28 23:45:47,962 INFO     17 Elasticsearch http://es01:9200 is healthy.
2024-12-28 23:45:47,970 WARNING  17 Load term.freq FAIL!
2024-12-28 23:45:47,973 WARNING  17 Realtime synonym is disabled, since no redis connection.
2024-12-28 23:45:47,978 WARNING  17 Load term.freq FAIL!
2024-12-28 23:45:47,982 WARNING  17 Realtime synonym is disabled, since no redis connection.
2024-12-28 23:45:47,982 INFO     17 MAX_CONTENT_LENGTH: 134217728
2024-12-28 23:45:47,982 INFO     17 SERVER_QUEUE_MAX_LEN: 1024
2024-12-28 23:45:47,982 INFO     17 SERVER_QUEUE_RETENTION: 3600
2024-12-28 23:45:47,982 INFO     17 MAX_FILE_COUNT_PER_USER: 0
2024-12-28 23:45:47,986 WARNING  17 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-28 23:45:47,987 INFO     17 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-28T23:45:47.986+08:00", "boot_at": "2024-12-28T23:45:47.950+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}

at local mac: I tried ssh -N -f -L localhost:10080:localhost:80 name@ip -p 12347
at local mac: when I open browser with http://localhost:10080/ , nothing showed up.

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

I don't think remote means localhost, so it should be the IP of your remote Ubuntu.

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

2 participants