The connection to LM Studio doesn’t work in PhpStorm.
Before submitting your bug report
- [x] I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- [ ] 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
- Continue version: v1.0.33
- IDE version: PhpStorm 2025.2
- Model: Any local LM Studio model
- config:
name: AI Assistant
version: v1
models:
- name: nomic-embed-text:v1.5
type: llm
provider: lmstudio
model: text-embedding-nomic-embed-text-v1.5@q5_k_m
apiBase: http://127.0.0.1:1234/v1
roles:
- embed
- name: codellama-13b-instruct
type: llm
provider: lmstudio
model: codellama-13b-instruct
apiBase: http://127.0.0.1:1234/v1
maxTokens: 16000
roles:
- chat
- apply
- rerank
- edit
requestOptions:
temperature: 0.2
- name: qwen/qwen2.5-coder-14b
type: llm
provider: lmstudio
model: qwen/qwen2.5-coder-14b
apiBase: "http://192.168.50.202:1234/v1"
maxTokens: 32000
roles:
- chat
- apply
- rerank
- edit
requestOptions:
temperature: 0.2
OR link to assistant in Continue hub:
Description
The issue only occurs in PhpStorm after updating the Continue plugin. In VS Code everything works fine.
To reproduce
No response
Log output
[2025-08-11T11:56:15] Invalid URL
Code: ERR_INVALID_URL
Error number: undefined
Syscall: undefined
Type: undefined
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:388:5)
at URL.onParseError (node:internal/url:564:9)
at new URL (node:internal/url:644:5)
at new JUe (/snapshot/continue/binary/out/index.js:27:2511)
at jY (/snapshot/continue/binary/out/index.js:6787:2391)
at async r (/snapshot/continue/binary/out/index.js:8411:48)
at async Qnt (/snapshot/continue/binary/out/index.js:8155:2078)
at async AIr._legacystreamComplete (/snapshot/continue/binary/out/index.js:8425:10039)
at async AIr._streamChat (/snapshot/continue/binary/out/index.js:8425:10460)
at async AIr._streamComplete (/snapshot/continue/binary/out/index.js:8425:9342)
[2025-08-11T11:56:15] TypeError [ERR_INVALID_URL]: Invalid URL
[2025-08-11T11:56:15] Error generating autocompletion: TypeError [ERR_INVALID_URL]: Invalid URL
My previous configuration doesn't work when I updated to the latest version. PyCharm raises connection error.
relates to https://github.com/continuedev/continue/issues/7092
@romanpan2 Check your system settings: Apple Menu ->Privacy & Security -> Local Network. Make sure JetBrains products are allowed. I had that same issue for another integration.
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.