continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
18.68k stars 1.57k forks source link

Unclosed client session #611

Closed gecexgokyuzu closed 10 months ago

gecexgokyuzu commented 11 months ago

Before submitting your bug report

Relevant environment info

- OS: Microsoft Windows 10 Pro Education 10.0.19045 N/A Build 19045
- Continue: v0.5.0
- VSCode: 1.84.1

Description

Unclosed Client Session,

Logs:-------------------------------------------- INFO: Started server process [6120] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:65432 (Press CTRL+C to quit) INFO: ('127.0.0.1', 51501) - "WebSocket /socket.io/?window_id=66cc1fdd-f5d0-41e0-b890-ab8c64b2aa5a&EIO=4&transport=websocket" [accepted] INFO: connection open [2023-11-09 14:37:14] [DEBUG] Starting MeiliSearch... [2023-11-09 14:37:14] [INFO] Meilisearch started at http://localhost:7700 INFO: ('127.0.0.1', 51507) - "WebSocket /socket.io/?window_info=%7B%22window_id%22%3A%2266cc1fdd-f5d0-41e0-b890-ab8c64b2aa5a%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.1%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open INFO: ('127.0.0.1', 51515) - "WebSocket /socket.io/?window_info=%7B%22window_id%22%3A%2278720a26-786e-4a0d-b663-1dbd009277b5%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Capi%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.1%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open INFO: connection closed INFO: ('127.0.0.1', 51516) - "WebSocket /socket.io/?window_info=%7B%22window_id%22%3A%2266cc1fdd-f5d0-41e0-b890-ab8c64b2aa5a%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.1%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F6846B90> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F6846E50> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F6846B90> INFO: connection closed INFO: ('127.0.0.1', 51523) - "WebSocket /socket.io/?window_info=%7B%22window_id%22%3A%2266cc1fdd-f5d0-41e0-b890-ab8c64b2aa5a%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.1%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F68462D0> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F68465D0> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F6844C90> INFO: connection closed INFO: ('127.0.0.1', 51530) - "WebSocket /socket.io/?window_info=%7B%22window_id%22%3A%2266cc1fdd-f5d0-41e0-b890-ab8c64b2aa5a%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.1%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F688AC90> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F688B050> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F688BC90> INFO: connection closed INFO: ('127.0.0.1', 51538) - "WebSocket /socket.io/?window_info=%7B%22window_id%22%3A%2266cc1fdd-f5d0-41e0-b890-ab8c64b2aa5a%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.1%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F6891490> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F6890B90> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000227F6892850> INFO: Shutting down / here shutdown is made by me to break infinite loop / INFO: connection closed INFO: connection closed INFO: connection closed INFO: Finished server process [6120] [2023-11-09 14:37:36] [DEBUG] ------ End logs ------

To reproduce

This only occurs from time to time, the service working on port7700 shuts down while im working, i dont notice it, then when i try to reboot, this cycle of connection open/closed starts.

haven't found a way to reproduce yet,

after searching with netstat -ano | findstr 7700; there are no services found on port 7700.

Log output

9.108 seconds

[2023-11-09 14:13:50] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:13:50] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:13:50] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:13:53] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:13:53] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:13:57] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:14:02] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:14:02] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:14:15] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:14:15] [INFO] Loaded Meilisearch index in 48.625 seconds

[2023-11-09 14:14:25] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:14:28] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:14:28] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:14:28] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:14:29] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:14:32] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:14:32] [INFO] Loaded Meilisearch index in 29.988 seconds

[2023-11-09 14:14:32] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:14:33] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:14:33] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:14:34] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:14:34] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:14:35] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:14:37] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:14:37] [INFO] Loaded Meilisearch index in 28.602 seconds

[2023-11-09 14:14:37] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:14:37] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:14:59] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:14:59] [INFO] Loaded Meilisearch index in 45.235 seconds

[2023-11-09 14:14:59] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:14:59] [INFO] Loaded Meilisearch index in 30.052 seconds

[2023-11-09 14:15:05] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:15:08] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:15:08] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:15:17] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:15:21] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:15:21] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:15:29] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:15:29] [INFO] Loaded Meilisearch index in 44.926 seconds

