continue
continue copied to clipboard
Configuration works in VSCode but throws "Connection Error" in Jetbrains
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: MacOS 15.3.1
- Continue version: 1.0.2
- IDE version: PyCharm 2024.3.4 (Professional Edition)
- Model: varying
- config:
{
"models": [
{
"title": "HPCC IE",
"provider": "openai",
"apiBase": "https://[REDACTED]/api",
"apiKey": "[KEY]",
"model": "mistralai/Mistral-Large-Instruct-2407",
"useLegacyCompletionsEndpoint": false
}, {
"title": "HPCC IE (1)",
"provider": "openai",
"apiBase": "https://[REDACTED]/api/v1",
"apiKey": "[KEY]",
"model": "code",
"useLegacyCompletionsEndpoint": false
}
],
"contextProviders": [
{
"name": "code",
"params": {}
},
{
"name": "docs",
"params": {}
},
{
"name": "diff",
"params": {}
},
{
"name": "terminal",
"params": {}
},
{
"name": "problems",
"params": {}
},
{
"name": "folder",
"params": {}
},
{
"name": "codebase",
"params": {}
}
],
"slashCommands": [
{
"name": "share",
"description": "Export the current chat session to markdown"
},
{
"name": "cmd",
"description": "Generate a shell command"
},
{
"name": "commit",
"description": "Generate a git commit message"
}
],
"data": []
}
OR link to assistant in Continue hub:
Description
Every time I try to chat with either of my configured models in Jetbrains, I get "Connection Error". Same configuration works without issue in VSCode.
There is another similar issue but it shows different log errors and my config does not include localhost in the apiPath
To reproduce
No response
Log output
(Use `continue-binary --trace-warnings ...` to show where the warning was created)
[info] Starting Continue core...
[2025-03-05T16:38:19] [info] Starting Continue core...
[2025-03-05T16:38:19] Setup
[2025-03-05T16:38:19] [binary] Core started
[info] Starting Continue core...
[2025-03-05T16:38:19] [info] Starting Continue core...
[2025-03-05T16:38:19] Setup
[2025-03-05T16:38:19] [binary] Core started
[2025-03-05T16:38:21] (node:20914) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `continue-binary --trace-warnings ...` to show where the warning was created)
[2025-03-05T16:38:25] Error: Connection error.
[2025-03-05T16:38:25] Error running handler for "llm/streamChat": Error: Connection error.
[2025-03-05T17:15:17] Error: Connection error.
[2025-03-05T17:15:17] Error running handler for "llm/streamChat": Error: Connection error.
[2025-03-05T17:15:37] Error: Connection error.
[2025-03-05T17:15:37] Error running handler for "llm/streamChat": Error: Connection error.
[2025-03-05T17:35:32] Error: Connection error.
[2025-03-05T17:35:32] Error running handler for "llm/streamChat": Error: Connection error.
[2025-03-05T17:38:25] Error: Connection error.
[2025-03-05T17:38:25] Error running handler for "llm/streamChat": Error: Connection error.
@ap-buf I believe this issue has been solved a few versions ago. As of this comment, the latest is 1.0.16 and it should work well. I will close this issue, but if you are experiencing the problem, please re-open!