AI Guides · Network Setup

AI Tool Connections and Troubleshooting

A page loading doesn’t mean a response will finish, and chatting in a browser doesn’t mean your editor can connect. First identify whether the issue is with sign-in, uploads, or generation—then decide whether to try another connection.

  • Region and Sign-In
  • Streaming and Uploads
  • APIs, IDEs, and CI

Tools and Connections

Check each tool’s official service regions, account eligibility, and organization policies first. Then compare connection performance. Rules can differ between web apps, APIs, and organization accounts. The table below shows ways to test, not a list of supported regions. Reaching a service through a connection doesn’t mean your account is eligible to use it.

Test connections with real tasks, not just by checking whether a page loads
Tool What to look for in a connection How to test
ChatGPT If the service is available in your region, choose a connection with a stable exit point throughout the session and uninterrupted streaming responses. Use a prompt with no private information and ask for a multi-part response. Wait until the final part appears in full.
Claude For long responses, prioritize a consistent connection. If you use attachments, check that uploads are reliable too. Send plain text first, then test uploads and generation separately with a small file that contains no sensitive information.
Gemini Make sure sign-in redirects and page assets load fully. First confirm that your region and Google account type meet the requirements. Test the specific entry point you plan to use—Gemini on the web, Google AI Studio, or Vertex AI. Don’t assume a result from one applies to the others.
GitHub Copilot The connection should support browser-based authorization and let your IDE plugin reach the relevant service endpoint. After signing in, test code completion and chat separately in a test file, then check the plugin diagnostics for errors.
Midjourney For reference images, check that uploads are reliable. For image retrieval, make sure previews and original image assets load fully. Test task submission, result previews, and opening the original image on the web or in Discord, depending on how you use the service.
Cursor The editor process needs access to the model service, and long responses must not be cut off by a proxy or gateway. Start with a short chat in a test workspace, then try a longer response. If you use your own API key, test the relevant provider separately.

A task marked as submitted doesn’t mean its result has loaded. If Midjourney shows a task record but no preview, first check whether the image failed to load. Don’t submit the same task repeatedly.

Sign-In: Check Region and Account Eligibility First

If ChatGPT or Claude says the service isn’t available in your region, check each provider’s official guidance to confirm whether your location is supported. For Gemini, distinguish personal accounts from organization-managed accounts. For GitHub Copilot, confirm that your GitHub account has a license. Your exit IP may factor into regional and risk checks, but it can’t replace account eligibility, project permissions, or organization authorization. If you see an explicit restriction, check with the provider through official channels rather than assuming another connection will resolve it.

Complete sign-in and authorization in the same browser window where possible, and avoid changing exit points partway through. If you keep landing back on the sign-in page, first confirm that you selected the right account, then check whether your browser is blocking site data needed for the authorization redirect. Extra verification on a shared exit point doesn’t necessarily indicate a connection problem; a change in the sign-in environment may have triggered a risk check. Follow the official steps if prompted, and don’t keep retrying.

If sign-in works but a feature doesn’t, look closely at the message. If GitHub Copilot signs in but offers no completions, check whether your organization assigned a license and allows use in the current workspace. If Cursor shows your account but one model fails, check whether that model is available to your account. If Midjourney loads but won’t submit a task, check your account permissions and the task message; trouble opening an image is a separate issue.

Web Apps and APIs: Test Them Separately

A working web app doesn’t mean API access is enabled

Web apps generally rely on a browser sign-in session. An API request comes from the process that sends it, and may also depend on API keys, projects, model permissions, quotas, and billing status. Access to ChatGPT or Claude on the web doesn’t mean the corresponding API is enabled. For Gemini, distinguish the developer API in Google AI Studio from Vertex AI’s project, region, and identity settings. Use the endpoints listed in the official documentation and start with a minimal text request to avoid complicating diagnosis with attachments, tool calls, or complex parameters.

Once a short request works, test streaming

Streaming sends a response in chunks. If the first chunk arrives quickly but nothing follows, a proxy may be buffering the response. If the connection drops after roughly the same amount of time each time, check timeout settings in the client, gateway, and proxy. The server may also have stopped generating, so keep the error shown when the request ends and compare short and long requests to the same model. If some streamed content has already arrived, don’t automatically resend the request: the first attempt may have incurred usage, and a retry won’t continue where it left off.

CLI, IDE, and CI Setup

CLI: Test from the Terminal You Actually Use

Browser extension network settings usually don’t apply to your terminal. Check whether your SDK or CLI reads HTTPS_PROXY and NO_PROXY, then confirm whether the request runs on your machine, in a container, or on a remote host. A localhost address inside a container points to the container itself, not the host. For certificate errors, check the system clock, certificate chain, and organization-approved trust settings; don’t disable certificate verification. When recording the error type, remove authorization headers, keys, and request bodies.

IDE Plugins: Find Where the Request Runs

After authorizing GitHub in your browser, return to the editor and check that the plugin recognizes the right account. Test code completion and chat separately. In a remote workspace, use the extension documentation or diagnostics to confirm whether the plugin runs locally or remotely; don’t assume it inherits your usual browser settings. If only long Cursor responses fail, review network diagnostics and app logs to tell whether the connection was cut off, the model lacks permission, or the request exceeded a service limit.

CI: Configure for the Runner’s Network

CI uses the runner’s exit point, not your development machine’s. Confirm that the runner’s region, organization egress policies, and proxy settings allow access to the target service, then send a minimal request from a dedicated test project. Store credentials in CI’s secret storage—not in the repository or build logs—and don’t use real business data for connectivity tests. For network timeouts, use limited retries as recommended by the tool’s documentation. If the issue is permissions, quota, or parameters, fix the cause before trying again.

Common Issues and What to Check

The page won’t load; DNS or certificate error
First check whether other sites work on the same device. If DNS resolution fails, review the current network’s DNS settings. For certificate errors, start with the system clock and trusted certificates. Being able to open a tool’s main website doesn’t mean every domain its app uses is reachable.
The web app works, but the API returns an authorization, permission, or usage-limit error
First check which project’s credentials the process is using, along with that project’s model permissions and usage. A specific error from the server means the request reached a responsive endpoint; changing connections won’t add quota or grant permissions.
Chat works, but file uploads fail
Check the supported file formats and size limits, then reproduce the issue with a small file that contains no sensitive information. If the small file uploads but the original doesn’t, check file restrictions and upload timeouts. A successful text chat doesn’t rule out an upload problem.
The same tool disconnects occasionally, but the issue is hard to reproduce
Record when it happened, the device and entry point, and the steps that failed. If the service provides a request ID, record that too. Check the official status page first. Then keep the account, task, and client unchanged while adjusting just one network condition. This helps show whether the connection made a difference or the service was experiencing a temporary issue.

Choosing a Connection for Everyday Use

Once the tool’s regional and account requirements are met, try completing a typical task over the same connection. For web chat, test from opening the page through receiving a complete response. For coding, try completions and a long response. For image generation, test both reference-image uploads and original-image downloads. Retest at your usual time of day. When comparing connections, keep the device and test task the same; there’s no need to change your entire setup because one page loaded slowly.

B5VPN covers 90+ countries and 250+ routes. Check the routes page for available regions and types. Choose a plan to match your usage: compare monthly subscriptions that renew every month from the activation date if you use the service regularly, or choose a traffic package that never expires for occasional use. B5VPN offers a 30-day money-back guarantee. Routes and plans don’t change third-party tools’ regional policies or account entitlements.

Start Free