WebUI无法访问 #1903
Replies: 4 comments 6 replies
-
hxd 解决了吗 |
Beta Was this translation helpful? Give feedback.
-
我通过nginx stream代理解决了这个问题 |
Beta Was this translation helpful? Give feedback.
-
同样问题,我把服务器防火墙关了就好了: |
Beta Was this translation helpful? Give feedback.
-
我遇到同样问题,试了各种方法后才发现。。。 Welcome to Streamlit! If you’d like to receive helpful onboarding emails, news, offers, promotions, Email: 按一下回车,只要一次就好,以后这个问题就解决了。 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
好心大佬帮我瞄一眼,为什么启动所有服务后,web UI端无法访问呀。

只能访问 Chatchat API Server: http://127.0.0.1:7861,但是Chatchat WEBUI Server: http://127.0.0.1:8501显示无法连接,每次访问WEBUI就显示 307 Temporary Redirenct
全部log如下:
PS E:\OneDrive\Coding\AI\Langchain-Chatchat\Langchain-Chatchat-master> python startup.py -a
==============================Langchain-Chatchat Configuration==============================
操作系统:Windows-10-10.0.19045-SP0.
python版本:3.10.12 | packaged by Anaconda, Inc. | (main, Jul 5 2023, 19:01:18) [MSC v.1916 64 bit (AMD64)]
项目版本:v0.2.6
langchain版本:0.0.323. fastchat版本:0.2.31
当前使用的分词器:ChineseRecursiveTextSplitter
当前启动的LLM模型:['chatglm2-6b'] @ cuda
{'device': 'cuda',
'host': '127.0.0.1',
'infer_turbo': False,
'model_path': 'E:\OneDrive\Coding\AI\Langchain-Chatchat\Embeding-LLM-models\chatglm2-6b',
'port': 20002}
当前Embbedings模型: m3e-base @ cuda
==============================Langchain-Chatchat Configuration==============================
2023-10-28 08:43:07,085 - startup.py[line:626] - INFO: 正在启动服务:
2023-10-28 08:43:07,085 - startup.py[line:627] - INFO: 如需查看 llm_api 日志,请前往 E:\OneDrive\Coding\AI\Langchain-Chatchat\Langchain-Chatchat-master\logs
2023-10-28 08:43:09 | ERROR | stderr | �[32mINFO�[0m: Started server process [�[36m14212�[0m]
2023-10-28 08:43:09 | ERROR | stderr | �[32mINFO�[0m: Waiting for application startup.
2023-10-28 08:43:09 | ERROR | stderr | �[32mINFO�[0m: Application startup complete.
2023-10-28 08:43:09 | ERROR | stderr | �[32mINFO�[0m: Uvicorn running on �[1mhttp://127.0.0.1:20000�[0m (Press CTRL+C to quit)
2023-10-28 08:43:16 | INFO | model_worker | Register to controller
2023-10-28 08:43:16 | INFO | model_worker | Loading the model ['chatglm2-6b'] on worker d35066db ...
Loading checkpoint shards: 0%| | 0/7 [00:00<?, ?it/s]
Loading checkpoint shards: 14%|████████▏ | 1/7 [00:01<00:11, 1.84s/it]
Loading checkpoint shards: 29%|████████████████▎ | 2/7 [00:03<00:08, 1.80s/it]
Loading checkpoint shards: 43%|████████████████████████▍ | 3/7 [00:05<00:07, 1.80s/it]
Loading checkpoint shards: 57%|████████████████████████████████▌ | 4/7 [00:07<00:05, 1.74s/it]
Loading checkpoint shards: 71%|████████████████████████████████████████▋ | 5/7 [00:09<00:03, 1.82s/it]
Loading checkpoint shards: 86%|████████████████████████████████████████████████▊ | 6/7 [00:10<00:01, 1.85s/it]
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 7/7 [00:12<00:00, 1.60s/it]
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 7/7 [00:12<00:00, 1.72s/it]
2023-10-28 08:43:29 | ERROR | stderr |
2023-10-28 08:43:34 | INFO | model_worker | Register to controller
INFO: Started server process [4928]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:7861 (Press CTRL+C to quit)
==============================Langchain-Chatchat Configuration==============================
操作系统:Windows-10-10.0.19045-SP0.
python版本:3.10.12 | packaged by Anaconda, Inc. | (main, Jul 5 2023, 19:01:18) [MSC v.1916 64 bit (AMD64)]
项目版本:v0.2.6
langchain版本:0.0.323. fastchat版本:0.2.31
当前使用的分词器:ChineseRecursiveTextSplitter
当前启动的LLM模型:['chatglm2-6b'] @ cuda
{'device': 'cuda',
'host': '127.0.0.1',
'infer_turbo': False,
'model_path': 'E:\OneDrive\Coding\AI\Langchain-Chatchat\Embeding-LLM-models\chatglm2-6b',
'port': 20002}
当前Embbedings模型: m3e-base @ cuda
服务端运行信息:
OpenAI API Server: http://127.0.0.1:20000/v1
Chatchat API Server: http://127.0.0.1:7861
Chatchat WEBUI Server: http://127.0.0.1:8501
==============================Langchain-Chatchat Configuration==============================
INFO: 127.0.0.1:51136 - "GET /docs HTTP/1.1" 200 OK
INFO: 127.0.0.1:51136 - "GET /swagger-ui.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:51137 - "GET /swagger-ui-bundle.js HTTP/1.1" 200 OK
INFO: 127.0.0.1:51137 - "GET /openapi.json HTTP/1.1" 200 OK
INFO: 127.0.0.1:51149 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO: 127.0.0.1:51149 - "GET /docs HTTP/1.1" 200 OK
INFO: 127.0.0.1:51149 - "GET /openapi.json HTTP/1.1" 200 OK
另外conda list如下:
<style> </style>Beta Was this translation helpful? Give feedback.
All reactions