continuedev / continuedev/continue

"Invalid URL" error across multiple providers

Open
#11,872 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:configuration kind:bug
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Summary

Several users are reporting an Invalid URL error with no additional context, across different providers and configurations. This is a tracking issue to consolidate the reports and fix the underlying causes.

Related issues: #6717, #9630, #9864, #10317, #10800, #11049, #11249, #11488

Are you hitting this?

The most common reason is an apiBase value that's missing the protocol. For example:

# This will cause "Invalid URL"
apiBase: localhost:11434

# This works
apiBase: http://localhost:11434

If you're using a provider like Ollama locally and haven't set apiBase at all, it should default correctly — but if you have set it, make sure it includes http:// or https://.

If you're using models from the Continue hub (registry packages with ${{ secrets.* }}), the error may occur if a secret failed to resolve, leaving a template string where a URL is expected.

What the error looks like

Error handling model response
There was an error handling the response from <model name>.

Invalid URL

No further detail is provided, which makes it hard to diagnose.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error with the apiBase examples in the issue, including a missing protocol and an unresolved ${{ secrets.* }} template. Trace provider configuration and Continue hub registry package handling to identify where the generic error loses context. Done should include fixes for the underlying cases and more diagnostic detail than the current “Invalid URL” message.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.