Service startup timeout, please manually run claude-code start to start the service
ccr code
Service not running, starting service...
Service startup timeout, please manually run claude-code start to start the service
claude --version
1.0.24 (Claude Code)
What is your claude-code-router version?
You can use the command ccr -v to find it.
~ % ccr -v claude-code version: 1.0.5 ~ % claude -v 1.0.24 (Claude Code) ~ %
我也出现了这样的问题,怎么解决它呢?
Same here
same here
I don't log in my claude account. Can I use the project without loging?
有人解决了吗?
in wsl2,same error
我解决了,我的系统是windows,遇到这个错误是因为我在vscode的终端内执行的ccr code命令
1:在wsl中运行“ccr start”,配置大模型信息后能看到启动成功 2:另开一个wsl,运行"ccr code"
我这里依靠这个方法成功解决问题
我解决了,我的系统是windows,遇到这个错误是因为我在vscode的终端内执行的ccr code命令
1:在wsl中运行“ccr start”,配置大模型信息后能看到启动成功 2:另开一个wsl,运行"ccr code"
It works now!
出现这个错误的都是Windows用户吗?看起来像Windows和Mac有些区别,等有机会我借个Windows系统试试
Same error, ubuntu 24.04.
Same error, ubuntu 24.04.
Check the port and PID file status:
lsof -i:3456
ls ~/.claude-code-router/.claude-code-router.pid
Thanks for reply:
Same error, ubuntu 24.04.
Check the port and PID file status:
lsof -i:3456
(nothing returned)
ls ~/.claude-code-router/.claude-code-router.pid
ls: cannot access '/home/tninja/.claude-code-router/.claude-code-router.pid': No such file or directory
Try updating to version v1.0.7.
npm install -g @musistudio/claude-code-router
Thanks! ccr code works now after ccr start. Great work!
Mac os, same error.
Service not running, starting service...
Service startup timeout, please manually run `ccr start` to start the service
Environments:
1.0.43 (Claude Code)
claude-code-router version: 1.0.14
ccr code works if I run ccr start first, but it will rewrite config file.
Mac os, same error.
Service not running, starting service... Service startup timeout, please manually run
ccr startto start the service Environments:1.0.43 (Claude Code) claude-code-router version: 1.0.14
ccr codeworks if I runccr startfirst, but it will rewrite config file.
You can check if the format of your config.json is correct. I made a mistake when writing it earlier, but after modifying it, i can start directly.
Add your configuration to ~/.claude-code-router/config.json, and then run ccr code to solve this problem.
config.json
The issue on my end was that the content in this configuration file (~/.claude-code-router/config.json) was written incorrectly, making the file content not in JSON format. As a result, an error occurred during startup. It worked fine after correcting the content.
Same error, ubuntu 24.04.
Check the port and PID file status:
lsof -i:3456
ls ~/.claude-code-router/.claude-code-router.pid
Ubuntu24.04, it occurs to me that VScode is watching port 3456, default port of ccr. Thus I set "PORT":3457 in ~/.claude-code-router/config.json , and "ccr start" works fine now for me. Hope this help.