[2023-11-09 14:15:35] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:15:36] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:15:39] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:15:39] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:15:42] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:15:47] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:15:47] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:15:48] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:15:51] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:15:51] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:15:54] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:15:54] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:15:55] [DEBUG] Error loading meilisearch index: MeilisearchError. Error message: .

[2023-11-09 14:15:55] [INFO] Loaded Meilisearch index in 27.643 seconds

[2023-11-09 14:15:57] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:15:57] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:15:57] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:15:57] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:16:00] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:16:05] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:16:05] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:16:19] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:16:20] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:16:20] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:16:20] [INFO] Loaded Meilisearch index in 46.376 seconds

[2023-11-09 14:16:20] [DEBUG] Error loading meilisearch index: MeilisearchError. Error message: .

[2023-11-09 14:16:23] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:16:23] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:16:23] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:16:26] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:16:26] [INFO] Loaded Meilisearch index in 46.891 seconds

[2023-11-09 14:16:46] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:16:46] [INFO] Loaded Meilisearch index in 48.005 seconds

[2023-11-09 14:17:01] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:17:02] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:17:06] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:17:06] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:17:07] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:17:07] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:17:09] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:17:10] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:17:10] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:17:10] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:17:10] [INFO] Loaded Meilisearch index in 29.478 seconds

[2023-11-09 14:17:11] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:17:13] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:17:17] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:17:17] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:17:19] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:17:19] [DEBUG] Error loading meilisearch index: MeilisearchError. Error message: .

[2023-11-09 14:17:19] [INFO] Loaded Meilisearch index in 27.260 seconds

[2023-11-09 14:17:22] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:17:22] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:17:22] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:17:23] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:17:32] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:17:32] [INFO] Loaded Meilisearch index in 45.538 seconds

[2023-11-09 14:17:32] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:17:32] [INFO] Loaded Meilisearch index in 25.479 seconds

[2023-11-09 14:17:50] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:17:50] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:17:55] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:17:55] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:17:55] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:17:55] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:18:02] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:18:02] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:18:24] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:18:25] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:18:25] [INFO] Loaded Meilisearch index in 55.746 seconds

[2023-11-09 14:18:25] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:18:25] [INFO] Loaded Meilisearch index in 50.093 seconds

[2023-11-09 14:18:29] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:18:29] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:18:30] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:18:34] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:18:34] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:18:36] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:18:37] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:18:37] [DEBUG] Error loading meilisearch index: MeilisearchError. Error message: .

[2023-11-09 14:18:37] [INFO] Loaded Meilisearch index in 27.397 seconds

[2023-11-09 14:18:40] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:18:40] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:18:40] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:18:40] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:18:52] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:18:55] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:18:55] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:18:55] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:19:07] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:19:08] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:19:10] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:19:10] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:19:10] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:19:14] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:19:14] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:19:16] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:19:16] [INFO] Loaded Meilisearch index in 47.222 seconds

[2023-11-09 14:19:41] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:19:41] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:19:44] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:19:44] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:19:44] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:19:56] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:19:59] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:19:59] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:20:00] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:20:12] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:20:12] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:20:15] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:20:15] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:20:15] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:20:18] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:20:18] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:20:21] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:20:21] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:20:26] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:20:26] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:20:49] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:20:49] [INFO] Loaded Meilisearch index in 48.651 seconds

[2023-11-09 14:20:49] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:20:49] [INFO] Loaded Meilisearch index in 37.727 seconds

[2023-11-09 14:21:09] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:21:10] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:21:15] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:21:15] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:21:15] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:21:36] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:21:36] [INFO] Loaded Meilisearch index in 53.846 seconds

[2023-11-09 14:21:51] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:21:52] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:21:54] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:21:54] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:21:55] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:22:07] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:22:07] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:22:11] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:22:11] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:22:11] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:22:18] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:22:18] [INFO] Loaded Meilisearch index in 49.243 seconds

[2023-11-09 14:22:18] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:22:21] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:22:21] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:22:22] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:22:32] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:22:32] [INFO] Loaded Meilisearch index in 46.746 seconds

