-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker部署失败 #11
Comments
网页可以打开,但是登录的话会错误 |
这是 access_token 认证失败了。检查你是否配置了正确的 access_token,或者有没有失效。建议网页上重新登录一下 OpenAI 账户,用新的 access_token |
进去了,在对话过程中提示1006错误 |
最简单的方式就是:检查你是不是在没有配置好SSL证书的情况下,使用了https协议。如果是,请用http。 如果还有问题,请提交前端F12控制台中的日志记录。 |
谢谢您,我已经改好了 |
好的。好用的话,欢迎star项目 |
您好,我在使用的过程中发现有不定期复现的模型选择BUG |
btw已star,感谢作者为开源社区的无私付出 |
你好,谢谢反馈和star,0.2.10版本应该已经修复了这个问题,可以试试更新 |
我看docker的版本还在0.2.0,而我目前足够我操作容器进行升级的知识基础,请问您能在方便的时候指点一二吗?如果不方便的话也没事,我先凑合用3.5TURBO模型,再次感谢您设计这么好的一个程序 |
你好: Readme里面有说明,直接运行 docker-compose pull 以及 docker-compose up -d 即可。
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2023年03月19日 10:58 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>、State ***@***.***> |
| 主题 | Re: [moeakwak/chatgpt-web-share] docker部署失败 (Issue #11) |
我看docker的版本还在0.2.0,而我目前足够我操作容器进行升级的知识基础,请问您能在方便的时候指点一二吗?如果不方便的话也没事,我先凑合用3.5TURBO模型,再次感谢您设计这么好的一个程序
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
按照docker-compose pull, docker-compose up进行升级操作后,登录提示request error 代码如下 |
我有尝试按照readme中所说的自己在config.yaml中输入反向代理的配置 |
谢谢反馈,这也的确是个bug,之后会修复的
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2023年03月19日 11:57 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>、State ***@***.***> |
| 主题 | Re: [moeakwak/chatgpt-web-share] docker部署失败 (Issue #11) |
我有尝试按照readme中所说的自己在config.yaml中输入反向代理的配置
chatgpt_base_url: http://127.0.0.1:6062/api/
run_reverse_proxy: true
reverse_proxy_port: 6062
reverse_proxy_binary_path: /app/backend/ChatGPT-Proxy-V4
reverse_proxy_puid: "user-XXXXXXXXXXXXXXXXXXX="
设置后好了,打扰您了,不好意思
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
chatgpt-web-share | {"level":"info","ts":1679063063.939427,"msg":"using provided configuration","config_file":"/app/Caddyfile","config_adapter":"caddyfile"}
chatgpt-web-share | {"level":"info","ts":1679063063.9410443,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
chatgpt-web-share | {"level":"warn","ts":1679063063.941443,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
chatgpt-web-share | {"level":"info","ts":1679063063.9425936,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
chatgpt-web-share | {"level":"info","ts":1679063063.9428377,"msg":"autosaved config (load with --resume flag)","file":"/root/.config/caddy/autosave.json"}
chatgpt-web-share | {"level":"info","ts":1679063063.9429247,"msg":"serving initial configuration"}
chatgpt-web-share | {"level":"info","ts":1679063063.9431133,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/root/.local/share/caddy"}
chatgpt-web-share | {"level":"info","ts":1679063063.943222,"logger":"tls","msg":"finished cleaning storage units"}
chatgpt-web-share | {"level":"info","ts":1679063063.943413,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000463340"}
chatgpt-web-share | Successfully started Caddy (pid=13) - Caddy is running in the background
chatgpt-web-share | INFO: Started server process [20]
chatgpt-web-share | INFO: Waiting for application startup.
chatgpt-web-share | database not exists, creating database...
chatgpt-web-share | database created
chatgpt-web-share | INFO [alembic.runtime.migration] Context impl SQLiteImpl.
chatgpt-web-share | INFO [alembic.runtime.migration] Will assume non-transactional DDL.
chatgpt-web-share | ERROR: Traceback (most recent call last):
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 677, in lifespan
chatgpt-web-share | async with self.lifespan_context(app) as maybe_state:
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 566, in aenter
chatgpt-web-share | await self._router.startup()
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 654, in startup
chatgpt-web-share | await handler()
chatgpt-web-share | File "/app/backend/main.py", line 148, in on_startup
chatgpt-web-share | raise e
chatgpt-web-share | File "/app/backend/main.py", line 104, in on_startup
chatgpt-web-share | result = await g.chatgpt_manager.get_conversations()
chatgpt-web-share | File "/app/backend/api/chatgpt.py", line 21, in get_conversations
chatgpt-web-share | conversations = await self.chatbot.get_conversations()
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/revChatGPT/V1.py", line 869, in get_conversations
chatgpt-web-share | self.__check_response(response)
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/revChatGPT/V1.py", line 939, in __check_response
chatgpt-web-share | response.raise_for_status()
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/httpx/_models.py", line 749, in raise_for_status
chatgpt-web-share | raise HTTPStatusError(message, request=request, response=self)
chatgpt-web-share | httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'https://bypass.duti.tech/api/conversations?offset=0&limit=20'
chatgpt-web-share | For more information check: https://httpstatuses.com/401
chatgpt-web-share |
chatgpt-web-share | ERROR: Application startup failed. Exiting.
chatgpt-web-share | stamped database to head
chatgpt-web-share | database initialized
chatgpt-web-share | User 1 has registered.
chatgpt-web-share | User created: <api.models.User object at 0x7f8d7327b4c0>
chatgpt-web-share | User 2 has registered.
chatgpt-web-share | User created: <api.models.User object at 0x7f8d7312d030>
chatgpt-web-share | Client error '401 Unauthorized' for url 'https://bypass.duti.tech/api/conversations?offset=0&limit=20'
chatgpt-web-share | For more information check: https://httpstatuses.com/401
chatgpt-web-share | INFO: Started server process [21]
chatgpt-web-share | INFO: Waiting for application startup.
chatgpt-web-share | INFO [alembic.runtime.migration] Context impl SQLiteImpl.
chatgpt-web-share | INFO [alembic.runtime.migration] Will assume non-transactional DDL.
chatgpt-web-share | ERROR: Traceback (most recent call last):
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 677, in lifespan
chatgpt-web-share | async with self.lifespan_context(app) as maybe_state:
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 566, in aenter
chatgpt-web-share | await self._router.startup()
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 654, in startup
chatgpt-web-share | await handler()
chatgpt-web-share | File "/app/backend/main.py", line 148, in on_startup
chatgpt-web-share | raise e
chatgpt-web-share | File "/app/backend/main.py", line 104, in on_startup
chatgpt-web-share | result = await g.chatgpt_manager.get_conversations()
chatgpt-web-share | File "/app/backend/api/chatgpt.py", line 21, in get_conversations
chatgpt-web-share | conversations = await self.chatbot.get_conversations()
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/revChatGPT/V1.py", line 869, in get_conversations
chatgpt-web-share | self.__check_response(response)
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/revChatGPT/V1.py", line 939, in __check_response
chatgpt-web-share | response.raise_for_status()
chatgpt-web-share | File "/usr/local/lib/python3.10/site-packages/httpx/_models.py", line 749, in raise_for_status
chatgpt-web-share | raise HTTPStatusError(message, request=request, response=self)
chatgpt-web-share | httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'https://bypass.duti.tech/api/conversations?offset=0&limit=20'
chatgpt-web-share | For more information check: https://httpstatuses.com/401
chatgpt-web-share |
chatgpt-web-share | ERROR: Application startup failed. Exiting.
chatgpt-web-share | database initialized
chatgpt-web-share | Create User deezy0045 Error: 用户名已存在
chatgpt-web-share | Create User zhd125 Error: 用户名已存在
chatgpt-web-share | Client error '401 Unauthorized' for url 'https://bypass.duti.tech/api/conversations?offset=0&limit=20'
chatgpt-web-share | For more information check: https://httpstatuses.com/401
chatgpt-web-share exited with code 3
The text was updated successfully, but these errors were encountered: