Comments (32)
Hello,
Thank you for the feedback!
Could you provide some log information? You can set the environment variable DEBUG=True
in the wsgi-server to display backend errors.
from chatgpt-ui.
Hello
this is the error
CommandError: Error: That username is already taken.
[2023-03-19 14:07:20 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2023-03-19 14:07:20 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
[2023-03-19 14:07:20 +0000] [1] [INFO] Using worker: sync
[2023-03-19 14:07:20 +0000] [10] [INFO] Booting worker with pid: 10
Unauthorized: /api/account/user/
172.29.128.3 - - [19/Mar/2023:14:07:26 +0000] "GET /api/account/user/ HTTP/1.0" 401 58 "https://XXX.yyy.ZZZ/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
[2023-03-19 14:08:22 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:10)
[2023-03-19 14:08:22 +0000] [10] [INFO] Worker exiting (pid: 10)
[2023-03-19 14:08:23 +0000] [11] [INFO] Booting worker with pid: 11
172.29.128.3 - - [19/Mar/2023:14:08:23 +0000] "GET /admin/auth/user/ HTTP/1.0" 200 16917 "https://AAA.yyy.ZZZ/admin/chat/setting/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
172.29.128.3 - - [19/Mar/2023:14:08:23 +0000] "GET /admin/auth/user/ HTTP/1.0" 200 16917 "https://AAA.yyy.ZZZ/admin/chat/setting/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
172.29.128.3 - - [19/Mar/2023:14:08:23 +0000] "GET /admin/jsi18n/ HTTP/1.0" 200 3343 "https://AAA.yyy.ZZZ/admin/auth/user/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
Bad Request: /api/account/registration/
��
28.3 - - [19/Mar/2023:14:09:11 +0000] "POST /api/account/registration/ HTTP/1.0" 400 68 "https://XXX.yyy.ZZZ/account/signup" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
[2023-03-19 14:09:56 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:11)
[2023-03-19 14:09:56 +0000] [11] [INFO] Worker exiting (pid: 11)
[2023-03-19 14:09:56 +0000] [12] [INFO] Booting worker with pid: 12
172.29.128.3 - - [19/Mar/2023:14:10:15 +0000] "GET /admin/auth/user/ HTTP/1.0" 200 17325 "https://AAA.yyy.ZZZ/admin/chat/setting/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
172.29.128.3 - - [19/Mar/2023:14:10:15 +0000] "GET /admin/jsi18n/ HTTP/1.0" 200 3343 "https://AAA.yyy.ZZZ/admin/auth/user/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
172.29.128.3 - - [19/Mar/2023:14:10:17 +0000] "GET /admin/auth/user/ HTTP/1.0" 200 17325 "https://AAA.yyy.ZZZ/admin/chat/setting/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
172.29.128.3 - - [19/Mar/2023:14:10:17 +0000] "GET /admin/jsi18n/ HTTP/1.0" 200 3343 "https://AAA.yyy.ZZZ/admin/auth/user/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
from chatgpt-ui.
Hello, it seems like I have found a lead. However, due to the error message being scrambled, I cannot confirm the cause yet. Could you please provide the form information you filled out during registration so that I can replicate this issue? Sensitive information can be ignored.
from chatgpt-ui.
I randomly filled up account information and it always happen.
You can try this
User name: hello
Email: [email protected]
Pw: hellohello
from chatgpt-ui.
Have you set up SMTP email server?
from chatgpt-ui.
I did both cases.
Set up smtp, issue occurs.
Disable smptp, issue still occur.
from chatgpt-ui.
Can you provide configuration of your wsgi-server
?
from chatgpt-ui.
here u go
backend-wsgi-server:
container_name: chatgpt-ui-wsgi-server
image: wongsaang/chatgpt-ui-wsgi-server:latest
environment:
- APP_DOMAIN=xxx.yyy.zzz
#- OPENAI_API_PROXY=https://openai.proxy.com/v1 # Proxy for https://api.openai.com/v1
- DJANGO_SUPERUSER_USERNAME=admin
- DJANGO_SUPERUSER_PASSWORD=password
- [email protected]
# - CSRF_COOKIE_SECURE=False
# - CSRF_COOKIE_SAMESITE=None
# If you want to use the email verification function, you need to configure the following parameters
#- EMAIL_HOST=redacted
#- EMAIL_PORT=redacted
#- EMAIL_HOST_USER=redacted
#- EMAIL_HOST_PASSWORD=redacted
#- EMAIL_USE_TLS=True
#- DEBUG=True
volumes:
- /share/Container/chatgpt/db/db.sqlite3:/app/db.sqlite3
ports:
- '8880:8000'
from chatgpt-ui.
Hello, thank you for the feedback.
It seems there is indeed a bug with the email configuration. Could you please try adding the following environment variable to the wsgi-server and see if it works?
backend-wsgi-server:
container_name: chatgpt-ui-wsgi-server
image: wongsaang/chatgpt-ui-wsgi-server:latest
environment:
- ...
- EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
- ...
from chatgpt-ui.
test and did not get an error anymore! thank you
from chatgpt-ui.
btw do u have a donation link?
from chatgpt-ui.
test and did not get an error anymore! thank you
This environment variable outputs the registration activation email to the console. If it works, it may indicate that your previously configured SMTP service cannot send emails. I suggest testing with another SMTP client. If you do not need the activation email feature, you can keep this environment variable.
from chatgpt-ui.
You are saying that I should keep the environment variable with smtp configuration?
from chatgpt-ui.
Hello.
Here's an update. If I were to enable a smtp email client, it does not send the email address to the newly registered user.
Similarly if I disable smtp email client, it shows a prompt that verification email has been sent to the newly registered user.
Thank you.
from chatgpt-ui.
If you do not need the activation email feature, you can keep this environment variable.
Sorry, I didn't express clearly.
If you don't need the function of sending activation emails, please keep this environment variable EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
If you need to send activation emails, please remove this environment variable and make sure the SMTP configuration is correct.
You can use a third-party SMTP client to test whether the same configuration can send emails normally.
from chatgpt-ui.
Hello
thank you for the clarification.
if i include the environment variable and register for a new user, the webpage will display the following
"Verify your email
We've sent a verification email to [email protected].
Please check your inbox and click the link to verify your email address."
it is possible to change this message to perhaps "Your registration is successful. Please proceed to login to your account.", since activation emails are not sent.
from chatgpt-ui.
Thank you for your suggestion, I will optimize this feature as soon as possible.
from chatgpt-ui.
configuration
If this project is helpful to you, I'm happy 😀. If you would like to sponsor, there is a link to buymeacoffee on my profile page.
from chatgpt-ui.
Hello, this issue has been solved in the new version. Please pull the latest image.
Now an environment variable ACCOUNT_EMAIL_VERIFICATION is added to the backend to control the email verification method, when you set the value of ACCOUNT_EMAIL_VERIFICATION to none
, the user will be prompted to log in directly after registration is completed.
from chatgpt-ui.
您好,这个问题已经在新版本中解决了。请拉取最新的镜像。
现在后台增加了一个环境变量ACCOUNT_EMAIL_VERIFICATION来控制邮箱验证方式,当你将****ACCOUNT_EMAIL_VERIFICATION的值设置为时
none
,用户注册完成后会提示直接登录。![]()
您发表后我第一时间删除原镜像并且拉取了新的镜像并进行了修改,还是不行
from chatgpt-ui.
您好,这个问题已经在新版本中解决了。请拉取最新的镜像。
现在后台增加了一个环境变量ACCOUNT_EMAIL_VERIFICATION来控制邮箱验证方式,当你将****ACCOUNT_EMAIL_VERIFICATION的值设置为时none
,用户注册完成后会提示直接登录。
能否提供浏览器的注册请求响应信息?或者容器日志?
from chatgpt-ui.
from chatgpt-ui.
这应该是配置问题,但现在看不出来具体原因。可以在 wsgi-server 添加环境变量 DEBUG=True, 然后提供容器内日志吗?
from chatgpt-ui.
容器
新手不太会。。。我应该把这个debug添加到哪个位置,然后怎么运行容器日志。:(
from chatgpt-ui.
容器
新手不太会。。。我应该把这个debug添加到哪个位置,然后怎么运行容器日志。:(
你是通过命令行部署的吗?
from chatgpt-ui.
容器
新手不会太会。。。我应该把这个调试添加到哪个位置,然后怎么运行容器日志。:(你是通过命命令行署的吗?
我是通过shell 一键弄得
from chatgpt-ui.
容器
新手不会太会。。。我应该把这个调试添加到哪个位置,然后怎么运行容器日志。:(你是通过命命令行署的吗?
我是通过shell 一键弄得
好的,我看看能不能复现你的问题。另外,你也可以先使用 admin 直接登录。在可以聊天之前,先去后台配置 api key
from chatgpt-ui.
容器
新手不会太会。。。我应该把这个调试添加到哪个位置,然后怎么运行容器日志。:(你是通过命命命令行踪的吗?
我是通过shell一键搞得
好的,我看不能复现你的问题。另外,你也可以先使用admin直接登录。在可以聊天之前,先去后台配置api key
好的,麻烦您了,十分感谢
from chatgpt-ui.
容器
新手不会太会。。。我应该把这个调试添加到哪个位置,然后怎么运行容器日志。:(你是通过命命命令走路的吗?
我是通过shell一键搞得
好的,我看不能复现你的问题。另外,你也可以先使用admin直接登录。在可以聊天之前,先去后台配置api key
好的,麻烦您了,十分感谢
需要使用服务器的地址和root吗?我该怎么发给您
from chatgpt-ui.
@admin-xpc 我已经复现了这个问题,并更新了 docker-compose.yml 文件。
请登录你的服务器再次执行命令:
bash <(curl -Ls https://raw.githubusercontent.com/WongSaang/chatgpt-ui/main/deployment.sh)
现在默认是关闭邮箱验证的,如果你想打开注册邮箱验证,命令执行成功后,在当前目录下有一个 docker-compose.yml 文件,可以修改里边的环境变量来配置邮箱服务,但这需要一些 docker 知识。
from chatgpt-ui.
@admin-xpc我已经发现了这个问题,并更新了 docker-compose.yml 文件。
请登录你的服务器再次执行命令:
bash <(curl -Ls https://raw.githubusercontent.com/WongSaang/chatgpt-ui/main/deployment.sh)
现在默认验证的,如果如果打开注册注册邮箱知道。
可以了,谢谢您!
from chatgpt-ui.
好的,那我关闭这个 issue 了,如有问题再另开一个。
from chatgpt-ui.
Related Issues (20)
- Use console.log, there is no printing
- embedding_document 接口报 500 错误 HOT 2
- docker中的chatgpt_ui_wsgi_server image可以修改吗,还是直接拉docker.io的镜像
- 运行 yarn dev后卡在Vite client warmed up in 22767ms
- 为什么使用ssr,实现一个AI对话UI
- 后端无法添加account.apps.AccountConfig去自定义user
- support image/files upload HOT 1
- 添加api key后,访问客户端提问响应超时
- 需要支持google的gemini,我测试了不输gpt3.5,还免费
- Unable to set up the backend. With Traefik on Docker Swarm HOT 2
- Exceeded current quota
- 添加正确的api key,服务器使用达拉斯的服务器,请求失败
- 页面显示问题 HOT 2
- ERROR input.replace is not a function
- 为什么我用户名和密码输入正确,同时服务端返回 "POST /admin/login/?next=/admin/ HTTP/1.1" 200 4303,但依旧登录不进去
- 自定义本地模型部署
- 比较喜欢这个界面。但尝试在 VPS 上使用 docker 安装配置后,碰到了一系列奇怪的问题,最后只好放弃。
- node .output/server/index.mjs HOT 5
- use gunicorn,can't get data from settings.py HOT 1
- You will get error jump results if you set up ACCOUNT_EMAIL_VERIFICATION
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-ui.