INFO: Will watch for changes in these directories: ['/Users/duguoyou/MLFlow/algorithm-showcase/backend'] INFO: Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit) INFO: Started reloader process [3857] using WatchFiles WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [3862] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/gitea/service.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [3862] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [3997] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:60457 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:60462 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:60474 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:60476 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:60479 - "DELETE /api/v1/repositories/d9088318-70cc-4589-8071-4f6df6b4ebcc HTTP/1.1" 200 OK INFO: 127.0.0.1:60481 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:60572 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:60574 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:60647 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:60651 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:60661 - "POST /api/v1/gitea/repos/clone HTTP/1.1" 200 OK INFO: 127.0.0.1:60666 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:60670 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:60674 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:60682 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK WARNING:app.gitea.service:Repository is large: 529.00 MB WARNING:app.gitea.service:This may cause HTTP 413 errors on push WARNING:app.gitea.service:Git push stderr: Pushing to https://gitea.swiftsnake.cn/yipai-tech/AItst.git warning: setting remote service path not supported by protocol warning: setting remote service path not supported by protocol Enumerating objects: 34, done. Counting objects: 2% (1/34) Counting objects: 5% (2/34) Counting objects: 8% (3/34) Counting objects: 11% (4/34) Counting objects: 14% (5/34) Counting objects: 17% (6/34) Counting objects: 20% (7/34) Counting objects: 23% (8/34) Counting objects: 26% (9/34) Counting objects: 29% (10/34) Counting objects: 32% (11/34) Counting objects: 35% (12/34) Counting objects: 38% (13/34) Counting objects: 41% (14/34) Counting objects: 44% (15/34) Counting objects: 47% (16/34) Counting objects: 50% (17/34) Counting objects: 52% (18/34) Counting objects: 55% (19/34) Counting objects: 58% (20/34) Counting objects: 61% (21/34) Counting objects: 64% (22/34) Counting objects: 67% (23/34) Counting objects: 70% (24/34) Counting objects: 73% (25/34) Counting objects: 76% (26/34) Counting objects: 79% (27/34) Counting objects: 82% (28/34) Counting objects: 85% (29/34) Counting objects: 88% (30/34) Counting objects: 91% (31/34) Counting objects: 94% (32/34) Counting objects: 97% (33/34) Counting objects: 100% (34/34) Counting objects: 100% (34/34), done. Delta compression using up to 16 threads Compressing objects: 3% (1/31) Compressing objects: 6% (2/31) Compressing objects: 9% (3/31) Compressing objects: 12% (4/31) Compressing objects: 16% (5/31) Compressing objects: 19% (6/31) Compressing objects: 22% (7/31) Compressing objects: 25% (8/31) Compressing objects: 29% (9/31) Compressing objects: 32% (10/31) Compressing objects: 35% (11/31) Compressing objects: 38% (12/31) Compressing objects: 41% (13/31) Compressing objects: 45% (14/31) Compressing objects: 48% (15/31) Compressing objects: 51% (16/31) Compressing objects: 54% (17/31) Compressing objects: 58% (18/31) Compressing objects: 61% (19/31) Compressing objects: 64% (20/31) Compressing objects: 67% (21/31) Compressing objects: 70% (22/31) Compressing objects: 74% (23/31) Compressing objects: 77% (24/31) Compressing objects: 80% (25/31) Compressing objects: 83% (26/31) Compressing objects: 87% (27/31) Compressing objects: 90% (28/31) Compressing objects: 93% (29/31) Compressing objects: 96% (30/31) Compressing objects: 100% (31/31) Compressing objects: 100% (31/31), done. Writing objects: 3% (1/33) Writing objects: 6% (2/33) Writing objects: 9% (3/33) Writing objects: 12% (4/33) Writing objects: 15% (5/33) Writing objects: 18% (6/33) Writing objects: 21% (7/33) Writing objects: 24% (8/33) Writing objects: 27% (9/33) Writing objects: 30% (10/33) Writing objects: 33% (11/33) Writing objects: 36% (12/33) Writing objects: 39% (13/33) Writing objects: 42% (14/33) Writing objects: 48% (16/33) Writing objects: 51% (17/33) Writing objects: 54% (18/33) Writing objects: 57% (19/33) Writing objects: 63% (21/33) Writing objects: 66% (22/33) Writing objects: 69% (23/33) Writing objects: 72% (24/33) Writing objects: 75% (25/33) Writing objects: 78% (26/33) Writing objects: 81% (27/33) Writing objects: 84% (28/33) Writing objects: 87% (29/33) Writing objects: 90% (30/33) Writing objects: 93% (31/33) POST git-receive-pack (chunked) error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 send-pack: unexpected disconnect while reading sideband packet Writing objects: 93% (31/33), 500.07 MiB | 33.63 MiB/s Writing objects: 96% (32/33), 500.07 MiB | 33.63 MiB/s Writing objects: 100% (33/33), 500.07 MiB | 33.63 MiB/s Writing objects: 100% (33/33), 529.02 MiB | 35.11 MiB/s, done. Total 33 (delta 4), reused 0 (delta 0), pack-reused 0 fatal: the remote end hung up unexpectedly Everything up-to-date ERROR:app.gitea.service:❌ Git push failed likely due to repository size: 529.00 MB ERROR:app.gitea.service:Error details: Pushing to https://gitea.swiftsnake.cn/yipai-tech/AItst.git warning: setting remote service path not supported by protocol warning: setting remote service path not supported by protocol Enumerating objects: 34, done. Counting objects: 2% (1/34) Counting objects: 5% (2/34) Counting objects: 8% (3/34) Counting objects: 11% (4/34) Counting objects: 14% (5/34) Counting objects: 17% (6/34) Counting objects: 20% (7/34) Counting objects: 23% (8/34) Counting objects: 26% (9/34) Counting objects: 29% (10/34) Counting objects: 32% (11/34) Counting objects: 35% (12/34) Counting objects: 38% (13/34) Counting objects: 41% (14/34) Counting objects: 44% (15/34) Counting objects: 47% (16/34) Counting objects: 50% (17/34) Counting objects: 52% (18/34) Counting objects: 55% (19/34) Counting objects: 58% (20/34) Counting objects: 61% (21/34) Counting objects: 64% (22/34) Counting objects: 67% (23/34) Counting objects: 70% (24/34) Counting objects: 73% (25/34) Counting objects: 76% (26/34) Counting objects: 79% (27/34) Counting objects: 82% (28/34) Counting objects: 85% (29/34) Counting objects: 88% (30/34) Counting objects: 91% (31/34) Counting objects: 94% (32/34) Counting objects: 97% (33/34) Counting objects: 100% (34/34) Counting objects: 100% (34/34), done. Delta compression using up to 16 threads Compressing objects: 3% (1/31) Compressing objects: 6% (2/31) Compressing objects: 9% (3/31) Compressing objects: 12% (4/31) Compressing objects: 16% (5/31) Compressing objects: 19% (6/31) Compressing objects: 22% (7/31) Compressing objects: 25% (8/31) Compressing objects: 29% (9/31) Compressing objects: 32% (10/31) Compressing objects: 35% (11/31) Compressing objects: 38% (12/31) Compressing objects: 41% (13/31) Compressing objects: 45% (14/31) Compressing objects: 48% (15/31) Compressing objects: 51% (16/31) Compressing objects: 54% (17/31) Compressing objects: 58% (18/31) Compressing objects: 61% (19/31) Compressing objects: 64% (20/31) Compressing objects: 67% (21/31) Compressing objects: 70% (22/31) Compressing objects: 74% (23/31) Compressing objects: 77% (24/31) Compressing objects: 80% (25/31) Compressing objects: 83% (26/31) Compressing objects: 87% (27/31) Compressing objects: 90% (28/31) Compressing objects: 93% (29/31) Compressing objects: 96% (30/31) Compressing objects: 100% (31/31) Compressing objects: 100% (31/31), done. Writing objects: 3% (1/33) Writing objects: 6% (2/33) Writing objects: 9% (3/33) Writing objects: 12% (4/33) Writing objects: 15% (5/33) Writing objects: 18% (6/33) Writing objects: 21% (7/33) Writing objects: 24% (8/33) Writing objects: 27% (9/33) Writing objects: 30% (10/33) Writing objects: 33% (11/33) Writing objects: 36% (12/33) Writing objects: 39% (13/33) Writing objects: 42% (14/33) Writing objects: 48% (16/33) Writing objects: 51% (17/33) Writing objects: 54% (18/33) Writing objects: 57% (19/33) Writing objects: 63% (21/33) Writing objects: 66% (22/33) Writing objects: 69% (23/33) Writing objects: 72% (24/33) Writing objects: 75% (25/33) Writing objects: 78% (26/33) Writing objects: 81% (27/33) Writing objects: 84% (28/33) Writing objects: 87% (29/33) Writing objects: 90% (30/33) Writing objects: 93% (31/33) POST git-receive-pack (chunked) error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 send-pack: unexpected disconnect while reading sideband packet Writing objects: 93% (31/33), 500.07 MiB | 33.63 MiB/s Writing objects: 96% (32/33), 500.07 MiB | 33.63 MiB/s Writing objects: 100% (33/33), 500.07 MiB | 33.63 MiB/s Writing objects: 100% (33/33), 529.02 MiB | 35.11 MiB/s, done. Total 33 (delta 4), reused 0 (delta 0), pack-reused 0 fatal: the remote end hung up unexpectedly Everything up-to-date ERROR:app.gitea.service: 📋 解决方案建议: ERROR:app.gitea.service:1. 检查Gitea服务器配置,增加MAX_UPLOAD_SIZE限制 ERROR:app.gitea.service:2. 尝试使用SSH协议进行推送(如果服务器支持) ERROR:app.gitea.service:3. 优化仓库大小,移除不必要的大文件 ERROR:app.gitea.service:4. 考虑使用Git LFS(Large File Storage)管理大文件 WARNING:app.gitea.service:SSH push failed: Pushing to git@26ccc228c6624f98d6dd629365be052e161b0da3@gitea.swiftsnake.cn/yipai-tech/AItst.git fatal: 'git@26ccc228c6624f98d6dd629365be052e161b0da3@gitea.swiftsnake.cn/yipai-tech/AItst.git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. INFO: 127.0.0.1:60690 - "POST /api/v1/gitea/repos/push HTTP/1.1" 200 OK INFO: 127.0.0.1:60825 - "GET /api/v1/repositories HTTP/1.1" 200 OK WARNING: WatchFiles detected changes in 'app/gitea/service.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [3997] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [4282] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:63207 - "DELETE /api/v1/repositories/f5228841-10e4-4ddb-8840-7f21ce8f0d66 HTTP/1.1" 200 OK INFO: 127.0.0.1:63212 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:63437 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:63439 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:63526 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:63530 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:63540 - "POST /api/v1/gitea/repos/clone HTTP/1.1" 200 OK INFO: 127.0.0.1:63545 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:63549 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:63553 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:63561 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK ERROR:app.gitea.service:=== 推送代码失败 === ERROR:app.gitea.service:Error: cannot access local variable 'exclude_patterns' where it is not associated with a value ERROR:app.gitea.service:Traceback: Traceback (most recent call last): File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/gitea/service.py", line 397, in push_to_repository should_skip = any(re.search(pattern, root) for pattern in exclude_patterns) ^^^^^^^^^^^^^^^^ UnboundLocalError: cannot access local variable 'exclude_patterns' where it is not associated with a value INFO: 127.0.0.1:63569 - "POST /api/v1/gitea/repos/push HTTP/1.1" 500 Internal Server Error INFO: 127.0.0.1:63622 - "GET /api/v1/repositories HTTP/1.1" 200 OK WARNING: WatchFiles detected changes in 'app/gitea/service.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [4282] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [4517] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:49454 - "DELETE /api/v1/repositories/9a6775fc-6e6b-40b3-8dc2-5096b5a772f1 HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:49647 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:49655 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:49703 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:49708 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:49729 - "DELETE /api/v1/repositories/9a6775fc-6e6b-40b3-8dc2-5096b5a772f1 HTTP/1.1" 200 OK INFO: 127.0.0.1:49733 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:49817 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:49821 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:49831 - "POST /api/v1/gitea/repos/clone HTTP/1.1" 200 OK INFO: 127.0.0.1:49836 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:49840 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:49848 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:49852 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK WARNING:app.gitea.service:Repository is large: 529.00 MB WARNING:app.gitea.service:This may cause HTTP 413 errors on push WARNING:app.gitea.service:Git push stderr: Pushing to https://gitea.swiftsnake.cn/yipai-tech/AItst.git warning: setting remote service path not supported by protocol warning: setting remote service path not supported by protocol Enumerating objects: 34, done. Counting objects: 2% (1/34) Counting objects: 5% (2/34) Counting objects: 8% (3/34) Counting objects: 11% (4/34) Counting objects: 14% (5/34) Counting objects: 17% (6/34) Counting objects: 20% (7/34) Counting objects: 23% (8/34) Counting objects: 26% (9/34) Counting objects: 29% (10/34) Counting objects: 32% (11/34) Counting objects: 35% (12/34) Counting objects: 38% (13/34) Counting objects: 41% (14/34) Counting objects: 44% (15/34) Counting objects: 47% (16/34) Counting objects: 50% (17/34) Counting objects: 52% (18/34) Counting objects: 55% (19/34) Counting objects: 58% (20/34) Counting objects: 61% (21/34) Counting objects: 64% (22/34) Counting objects: 67% (23/34) Counting objects: 70% (24/34) Counting objects: 73% (25/34) Counting objects: 76% (26/34) Counting objects: 79% (27/34) Counting objects: 82% (28/34) Counting objects: 85% (29/34) Counting objects: 88% (30/34) Counting objects: 91% (31/34) Counting objects: 94% (32/34) Counting objects: 97% (33/34) Counting objects: 100% (34/34) Counting objects: 100% (34/34), done. Delta compression using up to 16 threads Compressing objects: 3% (1/31) Compressing objects: 6% (2/31) Compressing objects: 9% (3/31) Compressing objects: 12% (4/31) Compressing objects: 16% (5/31) Compressing objects: 19% (6/31) Compressing objects: 22% (7/31) Compressing objects: 25% (8/31) Compressing objects: 29% (9/31) Compressing objects: 32% (10/31) Compressing objects: 35% (11/31) Compressing objects: 38% (12/31) Compressing objects: 41% (13/31) Compressing objects: 45% (14/31) Compressing objects: 48% (15/31) Compressing objects: 51% (16/31) Compressing objects: 54% (17/31) Compressing objects: 58% (18/31) Compressing objects: 61% (19/31) Compressing objects: 64% (20/31) Compressing objects: 67% (21/31) Compressing objects: 70% (22/31) Compressing objects: 74% (23/31) Compressing objects: 77% (24/31) Compressing objects: 80% (25/31) Compressing objects: 83% (26/31) Compressing objects: 87% (27/31) Compressing objects: 90% (28/31) Compressing objects: 93% (29/31) Compressing objects: 96% (30/31) Compressing objects: 100% (31/31) Compressing objects: 100% (31/31), done. Writing objects: 3% (1/33) Writing objects: 6% (2/33) Writing objects: 9% (3/33) Writing objects: 12% (4/33) Writing objects: 15% (5/33) Writing objects: 18% (6/33) Writing objects: 21% (7/33) Writing objects: 24% (8/33) Writing objects: 27% (9/33) Writing objects: 30% (10/33) Writing objects: 33% (11/33) Writing objects: 36% (12/33) Writing objects: 39% (13/33) Writing objects: 42% (14/33) Writing objects: 48% (16/33) Writing objects: 51% (17/33) Writing objects: 54% (18/33) Writing objects: 57% (19/33) Writing objects: 63% (21/33) Writing objects: 66% (22/33) Writing objects: 69% (23/33) Writing objects: 72% (24/33) Writing objects: 75% (25/33) Writing objects: 78% (26/33) Writing objects: 81% (27/33) Writing objects: 84% (28/33) Writing objects: 87% (29/33) Writing objects: 90% (30/33) Writing objects: 93% (31/33) POST git-receive-pack (chunked) error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Writing objects: 93% (31/33), 500.07 MiB | 36.85 MiB/s send-pack: unexpected disconnect while reading sideband packet Writing objects: 96% (32/33), 500.07 MiB | 36.85 MiB/s Writing objects: 100% (33/33), 500.07 MiB | 36.85 MiB/s Writing objects: 100% (33/33), 529.02 MiB | 38.44 MiB/s, done. Total 33 (delta 4), reused 0 (delta 0), pack-reused 0 fatal: the remote end hung up unexpectedly Everything up-to-date ERROR:app.gitea.service:❌ Git push failed likely due to repository size: 529.00 MB ERROR:app.gitea.service:Error details: Pushing to https://gitea.swiftsnake.cn/yipai-tech/AItst.git warning: setting remote service path not supported by protocol warning: setting remote service path not supported by protocol Enumerating objects: 34, done. Counting objects: 2% (1/34) Counting objects: 5% (2/34) Counting objects: 8% (3/34) Counting objects: 11% (4/34) Counting objects: 14% (5/34) Counting objects: 17% (6/34) Counting objects: 20% (7/34) Counting objects: 23% (8/34) Counting objects: 26% (9/34) Counting objects: 29% (10/34) Counting objects: 32% (11/34) Counting objects: 35% (12/34) Counting objects: 38% (13/34) Counting objects: 41% (14/34) Counting objects: 44% (15/34) Counting objects: 47% (16/34) Counting objects: 50% (17/34) Counting objects: 52% (18/34) Counting objects: 55% (19/34) Counting objects: 58% (20/34) Counting objects: 61% (21/34) Counting objects: 64% (22/34) Counting objects: 67% (23/34) Counting objects: 70% (24/34) Counting objects: 73% (25/34) Counting objects: 76% (26/34) Counting objects: 79% (27/34) Counting objects: 82% (28/34) Counting objects: 85% (29/34) Counting objects: 88% (30/34) Counting objects: 91% (31/34) Counting objects: 94% (32/34) Counting objects: 97% (33/34) Counting objects: 100% (34/34) Counting objects: 100% (34/34), done. Delta compression using up to 16 threads Compressing objects: 3% (1/31) Compressing objects: 6% (2/31) Compressing objects: 9% (3/31) Compressing objects: 12% (4/31) Compressing objects: 16% (5/31) Compressing objects: 19% (6/31) Compressing objects: 22% (7/31) Compressing objects: 25% (8/31) Compressing objects: 29% (9/31) Compressing objects: 32% (10/31) Compressing objects: 35% (11/31) Compressing objects: 38% (12/31) Compressing objects: 41% (13/31) Compressing objects: 45% (14/31) Compressing objects: 48% (15/31) Compressing objects: 51% (16/31) Compressing objects: 54% (17/31) Compressing objects: 58% (18/31) Compressing objects: 61% (19/31) Compressing objects: 64% (20/31) Compressing objects: 67% (21/31) Compressing objects: 70% (22/31) Compressing objects: 74% (23/31) Compressing objects: 77% (24/31) Compressing objects: 80% (25/31) Compressing objects: 83% (26/31) Compressing objects: 87% (27/31) Compressing objects: 90% (28/31) Compressing objects: 93% (29/31) Compressing objects: 96% (30/31) Compressing objects: 100% (31/31) Compressing objects: 100% (31/31), done. Writing objects: 3% (1/33) Writing objects: 6% (2/33) Writing objects: 9% (3/33) Writing objects: 12% (4/33) Writing objects: 15% (5/33) Writing objects: 18% (6/33) Writing objects: 21% (7/33) Writing objects: 24% (8/33) Writing objects: 27% (9/33) Writing objects: 30% (10/33) Writing objects: 33% (11/33) Writing objects: 36% (12/33) Writing objects: 39% (13/33) Writing objects: 42% (14/33) Writing objects: 48% (16/33) Writing objects: 51% (17/33) Writing objects: 54% (18/33) Writing objects: 57% (19/33) Writing objects: 63% (21/33) Writing objects: 66% (22/33) Writing objects: 69% (23/33) Writing objects: 72% (24/33) Writing objects: 75% (25/33) Writing objects: 78% (26/33) Writing objects: 81% (27/33) Writing objects: 84% (28/33) Writing objects: 87% (29/33) Writing objects: 90% (30/33) Writing objects: 93% (31/33) POST git-receive-pack (chunked) error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Writing objects: 93% (31/33), 500.07 MiB | 36.85 MiB/s send-pack: unexpected disconnect while reading sideband packet Writing objects: 96% (32/33), 500.07 MiB | 36.85 MiB/s Writing objects: 100% (33/33), 500.07 MiB | 36.85 MiB/s Writing objects: 100% (33/33), 529.02 MiB | 38.44 MiB/s, done. Total 33 (delta 4), reused 0 (delta 0), pack-reused 0 fatal: the remote end hung up unexpectedly Everything up-to-date ERROR:app.gitea.service: 📋 解决方案建议: ERROR:app.gitea.service:1. 检查Gitea服务器配置,增加MAX_UPLOAD_SIZE限制 ERROR:app.gitea.service:2. 尝试使用SSH协议进行推送(如果服务器支持) ERROR:app.gitea.service:3. 优化仓库大小,移除不必要的大文件 ERROR:app.gitea.service:4. 考虑使用Git LFS(Large File Storage)管理大文件 WARNING:app.gitea.service:SSH push failed: Pushing to git@26ccc228c6624f98d6dd629365be052e161b0da3@gitea.swiftsnake.cn/yipai-tech/AItst.git fatal: 'git@26ccc228c6624f98d6dd629365be052e161b0da3@gitea.swiftsnake.cn/yipai-tech/AItst.git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. INFO: 127.0.0.1:49860 - "POST /api/v1/gitea/repos/push HTTP/1.1" 200 OK INFO: 127.0.0.1:49982 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:64641 - "GET /api/v1/repositories HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:64651 - "GET /api/v1/gitea/config HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:64713 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:64717 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:64754 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:64758 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:64820 - "DELETE /api/v1/repositories/2988865e-ebf6-40f0-a617-17bed4d9b2d9 HTTP/1.1" 200 OK INFO: 127.0.0.1:64824 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:64902 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:64906 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:64913 - "POST /api/v1/gitea/repos/clone HTTP/1.1" 200 OK INFO: 127.0.0.1:64922 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:64926 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:64930 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:64934 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK WARNING:app.gitea.service:Repository is large: 529.00 MB WARNING:app.gitea.service:This may cause HTTP 413 errors on push WARNING:app.gitea.service:Git push stderr: Pushing to https://gitea.swiftsnake.cn/yipai-tech/AItst.git warning: setting remote service path not supported by protocol warning: setting remote service path not supported by protocol Enumerating objects: 34, done. Counting objects: 2% (1/34) Counting objects: 5% (2/34) Counting objects: 8% (3/34) Counting objects: 11% (4/34) Counting objects: 14% (5/34) Counting objects: 17% (6/34) Counting objects: 20% (7/34) Counting objects: 23% (8/34) Counting objects: 26% (9/34) Counting objects: 29% (10/34) Counting objects: 32% (11/34) Counting objects: 35% (12/34) Counting objects: 38% (13/34) Counting objects: 41% (14/34) Counting objects: 44% (15/34) Counting objects: 47% (16/34) Counting objects: 50% (17/34) Counting objects: 52% (18/34) Counting objects: 55% (19/34) Counting objects: 58% (20/34) Counting objects: 61% (21/34) Counting objects: 64% (22/34) Counting objects: 67% (23/34) Counting objects: 70% (24/34) Counting objects: 73% (25/34) Counting objects: 76% (26/34) Counting objects: 79% (27/34) Counting objects: 82% (28/34) Counting objects: 85% (29/34) Counting objects: 88% (30/34) Counting objects: 91% (31/34) Counting objects: 94% (32/34) Counting objects: 97% (33/34) Counting objects: 100% (34/34) Counting objects: 100% (34/34), done. Delta compression using up to 16 threads Compressing objects: 3% (1/31) Compressing objects: 6% (2/31) Compressing objects: 9% (3/31) Compressing objects: 12% (4/31) Compressing objects: 16% (5/31) Compressing objects: 19% (6/31) Compressing objects: 22% (7/31) Compressing objects: 25% (8/31) Compressing objects: 29% (9/31) Compressing objects: 32% (10/31) Compressing objects: 35% (11/31) Compressing objects: 38% (12/31) Compressing objects: 41% (13/31) Compressing objects: 45% (14/31) Compressing objects: 48% (15/31) Compressing objects: 51% (16/31) Compressing objects: 54% (17/31) Compressing objects: 58% (18/31) Compressing objects: 61% (19/31) Compressing objects: 64% (20/31) Compressing objects: 67% (21/31) Compressing objects: 70% (22/31) Compressing objects: 74% (23/31) Compressing objects: 77% (24/31) Compressing objects: 80% (25/31) Compressing objects: 83% (26/31) Compressing objects: 87% (27/31) Compressing objects: 90% (28/31) Compressing objects: 93% (29/31) Compressing objects: 96% (30/31) Compressing objects: 100% (31/31) Compressing objects: 100% (31/31), done. Writing objects: 3% (1/33) Writing objects: 6% (2/33) Writing objects: 9% (3/33) Writing objects: 12% (4/33) Writing objects: 15% (5/33) Writing objects: 18% (6/33) Writing objects: 21% (7/33) Writing objects: 24% (8/33) Writing objects: 27% (9/33) Writing objects: 30% (10/33) Writing objects: 33% (11/33) Writing objects: 36% (12/33) Writing objects: 39% (13/33) Writing objects: 42% (14/33) Writing objects: 48% (16/33) Writing objects: 51% (17/33) Writing objects: 54% (18/33) Writing objects: 57% (19/33) Writing objects: 63% (21/33) Writing objects: 66% (22/33) Writing objects: 69% (23/33) Writing objects: 72% (24/33) Writing objects: 75% (25/33) Writing objects: 78% (26/33) Writing objects: 81% (27/33) Writing objects: 84% (28/33) Writing objects: 87% (29/33) Writing objects: 90% (30/33) Writing objects: 93% (31/33) POST git-receive-pack (chunked) Writing objects: 93% (31/33), 500.07 MiB | 8.81 MiB/s Writing objects: 93% (31/33), 506.19 MiB | 8.84 MiB/s Writing objects: 93% (31/33), 517.88 MiB | 8.89 MiB/s Writing objects: 96% (32/33), 523.56 MiB | 8.91 MiB/s Writing objects: 100% (33/33), 523.56 MiB | 8.91 MiB/s Writing objects: 100% (33/33), 529.02 MiB | 8.91 MiB/s, done. Total 33 (delta 4), reused 0 (delta 0), pack-reused 0 remote: . Processing 1 references remote: Processed 1 references in total To https://gitea.swiftsnake.cn/yipai-tech/AItst.git dbb39f6..693af4b main -> main updating local tracking ref 'refs/remotes/origin/main' INFO: 127.0.0.1:64946 - "POST /api/v1/gitea/repos/push HTTP/1.1" 200 OK INFO: 127.0.0.1:65348 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:49884 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:49886 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57195 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57199 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57216 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:57403 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57405 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57420 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:57430 - "PUT /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) psycopg2.errors.ForeignKeyViolation: insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AIAItst) is not present in table "algorithms". The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/applications.py", line 1106, in __call__ await super().__call__(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/applications.py", line 122, in __call__ await self.middleware_stack(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 91, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 146, in simple_response await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__ raise e File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__ await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 718, in __call__ await route.handle(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 276, in handle await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 66, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 274, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/repositories.py", line 214, in update_repository db.commit() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 2030, in commit trans.commit(_to_root=True) File "", line 2, in commit File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1311, in commit self._prepare_impl() File "", line 2, in _prepare_impl File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1286, in _prepare_impl self.session.flush() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4331, in flush self._flush(objects) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4466, in _flush with util.safe_reraise(): ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__ raise exc_value.with_traceback(exc_tb) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4427, in _flush flush_context.execute() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 466, in execute rec.execute(self) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 642, in execute util.preloaded.orm_persistence.save_obj( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 85, in save_obj _emit_update_statements( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 912, in _emit_update_statements c = connection.execute( ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute return meth( ^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection return connection._execute_clauseelement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement ret = self._execute_context( ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.IntegrityError: (psycopg2.errors.ForeignKeyViolation) insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AIAItst) is not present in table "algorithms". [SQL: UPDATE algorithm_repositories SET algorithm_id=%(algorithm_id)s, description=%(description)s, repo_url=%(repo_url)s, updated_at=now() WHERE algorithm_repositories.id = %(algorithm_repositories_id)s] [parameters: {'algorithm_id': 'AIAItst', 'description': 'tstsss', 'repo_url': 'https://gitea.swiftsnake.cn/yipai-tech/AIAItst.git', 'algorithm_repositories_id': '36f2383c-f0e2-4a0d-a893-42288baf1436'}] (Background on this error at: https://sqlalche.me/e/20/gkpj) INFO: 127.0.0.1:57434 - "PUT /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) psycopg2.errors.ForeignKeyViolation: insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AIAItst) is not present in table "algorithms". The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/applications.py", line 1106, in __call__ await super().__call__(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/applications.py", line 122, in __call__ await self.middleware_stack(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 91, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 146, in simple_response await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__ raise e File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__ await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 718, in __call__ await route.handle(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 276, in handle await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 66, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 274, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/repositories.py", line 214, in update_repository db.commit() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 2030, in commit trans.commit(_to_root=True) File "", line 2, in commit File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1311, in commit self._prepare_impl() File "", line 2, in _prepare_impl File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1286, in _prepare_impl self.session.flush() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4331, in flush self._flush(objects) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4466, in _flush with util.safe_reraise(): ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__ raise exc_value.with_traceback(exc_tb) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4427, in _flush flush_context.execute() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 466, in execute rec.execute(self) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 642, in execute util.preloaded.orm_persistence.save_obj( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 85, in save_obj _emit_update_statements( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 912, in _emit_update_statements c = connection.execute( ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute return meth( ^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection return connection._execute_clauseelement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement ret = self._execute_context( ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.IntegrityError: (psycopg2.errors.ForeignKeyViolation) insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AIAItst) is not present in table "algorithms". [SQL: UPDATE algorithm_repositories SET algorithm_id=%(algorithm_id)s, description=%(description)s, repo_url=%(repo_url)s, updated_at=now() WHERE algorithm_repositories.id = %(algorithm_repositories_id)s] [parameters: {'algorithm_id': 'AIAItst', 'description': 'tstsss', 'repo_url': 'https://gitea.swiftsnake.cn/yipai-tech/AIAItst.git', 'algorithm_repositories_id': '36f2383c-f0e2-4a0d-a893-42288baf1436'}] (Background on this error at: https://sqlalche.me/e/20/gkpj) INFO: 127.0.0.1:57589 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57593 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58065 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58067 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58080 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58082 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58147 - "GET / HTTP/1.1" 200 OK INFO: 127.0.0.1:58147 - "GET /%40vite/client HTTP/1.1" 200 OK INFO: 127.0.0.1:60585 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:60587 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:60589 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:60595 - "PUT /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) psycopg2.errors.ForeignKeyViolation: insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AIAItst) is not present in table "algorithms". The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/applications.py", line 1106, in __call__ await super().__call__(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/applications.py", line 122, in __call__ await self.middleware_stack(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 91, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 146, in simple_response await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__ raise e File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__ await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 718, in __call__ await route.handle(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 276, in handle await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 66, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 274, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/repositories.py", line 214, in update_repository db.commit() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 2030, in commit trans.commit(_to_root=True) File "", line 2, in commit File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1311, in commit self._prepare_impl() File "", line 2, in _prepare_impl File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1286, in _prepare_impl self.session.flush() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4331, in flush self._flush(objects) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4466, in _flush with util.safe_reraise(): ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__ raise exc_value.with_traceback(exc_tb) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4427, in _flush flush_context.execute() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 466, in execute rec.execute(self) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 642, in execute util.preloaded.orm_persistence.save_obj( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 85, in save_obj _emit_update_statements( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 912, in _emit_update_statements c = connection.execute( ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute return meth( ^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection return connection._execute_clauseelement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement ret = self._execute_context( ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.IntegrityError: (psycopg2.errors.ForeignKeyViolation) insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AIAItst) is not present in table "algorithms". [SQL: UPDATE algorithm_repositories SET algorithm_id=%(algorithm_id)s, description=%(description)s, repo_url=%(repo_url)s, updated_at=now() WHERE algorithm_repositories.id = %(algorithm_repositories_id)s] [parameters: {'algorithm_id': 'AIAItst', 'description': 'tst11', 'repo_url': 'https://gitea.swiftsnake.cn/yipai-tech/AIAItst.git', 'algorithm_repositories_id': '36f2383c-f0e2-4a0d-a893-42288baf1436'}] (Background on this error at: https://sqlalche.me/e/20/gkpj) INFO: 127.0.0.1:60874 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:60960 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK WARNING: WatchFiles detected changes in 'app/gitea/client.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [4517] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [11127] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/gitea/service.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [11127] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [11307] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/routes/gitea.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [11307] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [12119] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:63566 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:63569 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:63571 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:63576 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:63593 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:63595 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:63618 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:63621 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:63625 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:63628 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:63634 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:49451 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:49454 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:49461 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:49463 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:49465 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:49472 - "PUT /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK ERROR:app.gitea.service:❌ Failed to update repository info: Unsupported HTTP method: PATCH ERROR:app.gitea.service:Traceback: Traceback (most recent call last): File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/gitea/service.py", line 1172, in update_repository_info updated_repo = self.client.update_repository( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/gitea/client.py", line 213, in update_repository return self._request("PATCH", f"repos/{owner}/{repo}", data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/gitea/client.py", line 52, in _request raise ValueError(f"Unsupported HTTP method: {method}") ValueError: Unsupported HTTP method: PATCH INFO: 127.0.0.1:49475 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 500 Internal Server Error INFO: 127.0.0.1:49478 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:52784 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:52787 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:52796 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:52798 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:52800 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:52806 - "PUT /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK ERROR:app.gitea.service:❌ Failed to update repository info: Unsupported HTTP method: PATCH ERROR:app.gitea.service:Traceback: Traceback (most recent call last): File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/gitea/service.py", line 1172, in update_repository_info updated_repo = self.client.update_repository( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/gitea/client.py", line 213, in update_repository return self._request("PATCH", f"repos/{owner}/{repo}", data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/gitea/client.py", line 52, in _request raise ValueError(f"Unsupported HTTP method: {method}") ValueError: Unsupported HTTP method: PATCH INFO: 127.0.0.1:52809 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 500 Internal Server Error INFO: 127.0.0.1:52812 - "GET /api/v1/repositories HTTP/1.1" 200 OK WARNING: WatchFiles detected changes in 'app/gitea/client.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [12119] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [16798] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:54278 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:54281 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:54283 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:54291 - "PUT /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:54294 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 200 OK INFO: 127.0.0.1:54298 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:54315 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:54675 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:54679 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:56102 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:56105 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:56111 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:56113 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:56116 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:56120 - "PUT /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:56123 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 200 OK INFO: 127.0.0.1:56127 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:56630 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:56632 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:56634 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:56643 - "PUT /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:56646 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 200 OK INFO: 127.0.0.1:56650 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:56940 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:57299 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57302 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57378 - "GET /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:57382 - "PUT /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:57385 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 200 OK INFO: 127.0.0.1:57389 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57482 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57484 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57654 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57656 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57740 - "DELETE /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:57751 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:57754 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:57759 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57762 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57767 - "DELETE /api/v1/repositories/36f2383c-f0e2-4a0d-a893-42288baf1436 HTTP/1.1" 200 OK INFO: 127.0.0.1:57770 - "GET /api/v1/repositories HTTP/1.1" 200 OK WARNING: WatchFiles detected changes in 'app/gitea/client.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [16798] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [28094] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/gitea/service.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [28094] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [28374] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/routes/repositories.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [28374] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [28646] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/routes/repositories.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [28646] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [28776] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/routes/repositories.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [28776] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [30329] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/gitea/client.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [30329] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [33105] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:58309 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:58312 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:58316 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58320 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58323 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58326 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58329 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58512 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:58515 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:58520 - "POST /api/v1/gitea/repos/clone HTTP/1.1" 200 OK INFO: 127.0.0.1:58524 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK WARNING:app.gitea.service:Git push stderr: Pushing to https://gitea.swiftsnake.cn/yipai-tech/AItst1.git warning: setting remote service path not supported by protocol warning: setting remote service path not supported by protocol Enumerating objects: 5, done. Counting objects: 20% (1/5) Counting objects: 40% (2/5) Counting objects: 60% (3/5) Counting objects: 80% (4/5) Counting objects: 100% (5/5) Counting objects: 100% (5/5), done. Delta compression using up to 16 threads Compressing objects: 33% (1/3) Compressing objects: 66% (2/3) Compressing objects: 100% (3/3) Compressing objects: 100% (3/3), done. Writing objects: 25% (1/4) Writing objects: 50% (2/4) Writing objects: 75% (3/4) Writing objects: 100% (4/4) Writing objects: 100% (4/4), 10.12 MiB | 246.62 MiB/s, done. Total 4 (delta 0), reused 0 (delta 0), pack-reused 0 POST git-receive-pack (10606682 bytes) remote: . Processing 1 references remote: Processed 1 references in total To https://gitea.swiftsnake.cn/yipai-tech/AItst1.git 66ed27d..164ebab main -> main updating local tracking ref 'refs/remotes/origin/main' INFO: 127.0.0.1:58527 - "POST /api/v1/gitea/repos/push HTTP/1.1" 200 OK INFO: 127.0.0.1:58535 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58846 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:58849 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:58852 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58855 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58885 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58887 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58889 - "GET /api/v1/repositories/f33bf23a-bed7-41d9-ad8c-7a45bd5e2b33 HTTP/1.1" 200 OK INFO: 127.0.0.1:58891 - "PUT /api/v1/repositories/f33bf23a-bed7-41d9-ad8c-7a45bd5e2b33 HTTP/1.1" 200 OK INFO: 127.0.0.1:58894 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 200 OK INFO: 127.0.0.1:58898 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58909 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58911 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58921 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58923 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58928 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58930 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58942 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58944 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK ERROR:app.gitea.service:❌ Failed to delete repository: AItst1 Failed to delete Gitea repository: AItst1 INFO: 127.0.0.1:58946 - "DELETE /api/v1/repositories/f33bf23a-bed7-41d9-ad8c-7a45bd5e2b33 HTTP/1.1" 200 OK INFO: 127.0.0.1:58949 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59025 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59027 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59206 - "GET /api/v1/repositories HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:59210 - "GET /api/v1/gitea/config HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:59225 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:59228 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:59232 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59235 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59238 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59341 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59343 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59359 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59361 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59363 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59368 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:59371 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:59376 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59385 - "GET /api/v1/repositories/05b7cc76-c19e-4de8-a6b7-449282fec446 HTTP/1.1" 200 OK INFO: 127.0.0.1:59393 - "PUT /api/v1/repositories/05b7cc76-c19e-4de8-a6b7-449282fec446 HTTP/1.1" 200 OK INFO: 127.0.0.1:59396 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 200 OK INFO: 127.0.0.1:59401 - "GET /api/v1/repositories HTTP/1.1" 200 OK ERROR:app.gitea.service:❌ Failed to delete repository: AItst1 Failed to delete Gitea repository: AItst1 INFO: 127.0.0.1:59408 - "DELETE /api/v1/repositories/05b7cc76-c19e-4de8-a6b7-449282fec446 HTTP/1.1" 200 OK INFO: 127.0.0.1:59412 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59552 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59554 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59615 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59618 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [33105] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [47880] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [47880] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [48204] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [48204] WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/project_analyzer.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [49144] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [49144] WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [50757] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:62445 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:62508 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:62595 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:62618 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK ERROR:app.gitea.client:Gitea API request failed: 409 Client Error: Conflict for url: https://gitea.swiftsnake.cn/api/v1/org/yipai-tech/repos INFO: 127.0.0.1:62624 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK ERROR:app.gitea.client:Gitea API request failed: 409 Client Error: Conflict for url: https://gitea.swiftsnake.cn/api/v1/org/yipai-tech/repos ERROR:app.gitea.client:Gitea API request failed: 409 Client Error: Conflict for url: https://gitea.swiftsnake.cn/api/v1/user/repos ERROR:app.gitea.client:Failed to create repository for owner yipai-tech ERROR:app.gitea.service:Failed to create repository: AItst INFO: 127.0.0.1:62632 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:62626 - "POST /api/v1/gitea/repos/create HTTP/1.1" 500 Internal Server Error INFO: 127.0.0.1:62640 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:62643 - "GET /api/v1/repositories HTTP/1.1" 200 OK WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [50757] WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [52385] INFO: Waiting for application startup. INFO: Application startup complete. ERROR:app.gitea.service:❌ Failed to delete repository: AItst Failed to delete Gitea repository: AItst INFO: 127.0.0.1:62921 - "DELETE /api/v1/repositories/7cc4eaed-003e-456b-bbe3-62b5cecf44d2 HTTP/1.1" 200 OK INFO: 127.0.0.1:63018 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:63615 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:63689 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:63709 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:63973 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:64687 - "GET /api/v1/gitea/config HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:64690 - "GET /api/v1/users/me HTTP/1.1" 200 OK WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [52385] WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING: WatchFiles detected changes in 'app/routes/services.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-743: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 244 services: ^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-744: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 244 services: ^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-745: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 244 services: ^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-746: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 244 services: ^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-972: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 244 services: ^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-973: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 244 services: ^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-976: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 256 " ^ SyntaxError: unterminated string literal (detected at line 256) WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-977: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 313 """算法请求处理器""" ^^^^^^^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-978: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 278 service_code = ('# Python HTTP服务包装器\n'\n'\n'\n'import os\n'\n'import sys\n'\n'import json\n'\n'import time\n'\n'from http.server import HTTPServer, BaseHTTPRequestHandler\n'\n'\n'\n'# 添加项目路径到Python路径\n'\n'sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))\n'\n'\n'\n'# 尝试导入算法模块\n'\n'try:\n'\n' # 根据入口点导入算法\n'\n' if "{{entry_point}}" == "":\n'\n' # 尝试导入主要模块\n'\n' import algorithm\n'\n' algorithm_module = algorithm\n'\n' else:\n'\n' # 动态导入入口点\n'\n' import importlib.util\n'\n' spec = importlib.util.spec_from_file_location("algorithm_module", "{{entry_point}}")\n'\n' algorithm_module = importlib.util.module_from_spec(spec)\n'\n' spec.loader.exec_module(algorithm_module)\n'\n' print("算法模块导入成功")\n'\n'except Exception as e:\n'\n' print(f"算法模块导入失败: {e}")\n'\n' algorithm_module = N ^ SyntaxError: unexpected character after line continuation character WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-979: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 480 service_code += " if (\"{{entry_point}}\" === \"") {\n" ^ SyntaxError: unmatched ')' WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-980: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 480 service_code += " if (\"{{entry_point}}\" === \"\") { ^ IndentationError: unindent does not match any outer indentation level WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-981: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 480 service_code += " if (\"{{entry_point}}\" === \"\") { ^ IndentationError: unindent does not match any outer indentation level WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-1210: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 676 """算法请求处理器""" ^^^^^^^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-1211: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 14, in from app.services.service_orchestrator import ServiceOrchestrator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_orchestrator.py", line 612 """Python HTTP服务包装器""" ^^^^^^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-1212: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 13, in from app.services.service_generator import ServiceGenerator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_generator.py", line 974 '''}}} ^ SyntaxError: unmatched '}' WARNING: WatchFiles detected changes in 'app/services/service_generator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-1213: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 14, in from app.services.service_orchestrator import ServiceOrchestrator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_orchestrator.py", line 612 """Python HTTP服务包装器""" ^^^^^^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'venv/lib/python3.9/site-packages/jinja2/_identifier.py', 'venv/lib/python3.9/site-packages/jinja2/environment.py', 'venv/lib/python3.9/site-packages/jinja2/visitor.py', 'venv/lib/python3.9/site-packages/markupsafe/__init__.py', 'venv/lib/python3.9/site-packages/jinja2/filters.py', 'venv/lib/python3.9/site-packages/jinja2/exceptions.py', 'venv/lib/python3.9/site-packages/jinja2/lexer.py', 'venv/lib/python3.9/site-packages/jinja2/meta.py', 'venv/lib/python3.9/site-packages/jinja2/optimizer.py', 'venv/lib/python3.9/site-packages/jinja2/utils.py', 'venv/lib/python3.9/site-packages/jinja2/tests.py', 'venv/lib/python3.9/site-packages/jinja2/bccache.py', 'venv/lib/python3.9/site-packages/jinja2/sandbox.py', 'venv/lib/python3.9/site-packages/jinja2/nativetypes.py', 'venv/lib/python3.9/site-packages/markupsafe/_native.py', 'venv/lib/python3.9/site-packages/jinja2/idtracking.py', 'venv/lib/python3.9/site-packages/jinja2/loaders.py', 'venv/lib/python3.9/site-packages/jinja2/defaults.py', 'venv/lib/python3.9/site-packages/jinja2/compiler.py', 'venv/lib/python3.9/site-packages/jinja2/runtime.py', 'venv/lib/python3.9/site-packages/jinja2/__init__.py', 'venv/lib/python3.9/site-packages/jinja2/async_utils.py', 'venv/lib/python3.9/site-packages/jinja2/ext.py', 'venv/lib/python3.9/site-packages/jinja2/debug.py', 'venv/lib/python3.9/site-packages/jinja2/nodes.py', 'venv/lib/python3.9/site-packages/jinja2/parser.py', 'venv/lib/python3.9/site-packages/jinja2/constants.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-1214: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 14, in from app.services.service_orchestrator import ServiceOrchestrator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_orchestrator.py", line 612 """Python HTTP服务包装器""" ^^^^^^ SyntaxError: invalid syntax WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-1215: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 14, in from app.services.service_orchestrator import ServiceOrchestrator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_orchestrator.py", line 611 return ''' ^ SyntaxError: unterminated triple-quoted string literal (detected at line 962) WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-1216: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 14, in from app.services.service_orchestrator import ServiceOrchestrator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_orchestrator.py", line 9, in from docker.errors import DockerException, ContainerNotFound ImportError: cannot import name 'ContainerNotFound' from 'docker.errors' (/opt/miniconda3/lib/python3.12/site-packages/docker/errors.py) WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-1217: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 14, in from app.services.service_orchestrator import ServiceOrchestrator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_orchestrator.py", line 771 return ''' ^ SyntaxError: unterminated triple-quoted string literal (detected at line 962) WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) Process SpawnProcess-1218: Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/opt/miniconda3/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 195, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/main.py", line 7, in from app.routes import user, api_key, algorithm, openai, gateway, services, data_management, monitoring, permissions, history, deployment, gitea, repositories File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/services.py", line 14, in from app.services.service_orchestrator import ServiceOrchestrator File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/services/service_orchestrator.py", line 9, in from docker.errors import DockerException, ContainerNotFound ImportError: cannot import name 'ContainerNotFound' from 'docker.errors' (/opt/miniconda3/lib/python3.12/site-packages/docker/errors.py) WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [61803] INFO: Waiting for application startup. INFO: Application startup complete. Docker连接失败: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: 127.0.0.1:49567 - "GET /api/v1/repositories HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:49570 - "GET /api/v1/gitea/config HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:50185 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:49579 - "GET /api/v1/repositories HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:49586 - "GET /api/v1/repositories HTTP/1.1" 401 Unauthorized WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [61803] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [61856] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [61856] Docker连接失败: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [61983] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [61983] Docker连接失败: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [62058] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [62058] Docker连接失败: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [62186] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [62186] Docker连接失败: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [62387] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/services/service_orchestrator.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [62387] Docker连接失败: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [62452] INFO: Waiting for application startup. INFO: Application startup complete. WARNING: WatchFiles detected changes in 'app/services/user.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [62452] Docker连接失败: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [64578] INFO: Waiting for application startup. INFO: Application startup complete. Docker连接失败: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: 127.0.0.1:54321 - "POST /api/users/login HTTP/1.1" 404 Not Found INFO: 127.0.0.1:54359 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:54376 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:54379 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:54383 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:54387 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK ERROR:app.gitea.client:Gitea API request failed: 404 Client Error: Not Found for url: https://gitea.swiftsnake.cn/api/v1/repos/yipai-tech/AItst ERROR:app.gitea.service:❌ Failed to delete repository: AItst Failed to delete Gitea repository: AItst INFO: 127.0.0.1:54526 - "DELETE /api/v1/repositories/291f0580-27cd-4623-b9a0-4d91067864cd HTTP/1.1" 200 OK INFO: 127.0.0.1:54530 - "GET /api/v1/repositories HTTP/1.1" 200 OK ERROR:app.gitea.client:Gitea API request failed: 404 Client Error: Not Found for url: https://gitea.swiftsnake.cn/api/v1/repos/yipai-tech/AItst ERROR:app.gitea.service:❌ Failed to delete repository: AItst Failed to delete Gitea repository: AItst INFO: 127.0.0.1:54539 - "DELETE /api/v1/repositories/77218ba3-b194-4c33-b85d-089bdf766152 HTTP/1.1" 200 OK INFO: 127.0.0.1:54545 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:54548 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:54557 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:54560 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:54565 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:54593 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:54595 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:54604 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:54607 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK ERROR:app.gitea.service:❌ Failed to delete repository: AItst Failed to delete Gitea repository: AItst INFO: 127.0.0.1:54943 - "DELETE /api/v1/repositories/5941e8b6-23fb-448c-9fcb-059c4655b01d HTTP/1.1" 200 OK INFO: 127.0.0.1:54948 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55185 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55188 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:55195 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55197 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:55200 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:55214 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:55217 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:55222 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55378 - "GET /api/v1/repositories/353bdc5b-083a-4a17-a149-de7fd08da89d HTTP/1.1" 200 OK INFO: 127.0.0.1:55382 - "PUT /api/v1/repositories/353bdc5b-083a-4a17-a149-de7fd08da89d HTTP/1.1" 200 OK INFO: 127.0.0.1:55385 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 200 OK INFO: 127.0.0.1:55389 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55534 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55537 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:55543 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55545 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK ERROR:app.gitea.service:❌ Failed to delete repository: AItst Failed to delete Gitea repository: AItst INFO: 127.0.0.1:55549 - "DELETE /api/v1/repositories/353bdc5b-083a-4a17-a149-de7fd08da89d HTTP/1.1" 200 OK INFO: 127.0.0.1:55554 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55563 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55565 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:55570 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:55575 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK WARNING:app.gitea.service:Repository is large: 529.02 MB WARNING:app.gitea.service:This may cause HTTP 413 errors on push WARNING:app.gitea.service:Git push stderr: Pushing to https://gitea.swiftsnake.cn/yipai-tech/AItst.git warning: setting remote service path not supported by protocol warning: setting remote service path not supported by protocol To https://gitea.swiftsnake.cn/yipai-tech/AItst.git ! [rejected] main -> main (fetch first) error: failed to push some refs to 'https://gitea.swiftsnake.cn/yipai-tech/AItst.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. WARNING:app.gitea.service:Failed to push to 'main', trying alternative branch... ERROR:app.gitea.service:Failed to push to 'master' as well ERROR:app.gitea.service:❌ Git push failed: Pushing to https://gitea.swiftsnake.cn/yipai-tech/AItst.git error: src refspec master does not match any error: failed to push some refs to 'https://gitea.swiftsnake.cn/yipai-tech/AItst.git' INFO: 127.0.0.1:55579 - "POST /api/v1/gitea/repos/push HTTP/1.1" 500 Internal Server Error INFO: 127.0.0.1:55583 - "POST /api/v1/repositories HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) psycopg2.errors.ForeignKeyViolation: insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AItst) is not present in table "algorithms". The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/applications.py", line 1106, in __call__ await super().__call__(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/applications.py", line 122, in __call__ await self.middleware_stack(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 91, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 146, in simple_response await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__ raise e File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__ await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 718, in __call__ await route.handle(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 276, in handle await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 66, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 274, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/repositories.py", line 68, in create_repository db.commit() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 2030, in commit trans.commit(_to_root=True) File "", line 2, in commit File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1311, in commit self._prepare_impl() File "", line 2, in _prepare_impl File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1286, in _prepare_impl self.session.flush() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4331, in flush self._flush(objects) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4466, in _flush with util.safe_reraise(): ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__ raise exc_value.with_traceback(exc_tb) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4427, in _flush flush_context.execute() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 466, in execute rec.execute(self) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 642, in execute util.preloaded.orm_persistence.save_obj( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 93, in save_obj _emit_insert_statements( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 1233, in _emit_insert_statements result = connection.execute( ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute return meth( ^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection return connection._execute_clauseelement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement ret = self._execute_context( ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.IntegrityError: (psycopg2.errors.ForeignKeyViolation) insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AItst) is not present in table "algorithms". [SQL: INSERT INTO algorithm_repositories (id, algorithm_id, name, description, type, repo_url, branch, local_path, status, updated_at) VALUES (%(id)s, %(algorithm_id)s, %(name)s, %(description)s, %(type)s, %(repo_url)s, %(branch)s, %(local_path)s, %(status)s, %(updated_at)s) RETURNING algorithm_repositories.created_at] [parameters: {'id': 'fc574632-b5a0-4bae-8f24-1d018181a598', 'algorithm_id': 'AItst', 'name': 'tst', 'description': 'tst', 'type': 'code', 'repo_url': 'https://gitea.swiftsnake.cn/yipai-tech/AItst.git', 'branch': 'main', 'local_path': 'AIMonitor', 'status': 'active', 'updated_at': None}] (Background on this error at: https://sqlalche.me/e/20/gkpj) WARNING: WatchFiles detected changes in 'app/gitea/service.py'. Reloading... INFO: Shutting down INFO: Waiting for application shutdown. INFO: Application shutdown complete. INFO: Finished server process [64578] WARNING:root:Failed to connect to MinIO: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /algorithm-data?location= (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')). Running in offline mode. ERROR:app.services.deployment:Failed to connect to Docker: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: Started server process [74269] INFO: Waiting for application startup. INFO: Application startup complete. Docker连接失败: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) INFO: 127.0.0.1:55766 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55771 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:55778 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55780 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:55782 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK ERROR:app.gitea.client:Gitea API request failed: 409 Client Error: Conflict for url: https://gitea.swiftsnake.cn/api/v1/org/yipai-tech/repos ERROR:app.gitea.client:Gitea API request failed: 409 Client Error: Conflict for url: https://gitea.swiftsnake.cn/api/v1/user/repos ERROR:app.gitea.client:Failed to create repository for owner yipai-tech ERROR:app.gitea.service:Failed to create repository: AItst INFO: 127.0.0.1:55790 - "POST /api/v1/gitea/repos/create HTTP/1.1" 500 Internal Server Error INFO: 127.0.0.1:55795 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:55798 - "POST /api/v1/gitea/repos/push HTTP/1.1" 200 OK INFO: 127.0.0.1:55803 - "POST /api/v1/repositories HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) psycopg2.errors.ForeignKeyViolation: insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AItst) is not present in table "algorithms". The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/applications.py", line 1106, in __call__ await super().__call__(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/applications.py", line 122, in __call__ await self.middleware_stack(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 91, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 146, in simple_response await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__ raise e File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__ await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 718, in __call__ await route.handle(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 276, in handle await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 66, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 274, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/repositories.py", line 68, in create_repository db.commit() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 2030, in commit trans.commit(_to_root=True) File "", line 2, in commit File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1311, in commit self._prepare_impl() File "", line 2, in _prepare_impl File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1286, in _prepare_impl self.session.flush() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4331, in flush self._flush(objects) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4466, in _flush with util.safe_reraise(): ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__ raise exc_value.with_traceback(exc_tb) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4427, in _flush flush_context.execute() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 466, in execute rec.execute(self) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 642, in execute util.preloaded.orm_persistence.save_obj( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 93, in save_obj _emit_insert_statements( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 1233, in _emit_insert_statements result = connection.execute( ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute return meth( ^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection return connection._execute_clauseelement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement ret = self._execute_context( ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.IntegrityError: (psycopg2.errors.ForeignKeyViolation) insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AItst) is not present in table "algorithms". [SQL: INSERT INTO algorithm_repositories (id, algorithm_id, name, description, type, repo_url, branch, local_path, status, updated_at) VALUES (%(id)s, %(algorithm_id)s, %(name)s, %(description)s, %(type)s, %(repo_url)s, %(branch)s, %(local_path)s, %(status)s, %(updated_at)s) RETURNING algorithm_repositories.created_at] [parameters: {'id': '91a96e8b-2c2b-4c56-a86f-2357c75d7eb7', 'algorithm_id': 'AItst', 'name': 'tst', 'description': 'tst', 'type': 'code', 'repo_url': 'https://gitea.swiftsnake.cn/yipai-tech/AItst.git', 'branch': 'main', 'local_path': 'AIMonitor', 'status': 'active', 'updated_at': None}] (Background on this error at: https://sqlalche.me/e/20/gkpj) INFO: 127.0.0.1:55913 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:55915 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:55917 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:56099 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:56101 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:56104 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:56109 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:56114 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:56117 - "POST /api/v1/gitea/repos/push HTTP/1.1" 200 OK INFO: 127.0.0.1:56122 - "POST /api/v1/repositories HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application Traceback (most recent call last): File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) psycopg2.errors.ForeignKeyViolation: insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AItst) is not present in table "algorithms". The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/applications.py", line 1106, in __call__ await super().__call__(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/applications.py", line 122, in __call__ await self.middleware_stack(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 91, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 146, in simple_response await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ raise exc File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__ raise e File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__ await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 718, in __call__ await route.handle(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 276, in handle await self.app(scope, receive, send) File "/Users/duguoyou/.local/lib/python3.12/site-packages/starlette/routing.py", line 66, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 274, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/.local/lib/python3.12/site-packages/fastapi/routing.py", line 191, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/duguoyou/MLFlow/algorithm-showcase/backend/app/routes/repositories.py", line 68, in create_repository db.commit() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 2030, in commit trans.commit(_to_root=True) File "", line 2, in commit File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1311, in commit self._prepare_impl() File "", line 2, in _prepare_impl File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 1286, in _prepare_impl self.session.flush() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4331, in flush self._flush(objects) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4466, in _flush with util.safe_reraise(): ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__ raise exc_value.with_traceback(exc_tb) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/session.py", line 4427, in _flush flush_context.execute() File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 466, in execute rec.execute(self) File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 642, in execute util.preloaded.orm_persistence.save_obj( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 93, in save_obj _emit_insert_statements( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 1233, in _emit_insert_statements result = connection.execute( ^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute return meth( ^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection return connection._execute_clauseelement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement ret = self._execute_context( ^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/opt/miniconda3/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.IntegrityError: (psycopg2.errors.ForeignKeyViolation) insert or update on table "algorithm_repositories" violates foreign key constraint "algorithm_repositories_algorithm_id_fkey" DETAIL: Key (algorithm_id)=(AItst) is not present in table "algorithms". [SQL: INSERT INTO algorithm_repositories (id, algorithm_id, name, description, type, repo_url, branch, local_path, status, updated_at) VALUES (%(id)s, %(algorithm_id)s, %(name)s, %(description)s, %(type)s, %(repo_url)s, %(branch)s, %(local_path)s, %(status)s, %(updated_at)s) RETURNING algorithm_repositories.created_at] [parameters: {'id': '7f155cc1-3b9a-489b-b0ef-acd7b9e34056', 'algorithm_id': 'AItst', 'name': 'tst', 'description': 'tst', 'type': 'code', 'repo_url': 'https://gitea.swiftsnake.cn/yipai-tech/AItst.git', 'branch': 'main', 'local_path': 'AIMonitor', 'status': 'active', 'updated_at': None}] (Background on this error at: https://sqlalche.me/e/20/gkpj) INFO: 127.0.0.1:56265 - "GET /api/health HTTP/1.1" 404 Not Found INFO: 127.0.0.1:56270 - "GET / HTTP/1.1" 200 OK INFO: 127.0.0.1:56325 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:56327 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:56334 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:56336 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57092 - "GET /api/v1/repositories HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:57094 - "GET /api/v1/gitea/config HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:57129 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:57132 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:57136 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57139 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57142 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57442 - "POST /api/v1/users/login HTTP/1.1" 401 Unauthorized INFO: 127.0.0.1:57446 - "POST /api/v1/users/login HTTP/1.1" 200 OK INFO: 127.0.0.1:57449 - "GET /api/v1/users/me HTTP/1.1" 200 OK INFO: 127.0.0.1:57452 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57455 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:57466 - "POST /api/v1/repositories HTTP/1.1" 201 Created INFO: 127.0.0.1:57469 - "POST /api/v1/gitea/repos/create HTTP/1.1" 200 OK INFO: 127.0.0.1:57474 - "POST /api/v1/gitea/repos/clone HTTP/1.1" 200 OK INFO: 127.0.0.1:57478 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:57481 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:57484 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK INFO: 127.0.0.1:57488 - "POST /api/v1/gitea/repos/upload HTTP/1.1" 200 OK WARNING:app.gitea.service:Repository is large: 529.00 MB WARNING:app.gitea.service:This may cause HTTP 413 errors on push WARNING:app.gitea.service:Git push stderr: Pushing to https://gitea.swiftsnake.cn/yipai-tech/AItst.git warning: setting remote service path not supported by protocol warning: setting remote service path not supported by protocol Enumerating objects: 34, done. Counting objects: 2% (1/34) Counting objects: 5% (2/34) Counting objects: 8% (3/34) Counting objects: 11% (4/34) Counting objects: 14% (5/34) Counting objects: 17% (6/34) Counting objects: 20% (7/34) Counting objects: 23% (8/34) Counting objects: 26% (9/34) Counting objects: 29% (10/34) Counting objects: 32% (11/34) Counting objects: 35% (12/34) Counting objects: 38% (13/34) Counting objects: 41% (14/34) Counting objects: 44% (15/34) Counting objects: 47% (16/34) Counting objects: 50% (17/34) Counting objects: 52% (18/34) Counting objects: 55% (19/34) Counting objects: 58% (20/34) Counting objects: 61% (21/34) Counting objects: 64% (22/34) Counting objects: 67% (23/34) Counting objects: 70% (24/34) Counting objects: 73% (25/34) Counting objects: 76% (26/34) Counting objects: 79% (27/34) Counting objects: 82% (28/34) Counting objects: 85% (29/34) Counting objects: 88% (30/34) Counting objects: 91% (31/34) Counting objects: 94% (32/34) Counting objects: 97% (33/34) Counting objects: 100% (34/34) Counting objects: 100% (34/34), done. Delta compression using up to 16 threads Compressing objects: 3% (1/31) Compressing objects: 6% (2/31) Compressing objects: 9% (3/31) Compressing objects: 12% (4/31) Compressing objects: 16% (5/31) Compressing objects: 19% (6/31) Compressing objects: 22% (7/31) Compressing objects: 25% (8/31) Compressing objects: 29% (9/31) Compressing objects: 32% (10/31) Compressing objects: 35% (11/31) Compressing objects: 38% (12/31) Compressing objects: 41% (13/31) Compressing objects: 45% (14/31) Compressing objects: 48% (15/31) Compressing objects: 51% (16/31) Compressing objects: 54% (17/31) Compressing objects: 58% (18/31) Compressing objects: 61% (19/31) Compressing objects: 64% (20/31) Compressing objects: 67% (21/31) Compressing objects: 70% (22/31) Compressing objects: 74% (23/31) Compressing objects: 77% (24/31) Compressing objects: 80% (25/31) Compressing objects: 83% (26/31) Compressing objects: 87% (27/31) Compressing objects: 90% (28/31) Compressing objects: 93% (29/31) Compressing objects: 96% (30/31) Compressing objects: 100% (31/31) Compressing objects: 100% (31/31), done. Writing objects: 3% (1/33) Writing objects: 6% (2/33) Writing objects: 9% (3/33) Writing objects: 12% (4/33) Writing objects: 15% (5/33) Writing objects: 18% (6/33) Writing objects: 21% (7/33) Writing objects: 24% (8/33) Writing objects: 27% (9/33) Writing objects: 30% (10/33) Writing objects: 33% (11/33) Writing objects: 36% (12/33) Writing objects: 39% (13/33) Writing objects: 42% (14/33) Writing objects: 48% (16/33) Writing objects: 51% (17/33) Writing objects: 54% (18/33) Writing objects: 57% (19/33) Writing objects: 63% (21/33) Writing objects: 66% (22/33) Writing objects: 69% (23/33) Writing objects: 72% (24/33) Writing objects: 75% (25/33) Writing objects: 78% (26/33) Writing objects: 81% (27/33) Writing objects: 84% (28/33) Writing objects: 87% (29/33) Writing objects: 90% (30/33) Writing objects: 93% (31/33) POST git-receive-pack (chunked) Writing objects: 93% (31/33), 500.07 MiB | 8.91 MiB/s Writing objects: 93% (31/33), 511.69 MiB | 8.95 MiB/s Writing objects: 93% (31/33), 524.50 MiB | 9.02 MiB/s Writing objects: 96% (32/33), 524.50 MiB | 9.02 MiB/s Writing objects: 100% (33/33), 524.50 MiB | 9.02 MiB/s Writing objects: 100% (33/33), 529.02 MiB | 9.01 MiB/s, done. Total 33 (delta 4), reused 0 (delta 0), pack-reused 0 remote: . Processing 1 references remote: Processed 1 references in total To https://gitea.swiftsnake.cn/yipai-tech/AItst.git bb01265..505cfe9 main -> main updating local tracking ref 'refs/remotes/origin/main' INFO: 127.0.0.1:57494 - "POST /api/v1/gitea/repos/push HTTP/1.1" 200 OK INFO: 127.0.0.1:57608 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57626 - "GET /api/v1/repositories/e87f84b1-439d-426d-af11-dd1653c54ced HTTP/1.1" 200 OK INFO: 127.0.0.1:57630 - "PUT /api/v1/repositories/e87f84b1-439d-426d-af11-dd1653c54ced HTTP/1.1" 200 OK INFO: 127.0.0.1:57633 - "PATCH /api/v1/gitea/repos/update HTTP/1.1" 200 OK INFO: 127.0.0.1:57637 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57957 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:57960 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58386 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58388 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58409 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58411 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:58972 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:58976 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59054 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59058 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59080 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59084 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59104 - "GET /api/v1/repositories HTTP/1.1" 200 OK INFO: 127.0.0.1:59108 - "GET /api/v1/gitea/config HTTP/1.1" 200 OK INFO: 127.0.0.1:59318 - "GET /api/v1/repositories HTTP/1.1" 401 Unauthorized