Maximum number of redirects exceeded
Description
I just installed kilocode, successfully logged into my kilocode account, selected the grok-code-fast-1 model, sent 'hi', and after a while, it showed an error: Maximum number of redirects exceeded.
VS CODE版本: 1.103.2 (user setup) 提交: 6f17636121051a53c88d3e605c491d22af2ba755 日期: 2025-08-20T16:45:34.255Z Electron: 37.2.3 ElectronBuildId: 12035395 Chromium: 138.0.7204.100 Node.js: 22.17.0 V8: 13.8.500258-electron.0 OS: Windows_NT x64 10.0.26100
kilo-code extension activated - {"publisher":"kilocode","name":"kilo-code","version":"4.87.0","outputChannel":"Kilo-Code"} Skipping migration of cline_custom_modes.json to custom_modes.json: old file not found Skipping migration of cline_mcp_settings.json to mcp_settings.json: old file not found No custom_modes.json found, skipping YAML migration [MDM] No MDM configuration found [CodeIndexManager] Error during background CodeIndexManager configuration/indexing for c:\迅雷下载\优化prompt: 无法创建服务:代码索引未正确配置 [auth] Transitioned to logged-out state ClineProvider instantiated [AutoImport] No auto-import settings path specified, skipping auto-import Kilo Code: 提交信息生成器已启动 Kilo:提交消息提供程序已注册 Resolving webview view Webview view resolved Error fetching Kilocode notifications: timeout of 5000ms exceeded Error fetching general profile data: Maximum number of redirects exceeded Error fetching general profile data: Maximum number of redirects exceeded [subtasks] parent task 246e5531-318b-4e64-b61b-28c82619e5e2.952b9a00 instantiated [Task#getCheckpointService] initializing shadow git [t#create] git = 2.50.1 [t#initShadowGit] shadow git repo already exists at c:\Users\pChao\AppData\Roaming\Code\User\globalStorage\kilocode.kilo-code\tasks\246e5531-318b-4e64-b61b-28c82619e5e2\checkpoints.git [t#initShadowGit] initialized shadow repo with base commit 59fdb9ae3855368a8f78ae50fd0cd2084078c3d0 in 261ms [Task#getCheckpointService] service initialized [subtasks] parent task 246e5531-318b-4e64-b61b-28c82619e5e2.7e8341ed instantiated Error fetching Kilocode notifications: timeout of 5000ms exceeded Error fetching general profile data: Maximum number of redirects exceeded Error fetching Kilocode notifications: timeout of 5000ms exceeded Error fetching general profile data: Maximum number of redirects exceeded
Mostly the issue occurs when calling the default model (grok-code-fast-1). When using other models (like GLM-4.5), kilocode acts normally.
PS. Sometimes when I edit the default API config, provider KILO CODE, the model area displays 'anthropic/claude-sonnet-4', while I never use Claude API. That's weird.
When i use default grok-code-fast-1 model, starting a conversation with it, the networking logs are as follows:
2025/09/02 20:21:03.010188 from 127.0.0.1:1486 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:03.227341 from 127.0.0.1:1488 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:03.275099 [Warning] [1471834146] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1458: io: read/write on closed pipe
2025/09/02 20:21:03.279102 from 127.0.0.1:1490 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:03.302657 [Warning] [656913060] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1462: io: read/write on closed pipe
2025/09/02 20:21:03.363333 from 127.0.0.1:1492 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:03.392884 [Warning] [4092804953] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1464: io: read/write on closed pipe
2025/09/02 20:21:03.402432 from 127.0.0.1:1494 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:03.468122 from 127.0.0.1:1496 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:03.478087 [Warning] [357121685] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1460: io: read/write on closed pipe
2025/09/02 20:21:03.550573 [Warning] [3327487345] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1466: io: read/write on closed pipe
2025/09/02 20:21:03.760139 from 127.0.0.1:1498 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:03.962250 from 127.0.0.1:1500 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:04.010976 [Warning] [3465120595] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1468: io: read/write on closed pipe
2025/09/02 20:21:04.012990 from 127.0.0.1:1502 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:04.182003 from 127.0.0.1:1504 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:04.216260 from 127.0.0.1:1506 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:04.225735 [Warning] [408151877] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1478: io: read/write on closed pipe
2025/09/02 20:21:04.277451 [Warning] [861786676] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1470: io: read/write on closed pipe
2025/09/02 20:21:04.333474 from 127.0.0.1:1508 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:04.362919 [Warning] [3475952546] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1472: io: read/write on closed pipe
2025/09/02 20:21:04.401578 [Warning] [3448536283] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1474: io: read/write on closed pipe
2025/09/02 20:21:04.465910 [Warning] [1455356963] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1484: io: read/write on closed pipe
2025/09/02 20:21:04.487595 from 127.0.0.1:1510 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:04.677213 from 127.0.0.1:1512 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:04.727682 from 127.0.0.1:1514 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:04.738669 [Warning] [3707782736] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1486: io: read/write on closed pipe
2025/09/02 20:21:04.905761 from 127.0.0.1:1516 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:04.941970 [Warning] [1893995272] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1488: io: read/write on closed pipe
2025/09/02 20:21:04.976843 [Warning] [1465251232] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1490: io: read/write on closed pipe
2025/09/02 20:21:04.981699 from 127.0.0.1:1518 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:05.047944 from 127.0.0.1:1520 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:05.091047 [Warning] [1745176397] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1492: io: read/write on closed pipe
2025/09/02 20:21:05.223917 [Warning] [2776610013] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1496: io: read/write on closed pipe
2025/09/02 20:21:05.226532 from 127.0.0.1:1522 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:05.333413 [Warning] [3389336476] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1494: io: read/write on closed pipe
2025/09/02 20:21:05.424372 from 127.0.0.1:1524 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:05.462382 from 127.0.0.1:1526 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:05.488999 [Warning] [611250500] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1498: io: read/write on closed pipe
2025/09/02 20:21:05.609419 from 127.0.0.1:1528 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:05.671627 [Warning] [580411936] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1500: io: read/write on closed pipe
2025/09/02 20:21:05.725678 [Warning] [1480388613] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1502: io: read/write on closed pipe
2025/09/02 20:21:05.858844 from 127.0.0.1:1530 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:05.903419 [Warning] [3580089382] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1504: io: read/write on closed pipe
2025/09/02 20:21:05.919940 from 127.0.0.1:1532 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:05.945358 from 127.0.0.1:1534 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:05.975598 [Warning] [69768392] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1506: io: read/write on closed pipe
2025/09/02 20:21:06.045705 [Warning] [935091010] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1508: io: read/write on closed pipe
2025/09/02 20:21:06.140995 from 127.0.0.1:1536 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:06.189752 [Warning] [91198526] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1510: io: read/write on closed pipe
2025/09/02 20:21:06.419383 [Warning] [3197505238] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1512: io: read/write on closed pipe
2025/09/02 20:21:06.433092 from 127.0.0.1:1538 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:06.456673 [Warning] [761176053] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1514: io: read/write on closed pipe
2025/09/02 20:21:06.600555 from 127.0.0.1:1540 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:06.604558 [Warning] [1049060573] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1516: io: read/write on closed pipe
2025/09/02 20:21:06.850067 [Warning] [728122067] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1520: io: read/write on closed pipe
2025/09/02 20:21:06.861875 from 127.0.0.1:1542 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:06.882715 from 127.0.0.1:1544 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:06.889766 from 127.0.0.1:1546 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:06.919338 [Warning] [523066366] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1518: io: read/write on closed pipe
2025/09/02 20:21:06.944565 [Warning] [2943709915] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1522: io: read/write on closed pipe
2025/09/02 20:21:07.132452 from 127.0.0.1:1548 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:07.137924 [Warning] [161519394] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1524: io: read/write on closed pipe
2025/09/02 20:21:07.158530 from 127.0.0.1:1550 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:07.428570 [Warning] [1021204954] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1526: io: read/write on closed pipe
2025/09/02 20:21:07.519745 from 127.0.0.1:1552 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:07.575093 from 127.0.0.1:1554 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:07.595796 [Warning] [614115276] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1528: io: read/write on closed pipe
2025/09/02 20:21:07.609478 from 127.0.0.1:1556 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:07.643457 from 127.0.0.1:1558 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:07.848870 from 127.0.0.1:1560 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:07.856615 [Warning] [2055699518] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1534: io: read/write on closed pipe
2025/09/02 20:21:07.875740 from 127.0.0.1:1562 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:07.875740 [Warning] [695322615] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1532: io: read/write on closed pipe
2025/09/02 20:21:07.879800 [Warning] [389335615] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1530: io: read/write on closed pipe
2025/09/02 20:21:08.122201 [Warning] [3188499715] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1536: io: read/write on closed pipe
2025/09/02 20:21:08.158612 [Warning] [3125381959] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1538: io: read/write on closed pipe
2025/09/02 20:21:08.245480 from 127.0.0.1:1564 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:08.293513 from 127.0.0.1:1566 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:08.360078 from 127.0.0.1:1568 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:08.371926 from 127.0.0.1:1570 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:08.515362 [Warning] [272407450] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1540: io: read/write on closed pipe
2025/09/02 20:21:08.550302 from 127.0.0.1:1573 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:08.574202 [Warning] [37097225] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1542: io: read/write on closed pipe
2025/09/02 20:21:08.588667 from 127.0.0.1:1575 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:08.609591 [Warning] [213679712] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1544: io: read/write on closed pipe
2025/09/02 20:21:08.640760 [Warning] [1348307294] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1546: io: read/write on closed pipe
2025/09/02 20:21:08.845340 [Warning] [3457480544] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1548: io: read/write on closed pipe
2025/09/02 20:21:08.870500 [Warning] [4085747817] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1550: io: read/write on closed pipe
2025/09/02 20:21:08.955113 from 127.0.0.1:1577 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:09.028292 from 127.0.0.1:1579 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:09.243449 [Warning] [4104051420] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1552: io: read/write on closed pipe
2025/09/02 20:21:09.289074 [Warning] [1988709877] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1554: io: read/write on closed pipe
2025/09/02 20:21:09.310381 from 127.0.0.1:1581 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:09.355876 [Warning] [300783204] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1558: io: read/write on closed pipe
2025/09/02 20:21:09.369096 [Warning] [4281327967] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1556: io: read/write on closed pipe
2025/09/02 20:21:09.550792 [Warning] [4272153641] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1560: io: read/write on closed pipe
2025/09/02 20:21:09.588836 [Warning] [3530389985] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1562: io: read/write on closed pipe
2025/09/02 20:21:09.653209 from 127.0.0.1:1583 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:09.954151 [Warning] [1671671449] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1564: io: read/write on closed pipe
2025/09/02 20:21:09.961748 from 127.0.0.1:1585 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:09.962259 from 127.0.0.1:1586 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:10.023421 [Warning] [2874762351] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1566: io: read/write on closed pipe
2025/09/02 20:21:10.083440 [Warning] [2918848341] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1570: io: read/write on closed pipe
2025/09/02 20:21:10.118095 [Warning] [3479902043] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1568: io: read/write on closed pipe
2025/09/02 20:21:10.221114 from 127.0.0.1:1589 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:10.308655 [Warning] [2744453831] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1573: io: read/write on closed pipe
2025/09/02 20:21:10.367889 from 127.0.0.1:1591 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:10.654092 [Warning] [1404386745] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1575: io: read/write on closed pipe
2025/09/02 20:21:10.722668 from 127.0.0.1:1593 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:10.726653 from 127.0.0.1:1595 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:10.920031 from 127.0.0.1:1597 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:10.955844 [Warning] [1888109289] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1577: io: read/write on closed pipe
2025/09/02 20:21:10.958230 [Warning] [2328127489] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1579: io: read/write on closed pipe
2025/09/02 20:21:11.082067 from 127.0.0.1:1599 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:11.219688 [Warning] [1226027694] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1581: io: read/write on closed pipe
2025/09/02 20:21:11.367719 [Warning] [3024110046] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1583: io: read/write on closed pipe
2025/09/02 20:21:11.421470 from 127.0.0.1:1601 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:11.428296 from 127.0.0.1:1603 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:11.685246 from 127.0.0.1:1605 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:11.721672 [Warning] [1246318210] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1585: io: read/write on closed pipe
2025/09/02 20:21:11.725269 [Warning] [707586332] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1586: io: read/write on closed pipe
2025/09/02 20:21:11.919001 [Warning] [3131965743] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1589: io: read/write on closed pipe
2025/09/02 20:21:12.081541 [Warning] [1459301024] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1591: io: read/write on closed pipe
2025/09/02 20:21:12.086782 from 127.0.0.1:1607 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:12.135220 from 127.0.0.1:1609 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:12.135820 from 127.0.0.1:1610 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:12.407706 from 127.0.0.1:1614 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:12.419435 [Warning] [3717049255] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1595: io: read/write on closed pipe
2025/09/02 20:21:12.426499 [Warning] [3720578746] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1593: io: read/write on closed pipe
2025/09/02 20:21:12.682287 [Warning] [824448930] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1597: io: read/write on closed pipe
2025/09/02 20:21:12.855126 from 127.0.0.1:1617 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
2025/09/02 20:21:13.023160 from 127.0.0.1:1619 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:13.086206 [Warning] [3337538936] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1599: io: read/write on closed pipe
2025/09/02 20:21:13.090043 from 127.0.0.1:1621 accepted https://api.kilocode.ai/api/users/notifications [socks >> proxy]
2025/09/02 20:21:13.113085 [Warning] [741653381] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1601: io: read/write on closed pipe
2025/09/02 20:21:13.131272 [Warning] [2285455194] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1603: io: read/write on closed pipe
2025/09/02 20:21:13.171892 from 127.0.0.1:1623 accepted https://api.kilocode.ai/api/openrouter/models [socks >> proxy]
2025/09/02 20:21:13.411811 [Warning] [1760194230] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > readfrom tcp 127.0.0.1:10808->127.0.0.1:1605: io: read/write on closed pipe
2025/09/02 20:21:13.567965 from 127.0.0.1:1627 accepted https://api.kilocode.ai/api/profile [socks >> proxy]
Those look like kilocode close the connections actively before it receives the responses.
Are you using a VPN?
Are you using a VPN?
Yes, I am using a VPN to access the Internet.
FYI, under the same evironment, ROO CODE accesses grok-code-fast-1 model normally, and kilocode accesses other models normally.
I moved to a new Internet environment so that I can use KILO-CODE without any proxy. It works fine most of the time. But just now, when I asked Sonoma-sky-alpha model to rewrite a passage (around 20K tokens), error came out as the following:
429 Rate limit exceeded: limit_rpm/openrouter/sonoma-sky-alpha/bd9d3363-accb-45a9-b381-cdab43952881. High demand for openrouter/sonoma-sky-alpha on OpenRouter - limited to 100 requests per minute. Please retry shortly.
When I used a proxy to access the Internet, KILO would send tens of requests to the API endpoints through the proxy simultaneously. I guess maybe this is the cause of the 'closed pipe' thing.
I wonder why KILO did that.
I wonder why KILO did that.
It probably kept retrying a failed request.
429 Rate limit exceeded: limit_rpm/openrouter/sonoma-sky-alpha/bd9d3363-accb-45a9-b381-cdab43952881. High demand for openrouter/sonoma-sky-alpha on OpenRouter - limited to 100 requests per minute. Please retry shortly.
This rate limit is probably shared between all Kilo users. You can create a personal OpenRouter account and see if that improves things.