[2023-11-09 14:22:32] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:22:36] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:22:36] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:22:59] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:23:00] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:23:03] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:23:03] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:23:03] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:23:03] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:23:16] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:23:16] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:23:19] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:23:19] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:23:19] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:23:26] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:23:26] [INFO] Loaded Meilisearch index in 49.477 seconds

[2023-11-09 14:23:26] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:23:29] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:23:29] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:23:30] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:23:30] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:23:31] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:23:31] [DEBUG] Error loading meilisearch index: MeilisearchError. Error message: .

[2023-11-09 14:23:31] [INFO] Loaded Meilisearch index in 27.327 seconds

[2023-11-09 14:23:33] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:23:33] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:23:41] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:23:41] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:23:41] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:23:41] [INFO] Loaded Meilisearch index in 46.858 seconds

[2023-11-09 14:23:43] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:23:43] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:23:55] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:24:00] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:24:00] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:24:07] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:24:07] [INFO] Loaded Meilisearch index in 47.152 seconds

[2023-11-09 14:24:07] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:24:11] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:24:11] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:24:11] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:24:12] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:24:18] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:24:18] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:24:21] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:24:25] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:24:25] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:24:39] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:24:39] [INFO] Loaded Meilisearch index in 47.003 seconds

[2023-11-09 14:25:15] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:25:15] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:25:23] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:25:23] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:25:32] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:25:32] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:25:36] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:25:36] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:25:39] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:25:40] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:25:42] [WARNING] Error adding document to meilisearch: MeilisearchError. Error message: .

[2023-11-09 14:25:45] [WARNING] Error adding document to meilisearch: MeilisearchError. Error message: .

[2023-11-09 14:25:45] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:25:45] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:25:48] [WARNING] Error adding document to meilisearch: MeilisearchError. Error message: .

[2023-11-09 14:25:50] [WARNING] Meilisearch did not restart in less than 20 seconds. Stopping polling.

[2023-11-09 14:25:55] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:25:55] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:25:55] [WARNING] Error adding document to meilisearch: MeilisearchApiError. Client error '408 Request Timeout' for url 'http://localhost:7700/indexes/continue_context_items'

For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408  

[2023-11-09 14:25:56] [WARNING] Error adding document to meilisearch: MeilisearchApiError. Client error '408 Request Timeout' for url 'http://localhost:7700/indexes/continue_context_items'

For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408  

[2023-11-09 14:25:56] [WARNING] Error adding document to meilisearch: MeilisearchApiError. Client error '408 Request Timeout' for url 'http://localhost:7700/indexes/continue_context_items'

For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408  

[2023-11-09 14:25:58] [WARNING] Error adding document to meilisearch: MeilisearchApiError. Client error '408 Request Timeout' for url 'http://localhost:7700/indexes/continue_context_items'

For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408  

[2023-11-09 14:26:00] [WARNING] Error adding document to meilisearch: MeilisearchApiError. Client error '408 Request Timeout' for url 'http://localhost:7700/indexes/continue_context_items'

For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408  

[2023-11-09 14:26:01] [WARNING] Error adding document to meilisearch: MeilisearchApiError. Client error '408 Request Timeout' for url 'http://localhost:7700/indexes/continue_context_items'

For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408  

[2023-11-09 14:26:01] [WARNING] Meilisearch did not start in less than 20 seconds. Stopping polling.

[2023-11-09 14:26:01] [DEBUG] Error loading meilisearch index: MeilisearchError. Error message: .

[2023-11-09 14:26:01] [INFO] Loaded Meilisearch index in 66.586 seconds

[2023-11-09 14:26:01] [WARNING] Error adding document to meilisearch: MeilisearchApiError. Client error '408 Request Timeout' for url 'http://localhost:7700/indexes/continue_context_items'

For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408  

[2023-11-09 14:26:24] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:26:24] [INFO] Loaded Meilisearch index in 71.407 seconds

[2023-11-09 14:26:54] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:26:54] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:26:56] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:27:05] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:27:05] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:27:09] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:27:09] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:27:11] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:27:15] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:27:15] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:27:18] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:27:18] [INFO] Loaded Meilisearch index in 44.446 seconds

