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