songquanpeng / one-api

OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.
https://openai.justsong.cn/
MIT License
18.58k stars 4.19k forks source link

手动部署后访问出现空白页面 #1078

Closed Narakuuuu closed 3 months ago

Narakuuuu commented 7 months ago

image

Narakuuuu commented 7 months ago

求指导

MustAPI commented 7 months ago

https://blog.pppfz.com/index.php/archives/28/?scroll=comment-10

Yuanlw commented 7 months ago

解决了吗?重新安装试试,我也发现这个问题

songquanpeng commented 7 months ago

请问是自己编译的么?

lijie97 commented 7 months ago

同样有这个问题, 本地编译的, 修改过端口号也不行, windows 系统

huxiaochen-corporation commented 6 months ago

我的问题差不多, windows 系统本地编译的, 修改过端口号。能ping通,但是这个网页访问不了。 另外我还没装fastGPT,因此应该不存在端口号冲突。 image image image image

huxiaochen-corporation commented 6 months ago

请问是自己编译的么?

我的是自己编译的

songquanpeng commented 6 months ago

自己编译的话我猜是没有编译打包前端,参考dockerfile看一下编译流程哈

songquanpeng commented 6 months ago

看一下这里也可以:https://github.com/songquanpeng/one-api/blob/main/.github%2Fworkflows%2Flinux-release.yml

13829386012 commented 5 months ago

@huxiaochen-corporation 请问你解决了吗?我遇到了同样的问题

13829386012 commented 5 months ago

@songquanpeng 你好,我也是执行npm run build命令编译打包的,运行./one-api --port 3000 --log-dir ./log后 run 卡在token encoders initialized这里 访问http://localhost:3000/是一片空白,要如何解决? 环境是:windows10,公司内部离线环境 花了几天时间还未解决,求助!

13829386012 commented 5 months ago

@songquanpeng 你好,我也是执行npm run build命令编译打包的,运行./one-api --port 3000 --log-dir ./log后 run 卡在token encoders initialized这里 访问http://localhost:3000/是一片空白,要如何解决? 环境是:windows10,公司内部离线环境 花了几天时间还未解决,求助!

已经解决!

kingkingkids commented 3 months ago

请问怎么解决啊?

13829386012 commented 3 months ago

请问怎么解决啊?

看下部署文件,有个前端需要启动yarn start,要改一下端口号以免冲突

Noahhhhha commented 2 months ago

救命,能不能帮帮,部署文件在哪里~

是说这个吗https://github.com/songquanpeng/one-api/blob/main/.github/workflows/windows-release.yml

我也是执行npm run build命令编译打包的,运行./one-api --port 3000 --log-dir ./log