[2023-11-09 14:27:30] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:27:30] [INFO] Loaded Meilisearch index in 45.646 seconds

[2023-11-09 14:27:37] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:27:37] [INFO] Loaded Meilisearch index in 45.768 seconds

[2023-11-09 14:27:37] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:27:42] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:27:42] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:27:56] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:27:56] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:27:59] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:27:59] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:28:00] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:28:04] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:28:04] [INFO] Loaded Meilisearch index in 48.554 seconds

[2023-11-09 14:28:04] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:28:09] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:28:09] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:28:11] [DEBUG] Error loading meilisearch index: unknown async library, or not in async context

[2023-11-09 14:28:12] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:28:12] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:28:12] [WARNING] Error adding documents to meilisearch for context provider URLContextProvider: MeilisearchError. Error message: .

[2023-11-09 14:28:12] [WARNING] Error adding documents to meilisearch for context provider TerminalContextProvider: MeilisearchError. Error message: .

[2023-11-09 14:28:12] [WARNING] Error adding documents to meilisearch for context provider DiffContextProvider: MeilisearchError. Error message: .

[2023-11-09 14:28:12] [WARNING] Error adding documents to meilisearch for context provider URLContextProvider: MeilisearchError. Error message: .

[2023-11-09 14:28:23] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:28:23] [INFO] Loaded Meilisearch index in 49.170 seconds

[2023-11-09 14:28:31] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:28:31] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:28:34] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:28:34] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:28:37] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:28:42] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:28:42] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:28:56] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:28:56] [INFO] Loaded Meilisearch index in 46.043 seconds

[2023-11-09 14:29:16] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:29:16] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:29:19] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:29:19] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:29:19] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:29:31] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:29:31] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:29:34] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:29:34] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:29:35] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:29:46] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:29:47] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:29:50] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:29:50] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:29:50] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:29:57] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:29:57] [INFO] Loaded Meilisearch index in 47.170 seconds

[2023-11-09 14:29:57] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:30:02] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:30:04] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:30:04] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:30:04] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:30:05] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:30:13] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:30:13] [INFO] Loaded Meilisearch index in 47.186 seconds

[2023-11-09 14:30:13] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:30:13] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:30:16] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:30:16] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:30:16] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:30:26] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:30:26] [INFO] Loaded Meilisearch index in 50.873 seconds

[2023-11-09 14:30:28] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:30:28] [INFO] Loaded Meilisearch index in 47.329 seconds

[2023-11-09 14:30:49] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:30:49] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:30:50] [DEBUG] Error loading meilisearch index: MeilisearchError. Error message: .

[2023-11-09 14:30:53] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:30:53] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:30:54] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:30:54] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:31:00] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:31:00] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:31:00] [DEBUG] Error loading meilisearch index: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:31:00] [INFO] Loaded Meilisearch index in 31.732 seconds

[2023-11-09 14:31:01] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:31:01] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:31:06] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:31:06] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:31:29] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:31:29] [INFO] Loaded Meilisearch index in 54.813 seconds

[2023-11-09 14:31:37] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:31:38] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:31:43] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:31:43] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:32:05] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:32:06] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:32:06] [INFO] Loaded Meilisearch index in 49.241 seconds

[2023-11-09 14:32:10] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:32:10] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:32:17] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:32:20] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:32:20] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:32:21] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:32:26] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:32:38] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:32:38] [INFO] Loaded Meilisearch index in 54.645 seconds

[2023-11-09 14:32:38] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:32:38] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:34:39] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:34:39] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:34:53] [INFO] Loaded Meilisearch index in 12.129 seconds

[2023-11-09 14:35:00] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:35:06] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:35:06] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:35:07] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:35:07] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:35:11] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:35:13] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:35:13] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:35:13] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:35:13] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:35:15] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:35:15] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:35:33] [INFO] Loaded Meilisearch index in 3.881 seconds

[2023-11-09 14:35:38] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:35:40] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:35:41] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:35:41] [INFO] Loaded Meilisearch index in 56.729 seconds

