continue icon indicating copy to clipboard operation
continue copied to clipboard

Continue plugin hangs when tried from corporate laptop. Likely need any IP / Host whitelisting information to avoid the issue.

Open sureshnomura opened this issue 1 year ago • 6 comments

Before submitting your bug report

Relevant environment info

- OS:Windows 10
- Continue:0.0.43
- IDE:Intellij 2024.1

Description

Plugin hangs when tried to attempt basic chat from plugin.

image

To reproduce

No response

Log output

[info] Starting Continue core... 
FetchError: request to https://proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat failed, reason: connect ETIMEDOUT 216.239.32.53:443 
Error running handler for "llm/streamChat":  FetchError: request to https://proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat failed, reason: connect ETIMEDOUT 216.239.32.53:443
FetchError: request to https://proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat failed, reason: connect ETIMEDOUT 216.239.32.53:443 
FetchError: request to https://proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat failed, reason: connect ETIMEDOUT 216.239.32.53:443 
Error running handler for "llm/streamChat":  FetchError: request to https://proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat failed, reason: connect ETIMEDOUT 216.239.32.53:443
FetchError: request to https://proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat failed, reason: connect ETIMEDOUT 216.239.32.53:443 
FetchError: request to https://proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat failed, reason: connect ETIMEDOUT 216.239.32.53:443 
Error running handler for "llm/streamChat":  FetchError: request to https://proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat failed, reason: connect ETIMEDOUT 216.239.32.53:443
FetchError: request to https://proxy-server-blue-l6vsfbzhba-uw.a.run.app/stream_chat failed, reason: connect ETIMEDOUT 216.239.32.53:443 
[info] Exiting Continue core...

sureshnomura avatar Apr 17 '24 00:04 sureshnomura

@sureshnomura We have a new version on the way (0.0.45) that should be accepted to the JetBrains store tomorrow. This will fix known issues with local certificate authority.

Just in case that doesn't solve your problem, can you share more about what you expect to be needed related to IP / Host whitelisting?

sestinj avatar Apr 17 '24 00:04 sestinj

If the plugin is making API calls to some central service for suggestions, we need to whitelist those endpoints at the corporate firewall end to make this work. I am just looking for the host / endpoint that should be whitelisted by my company.

sureshveda avatar Apr 17 '24 03:04 sureshveda

@sureshveda I understand now, thanks for clarifying. While you are using the free trial models, the hosts you'll want to whitelist are:

  • proxy-server-blue-l6vsfbzhba-uw.a.run.app
  • proxy-server-green-l6vsfbzhba-uw.a.run.app

and the endpoints used for both are /stream_complete, /stream_chat, /embeddings, and /rerank (all POST requests). We rotate between green and blue when we make updates.

If you end up configuring any other non-local models beyond the free trial you'll have to whitelist the host for whichever service you set up.

sestinj avatar Apr 19 '24 17:04 sestinj

Hi @sureshveda, I wanted to check in on this—have you had any luck setting up Continue, or is there anything else I can do to help? If it would ever be helpful to talk this through live, I do weekly "Office Hours" on Discord on Wednesdays at 10am PST

sestinj avatar May 23 '24 01:05 sestinj

@sestinj Hi, I'm having this issue as well, but I don't understand how to fix it. So can you explain a little bit more specifically?

tongrenjie avatar Sep 03 '24 12:09 tongrenjie

@tongrenjie this is likely a network-specific problem. If you can share your logs I can try to give more guidance, but more than likely there is something specific you need to configure in your network environment (e.g. an allow-list) that will stop that particular URL from being stopped by a firewall

sestinj avatar Sep 08 '24 16:09 sestinj