1panel部署PandoraHelper反代后用户端打不开

1panel部署PandoraHelper反代后用户端打不开,用默认的就没事,反代就不行
地址栏提示 /auth/login_oauth?token=

页面提示

Unexpected Application Error!

404 Not Found

配置文件
{
“security”: {
“admin_password”: “aa@K7yYs2*VUH7MwfNUwjf”
},
“http”: {
“host”: “0.0.0.0”,
“port”: 9000,
“proxy-pass”: {
“oaifree”: {
“enable”: true,
“host”: “https://new.oaifree.com”,
“port”: 9001
},
“fuclaude”: {
“enable”: true,
“host”: “https://demo.fuclaude.com”,
“port”: 9002
}
},
“title”: “Pandora”,
“rate”: 1000
},
“database”: {
“driver”: “sqlite”,
“dsn”: “./data/data.db”
},
“share”: {
“random”: true,
“custom”: true
},
“pandora”: {
“domain”: {
“chat”: “https://chat.oaifree.com”,
“token”: “https://token.oaifree.com”,
“index”: “我反代的域名”,
“claude”: “https://demo.fuclaude.com
}
},
“moderation”: {
“apiKey”: “”,
“apiUrl”: “https://api-proxy.oaipro.com/v1/moderations”,
“message”: “您的消息包含不当内容,请修改后重试!”
},
“oneapi”: {
“token”: “”,
“domain”: “”
},
“log”: {
“level”: “info”,
“encoding”: “console”,
“output”: “console”,
“log_file_name”: “./logs/server.log”,
“max_backups”: 30,
“max_age”: 7,
“max_size”: 1024,
“compress”: true
}
}

2 Likes

尽快修复

谢谢大佬 :smiling_face_with_three_hearts:

1 Like

看着像是access token或者share token过期,你试试直接用始皇的服务看看能不能进入。
始皇服务share token登录接口:/auth/login_share?token={share token}

我反代是用始皇的帖子,然后用cf的worker的方式反代的,然后1panel给了证书走的https请求

你账号的 access token 有问题,或者是你部署的机器访问不了始皇的服务

我用的是甲骨文的arm机器,用默认的就没事,反代就这样,我试试换搬瓦工搭建看看

谢谢,我试试看

我用搬瓦工也搭建了一下,“index”: 修改域名还是之前问题,要是不修改用默认的就没问题会跳到https://new.oaifree.com/

我是用的始皇的登录接口,我不修改“index”: 可以正常用,修改后就不行,不修改前端反代会进自己域名,自己域名admin,然后客户端就会跳到https://new.oaifree.com/

这样新建的客户端在使用时候域名是https://new.oaifree.com/
还是自己反代的域名

我也是这样,服啦

我放弃了,我试了几个服务器,两个部署版本都试过,都是一样的

这里还有一个要注意的,配置文件里的域名别带最后的斜杠