[2023-11-09 14:35:41] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:35:47] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:35:51] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:35:51] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:35:54] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:36:00] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:36:00] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:36:00] [WARNING] Error adding document to meilisearch: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:36:00] [WARNING] Error adding document to meilisearch: MeilisearchCommunicationError, All connection attempts failed

[2023-11-09 14:36:07] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:36:07] [INFO] Loaded Meilisearch index in 51.471 seconds

[2023-11-09 14:36:13] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:36:13] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:36:16] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:36:16] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:36:17] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:36:21] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:36:22] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:36:22] [INFO] Loaded Meilisearch index in 48.490 seconds

[2023-11-09 14:36:26] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:36:26] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:36:38] [DEBUG] Error loading meilisearch index: 

[2023-11-09 14:36:39] [WARNING] Failed to kill process on port 7700 (no such process)

[2023-11-09 14:36:42] [DEBUG] Starting MeiliSearch...

[2023-11-09 14:36:42] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:36:42] [INFO] Meilisearch started at http://localhost:7700

[2023-11-09 14:37:14] [DEBUG] Starting MeiliSearch...
[2023-11-09 14:37:14] [INFO] Meilisearch started at http://localhost:7700
[2023-11-09 14:37:36] [DEBUG] ------ End logs ------
sestinj commented 11 months ago

@gecexgokyuzu I know the potential source of the unclosed session, so I should be able to fix this for the next release.

Are there any critical side-effects of this error, or is Continue able to operate as usual?

gecexgokyuzu commented 11 months ago

the continue server fails but restarting the pc does close that unclosed session rarely happens btwSent from my iPhoneOn 9 Nov 2023, at 23:27, Nate Sesti @.***> wrote: @gecexgokyuzu I know the potential source of the unclosed session, so I should be able to fix this for the next release. Are there any critical side-effects of this error, or is Continue able to operate as usual?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

gecexgokyuzu commented 11 months ago

I’ve found the issues root, it specifically happens when im on a different repository and click on the selected line range label above the prompt box. so it opens the file from the other directory and the unclosed session loop starts rolling in the terminal.Sent from my iPhoneOn 10 Nov 2023, at 08:52, Hakan Yüksel Derin (gecexgokyuzu) @.> wrote:the continue server fails but restarting the pc does close that unclosed session rarely happens btwSent from my iPhoneOn 9 Nov 2023, at 23:27, Nate Sesti @.> wrote: @gecexgokyuzu I know the potential source of the unclosed session, so I should be able to fix this for the next release. Are there any critical side-effects of this error, or is Continue able to operate as usual?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

sestinj commented 11 months ago

@gecexgokyuzu I just cleaned up what I think was the source of the unclosed client session and checked by doing the same "open file from another directory" flow as you described. Now not seeing the unclosed client session loop.

Can you verify in the latest versions (pre-release is 0.7.4+) whether this is fixed for you?

gecexgokyuzu commented 11 months ago

hey Nate!

the issue seems to persist, and this time it directly gets into the infinite loop without even doing anything, here is the console output:

PS D:\Yazılım\WEBSİTELERİ\CMHLIFESTYLE\api> python -m continuedev


__/__ _ /__(_)___ ___ / __ _ \ / / _ / / / \ / / / // / / / // / / / / // /_/ / / / __/ __/ // // \/ // // /_/ \,/ \/

