http proxy
Validations
- [ ] I believe this is a way to improve. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that requests the same enhancement
Problem
The IntelliJ IDEA extension doesn't seem to follow the IntelliJ IDEA proxy settings, which causes slow loading in my region (UI loading uses proxy but assistant config loading seems not)
on Windows 11 23H2, system proxy enabled before IntelliJ IDEA open, theres no log about continue in my VPN software, i have to enable TUN mode
Solution
No response
nvm, working in 1.0.13
i misjudged it and its still not using a proxy, no logs appear in proxy when I click refresh
I have the same issue. I used cntlm in verbose mode and there is no traffic appearing from that plugin. Additionally i used the proxy options in the config.yaml:
requestOptions:
proxy: localhost:3129
but then i get an HTTP 400 Bad Request Error:
HTTP 400 Bad Request from https://<base>.openai.azure.com/v1/openai/deployments/gpt-4o/chat/completions?api-version=2025-01-01-preview <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Bad Request</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Bad Request - Invalid URL</h2> <hr><p>HTTP Error 400. The request URL is invalid.</p> </BODY></HTML>
My full model config.yaml is:
- name: GPT-4o-with-proxy
provider: azure
model: gpt-4o
apiKey:
apiBase: https:// .openai.azure.com env: apiVersion: 2025-01-01-preview deployment: gpt-4o apiType: azure requestOptions: proxy: localhost:3129
Exactly the same config works with vscode and a the proxy set in the vscode settings.
Same here, using a proxy works in VS Code, but not in JetBrains.
I also tried to use the Web context provider which access the network, but it cannot access it from Jetbrains IDEs, but from VS Code it works fine.
The request options in the new yaml configuration file only seem to take effect to access the model, but what are with request happening outside the model context (i.e. web crawling)?
#1376 There seem to be a ticket for using proxy settings of JetBrains, but isn't started yet
Same here
Hi all, thanks for the reports here.
The requestOptions.proxy config doesn't seem to be a valid solution, there have been a few other reports in Discord of the same 400 error.
Not sure how soon we'll be able to prioritize this, so I added a good first issue label if anyone is interested in picking it up.
for me its not 400 error its slow loading of assistants config in hub
Hi, I have the same problem, in VSCode it works great and in Intellij Continue doesn't use properly the proxy so I can not reach any of my company's self hosted endpoints
Is there any plan to fix this soon?
@exigow re-assigned this one to you 👍
Sure! I’m actually looking at it right now. Indeed, we have a custom client that doesn’t respect the proxy settings.
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.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!