continue icon indicating copy to clipboard operation
continue copied to clipboard

http proxy

Open zyklone4096 opened this issue 9 months ago • 3 comments

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

zyklone4096 avatar Apr 19 '25 06:04 zyklone4096

nvm, working in 1.0.13

zyklone4096 avatar Apr 19 '25 12:04 zyklone4096

i misjudged it and its still not using a proxy, no logs appear in proxy when I click refresh

zyklone4096 avatar Apr 19 '25 17:04 zyklone4096

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.

ReFlo avatar Apr 24 '25 12:04 ReFlo

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)?

pf-tjung avatar Apr 29 '25 12:04 pf-tjung

#1376 There seem to be a ticket for using proxy settings of JetBrains, but isn't started yet

pf-tjung avatar Apr 29 '25 12:04 pf-tjung

Same here

lim114514 avatar May 03 '25 10:05 lim114514

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.

Patrick-Erichsen avatar May 06 '25 20:05 Patrick-Erichsen

for me its not 400 error its slow loading of assistants config in hub

zyklone4096 avatar May 07 '25 06:05 zyklone4096

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

engleccma avatar Jun 05 '25 08:06 engleccma

Is there any plan to fix this soon?

ReFlo avatar Jul 01 '25 12:07 ReFlo

@exigow re-assigned this one to you 👍

Patrick-Erichsen avatar Jul 07 '25 19:07 Patrick-Erichsen

Sure! I’m actually looking at it right now. Indeed, we have a custom client that doesn’t respect the proxy settings.

exigow avatar Jul 08 '25 15:07 exigow

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.

github-actions[bot] avatar Oct 07 '25 02:10 github-actions[bot]

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!

github-actions[bot] avatar Oct 17 '25 02:10 github-actions[bot]