INFO: Started server process [16980] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:65432 (Press CTRL+C to quit) INFO: ('127.0.0.1', 5103) - "WebSocket / socket.io/?window_id=ffdc47f4-eefa-414d-8819-a1656cd9b0f1&EIO=4&transport=websocket" [accepted] INFO: connection open INFO: 127.0.0.1:5111 - "GET /slash_commands HTTP/1.1" 200 OK INFO: 127.0.0.1:5112 - "GET /context_providers HTTP/1.1" 200 OK INFO: ('127.0.0.1', 5114) - "WebSocket / socket.io/?window_info=%7B%22window_id%22%3A%22ffdc47f4-eefa-414d-8819-a1656cd9b0f1%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.2%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open INFO: ('127.0.0.1', 5115) - "WebSocket / socket.io/?window_info=%7B%22window_id%22%3A%223cdb068a-4a96-4bf7-8820-f53784cfb5a1%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Capi%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.2%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open [2023-11-20 13:33:08] [DEBUG] Starting MeiliSearch... [2023-11-20 13:33:08] [INFO] Meilisearch started at http://localhost:7700 Cancelled task listDirectoryContents INFO: ('127.0.0.1', 5354) - "WebSocket / socket.io/?window_info=%7B%22window_id%22%3A%22ffdc47f4-eefa-414d-8819-a1656cd9b0f1%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.2%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD2A7050> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD187890> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD2A5710> INFO: connection closed INFO: connection closed INFO: ('127.0.0.1', 5375) - "WebSocket / socket.io/?window_info=%7B%22window_id%22%3A%22ffdc47f4-eefa-414d-8819-a1656cd9b0f1%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.2%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD1A5690> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD1A6E90> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD1A5690>

On Thu, 16 Nov 2023 at 23:06, Nate Sesti @.***> wrote:

@gecexgokyuzu https://github.com/gecexgokyuzu I just cleaned up what I think was the source of the unclosed client session and checked by doing the same "open file from another directory" flow as you described. Now not seeing the unclosed client session loop.

Can you verify in the latest versions (pre-release is 0.7.4+) whether this is fixed for you?

— Reply to this email directly, view it on GitHub https://github.com/continuedev/continue/issues/611#issuecomment-1815315712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYWPMVDA2ZAL5AB6QYYRDLLYEZ56ZAVCNFSM6AAAAAA7EQGRTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVGMYTKNZRGI . You are receiving this because you were mentioned.Message ID: @.***>

gecexgokyuzu commented 11 months ago

also my local server version is like below:

Name: continuedev Version: 0.1.75 Summary: Home-page: Author: Nate Sesti Author-email: @.*** License: Location: C:\Users\gecexgokyuzu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages Requires: anthropic, boltons, bs4, chevron, chromadb, directory-tree, fastapi, huggingface-hub, jsonref, jsonschema, meilisearch-python-async, nest-asyncio, openai, posthog, psutil, pydantic, pygithub, python-dotenv, python-lsp-server, python-socketio, redbaron, replicate, ripgrepy, socksio, tiktoken, tree-sitter, tree-sitter-languages, typer, urllib3, uvicorn, websockets Required-by:

On Mon, 20 Nov 2023 at 13:35, Hakan Yüksel Derin @.***> wrote:

hey Nate!

the issue seems to persist, and this time it directly gets into the infinite loop without even doing anything, here is the console output:

PS D:\Yazılım\WEBSİTELERİ\CMHLIFESTYLE\api> python -m continuedev


__/__ _ /__(_)___ ___ / __ _ \ / / _ / / / \ / / / // / / / // / / / / // /_/ / / / __/ __/ // // \/ // // /_/ \,/ \/

INFO: Started server process [16980] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:65432 (Press CTRL+C to quit) INFO: ('127.0.0.1', 5103) - "WebSocket / socket.io/?window_id=ffdc47f4-eefa-414d-8819-a1656cd9b0f1&EIO=4&transport=websocket" [accepted] INFO: connection open INFO: 127.0.0.1:5111 - "GET /slash_commands HTTP/1.1" 200 OK INFO: 127.0.0.1:5112 - "GET /context_providers HTTP/1.1" 200 OK INFO: ('127.0.0.1', 5114) - "WebSocket / socket.io/?window_info=%7B%22window_id%22%3A%22ffdc47f4-eefa-414d-8819-a1656cd9b0f1%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.2%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open INFO: ('127.0.0.1', 5115) - "WebSocket / socket.io/?window_info=%7B%22window_id%22%3A%223cdb068a-4a96-4bf7-8820-f53784cfb5a1%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Capi%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.2%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open [2023-11-20 13:33:08] [DEBUG] Starting MeiliSearch... [2023-11-20 13:33:08] [INFO] Meilisearch started at http://localhost:7700 Cancelled task listDirectoryContents INFO: ('127.0.0.1', 5354) - "WebSocket / socket.io/?window_info=%7B%22window_id%22%3A%22ffdc47f4-eefa-414d-8819-a1656cd9b0f1%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.2%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD2A7050> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD187890> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD2A5710> INFO: connection closed INFO: connection closed INFO: ('127.0.0.1', 5375) - "WebSocket / socket.io/?window_info=%7B%22window_id%22%3A%22ffdc47f4-eefa-414d-8819-a1656cd9b0f1%22%2C%22workspace_directory%22%3A%22d%3A%5C%5CYaz%C4%B1l%C4%B1m%5C%5CWEBS%C4%B0TELER%C4%B0%5C%5CCMHLIFESTYLE%5C%5Cpublic_html%22%2C%22unique_id%22%3A%22f99ccc5d3fc7a95d4ff2f2c568ce8daf11356f41cbcd9328cb0169a304ecb42a%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.2%22%7D%7D&EIO=4&transport=websocket" [accepted] INFO: connection open Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD1A5690> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD1A6E90> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x00000214CD1A5690>

