Comments (14)
提示mongodb 帐号密码错误 ,这得看你怎么部署的
from chatgpt-web.
可以看我写的教程, 有问题再问喽!具体见:Docker系列 基于OpenAI API和Access Token自建ChatGPT
from chatgpt-web.
提示mongodb 帐号密码错误 ,这得看你怎么部署的
就是宝塔装的mongodb,一直报这个
from chatgpt-web.
提示mongodb 帐号密码错误 ,这得看你怎么部署的
就是宝塔装的mongodb,一直报这个
大佬有没有详细点的教程
from chatgpt-web.
需要把你配置贴出来。 否则没办法看出,以及怎么部署的都不知道, 如果mongodb 是另外单独部署的 MONGODB_URL 检查这个字段的帐号密码
from chatgpt-web.
需要把你配置贴出来。 否则没办法看出,以及怎么部署的都不知道, 如果mongodb 是另外单独部署的 MONGODB_URL 检查这个字段的帐号密码
就是直接启动后端前端的
mongodb数据库不知道怎么配置,用宝塔的一直链接不上
from chatgpt-web.
自己手动跑得话,进入文件夹 /service 下面有一个.env.example 重命名为 .env 把里面的注释按照填写 MONGODB_URL
这个指向你的数据库链接
from chatgpt-web.
自己手动跑得话,进入文件夹 /service 下面有一个.env.example 重命名为 .env 把里面的注释按照填写
MONGODB_URL
这个指向你的数据库链接
大佬,这个已经配置了 MONGODB_URL=mongodb://chatgpt:[email protected]:27017
这样对不对啊,我刚刚百度mongodb教程新建了个chatgpt的数据库,命令是use chatgpt
然后新建用户密码db.createUser({user:'chatgpt',pwd:'123456',roles:['readWrite']})这样是不是不对啊,弄完还是不行
from chatgpt-web.
你是否存在已有数据库呢,如果是连接已有数据库 需要你已有的数据库的帐号密码哦,要已存在 chatgpt 数据库 已存在 chatgpt 账号 123456 密码 从报错来看就是 密码账号不对
from chatgpt-web.
自己手动跑得话,进入文件夹 /service 下面有一个.env.example 重命名为 .env 把里面的注释按照填写
MONGODB_URL
这个指向你的数据库链接
大佬现在报这个
[email protected] start /root/chatgpt-web/service
esno ./src/index.ts
Server is running on port 3002
/root/chatgpt-web/service/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/cmap/connection.js:201
callback(new error_1.MongoServerError(document));
^
MongoServerError: Authentication failed.
at Connection.onMessage (/root/chatgpt-web/service/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/cmap/connection.js:201:30)
at MessageStream. (/root/chatgpt-web/service/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/cmap/connection.js:59:60)
at MessageStream.emit (node:events:513:28)
at MessageStream.emit (node:domain:489:12)
at processIncomingData (/root/chatgpt-web/service/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/cmap/message_stream.js:124:16)
at MessageStream._write (/root/chatgpt-web/service/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at Socket.ondata (node:internal/streams/readable:766:22) {
ok: 0,
code: 18,
codeName: 'AuthenticationFailed',
connectionGeneration: 0,
[Symbol(errorLabels)]: Set(2) { 'HandshakeError', 'ResetPool' }
}
Node.js v18.12.0
ELIFECYCLE Command failed with exit code 1.
root@VM-0-3-debian:~/chatgpt-web/service#
from chatgpt-web.
Authentication failed. 看这个关键词就可以了 帐号密码错误
from chatgpt-web.
很简单的,如果已有数据库 可以用UI管理工具连上去,如果没有去用UI工具创建数据库以及帐号密码
from chatgpt-web.
很简单的,如果已有数据库 可以用UI管理工具连上去,如果没有去用UI工具创建数据库以及帐号密码
好的大佬我去学习一下mongodb麻烦了,宝塔自带的感觉有点问题一直报错
from chatgpt-web.
很简单的,如果已有数据库 可以用UI管理工具连上去,如果没有去用UI工具创建数据库以及帐号密码
大佬这个配置对不对啊,前端没有登录按钮
OpenAI API Key - https://platform.openai.com/overview
OPENAI_API_KEY=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
change this to an accessToken
extracted from the ChatGPT site's https://chat.openai.com/api/auth/session
response
OPENAI_ACCESS_TOKEN=
OpenAI API Base URL - https://api.openai.com
OPENAI_API_BASE_URL=https://api.openai.com
OpenAI API Model - https://platform.openai.com/docs/models
OPENAI_API_MODEL=
set true
to disable OpenAI API debug log
OPENAI_API_DISABLE_DEBUG=
Reverse Proxy - Available on accessToken
Default: https://bypass.churchless.tech/api/conversation
More: https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy
API_REVERSE_PROXY=
timeout
TIMEOUT_MS=100000
Rate Limit
MAX_REQUEST_PER_HOUR=
Socks Proxy Host
SOCKS_PROXY_HOST=
Socks Proxy Port
SOCKS_PROXY_PORT=
Socks Proxy Username
SOCKS_PROXY_USERNAME=
Socks Proxy Password
SOCKS_PROXY_PASSWORD=
HTTPS PROXY
HTTPS_PROXY=
Title for site
SITE_TITLE=""
Databse connection string
MONGODB_URL=mongodb://chatgpt:xxxx@yourip:port
MONGODB_URL=mongodb://admin:[email protected]:27017
Secret key for jwt
If not empty, will need login
AUTH_SECRET_KEY=12345678abcdefg
----- Only valid after setting AUTH_SECRET_KEY begin ----
Allow anyone register
REGISTER_ENABLED=true
Enable register application review
REGISTER_REVIEW=true
The site domain, Only for registration account verification
without end /
SITE_DOMAIN=http://127.0.0.1:1002
Allowed Email Providers, If it is empty, any mailbox is allowed
[email protected],@sina.com,@163.com
[email protected],@sina.com,@163.com,@xihuanni.top
The roon user only email
ROOT_USER=[email protected]
Password salt
PASSWORD_MD5_SALT=tNJ%M&D
User register email verify
SMTP_HOST=smtp.exmail.qq.com
SMTP_PORT=465
SMTP_TSL=true
SMTP_USERNAME=[email protected]
SMTP_PASSWORD=
----- Only valid after setting AUTH_SECRET_KEY end @---
from chatgpt-web.
Related Issues (20)
- 怎么只有三个模型了 HOT 1
- 希望可以添加自定义模型名称,不需要每次新增模型都要作者来更新 HOT 5
- 误修改超级管理员为user,无法恢复其超管身份 HOT 2
- 注册或重置密码邮件无法发送,因缺失 /service/build/utils/templates/mail.template.html 文件。
- 哪位大佬愿意分享一下数据库表结构,不甚感激!!! HOT 5
- Context input token for turbo gpt 4 preview
- 使用 dall-e-3 模型,服务拒绝 HOT 1
- 输出公式没有正常渲染 HOT 1
- 使用逆向的API无法正常携带上下文 HOT 2
- 用户管理建议 HOT 1
- 注册后收不到验证邮件怎么办,qq邮箱 HOT 1
- 不用注册也能用的ChatGPT怎么集成? HOT 1
- 能否根据不同模型扣除不同次数
- 用户管理页面能否增加一个最后登陆时间的字段?
- 选择3.5模型后,询问GPT他说他是3的模型,但是同一个Key我在别的平台用,一样选择3.5我再问他,他说他是3.5模型 HOT 2
- GPT4 turbo
- 邮箱验证、修改密码报错后,后台服务程序直接退出 HOT 1
- SMTP设置部分能增加一个发件人地址字段吗
- 建议增加STT、TTS、OCR功能
- 程序回答代码高亮问题 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-web.