On Thu, 16 Nov 2023 at 23:06, Nate Sesti @.***> wrote:

@gecexgokyuzu https://github.com/gecexgokyuzu I just cleaned up what I think was the source of the unclosed client session and checked by doing the same "open file from another directory" flow as you described. Now not seeing the unclosed client session loop.

Can you verify in the latest versions (pre-release is 0.7.4+) whether this is fixed for you?

— Reply to this email directly, view it on GitHub https://github.com/continuedev/continue/issues/611#issuecomment-1815315712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYWPMVDA2ZAL5AB6QYYRDLLYEZ56ZAVCNFSM6AAAAAA7EQGRTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVGMYTKNZRGI . You are receiving this because you were mentioned.Message ID: @.***>

notsyncing commented 11 months ago

same here even on server 0.1.100, any news?

output:


_________               _____ _____                       
__  ____/______ _______ __  /____(_)_______ ____  _______ 
_  /     _  __ \__  __ \_  __/__  / __  __ \_  / / /_  _ \
/ /___   / /_/ /_  / / // /_  _  /  _  / / // /_/ / /  __/
\____/   \____/ /_/ /_/ \__/  /_/   /_/ /_/ \__,_/  \___/ 

[2023-11-29 21:21:11] [DEBUG] ------ Begin Logs ------
INFO:     Started server process [121442]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:65432 (Press CTRL+C to quit)
[2023-11-29 21:21:11] [DEBUG] Starting MeiliSearch...
[2023-11-29 21:21:11] [INFO] Meilisearch started at http://localhost:7700
INFO:     ('127.0.0.1', 59128) - "WebSocket /socket.io/?window_info=%7B%22window_id%22%3A%223e1064f3-af83-4f02-ba40-41b97feecace%22%2C%22workspace_directory%22%3A%22%2Fvar%2Fhome%2Fsfc%2FProjects%2Fshiso%22%2C%22unique_id%22%3A%22d6c8360a245ac1523d636aacd41d2b255f52c028ebc471afc5e9526ad9a34ae0%22%2C%22ide_info%22%3A%7B%22name%22%3A%22vscode%22%2C%22version%22%3A%221.84.1%22%7D%7D&EIO=4&transport=websocket" [accepted]
INFO:     connection open
INFO:     ('127.0.0.1', 36894) - "WebSocket /socket.io/?window_id=3e1064f3-af83-4f02-ba40-41b97feecace&EIO=4&transport=websocket" [accepted]
INFO:     connection open
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f65ddd78250>
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f65ddd0d350>
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f65e08acf90>

then the server does not accept any connection, even Ctrl-C does not work. I have to use kill -9 to kill it.

sestinj commented 10 months ago

@notsyncing @gecexgokyuzu Yes! I have very good news. The Continue Python server is no longer necessary as of version 0.7.50 (VS Code pre-release), which means that none of this connection nonsense will even be necessary. Just download the extension and you're good to go.

I'm going to close this issue since the errors here aren't really possible in the newest version without any use of Meilisearch or socket.io, but if you're running into separate issues please let me know!