Repository navigation
Troubleshooting Vespa and Quepid
This page covers the Vespa tile in Quepid's Create a Case wizard: connecting it to your own Vespa app, and fixing the problems people run into most often.
If you just want to explore Quepid, pick the Vespa tile and leave everything as-is — it's already pointed at a small, read-only demo movie collection we host, so it works with zero setup. Use this to get a feel for Quepid before wiring up your own data.
Demo account: the tile connects to a Vespa Cloud app with ~500 popular movies from The Movie Database (title, overview, tagline, directors, cast, genres, release date, poster, ratings):
https://a119b8dc.eb5f2dd2.z.vespa-app.cloud/search/
It's shared by everyone who picks the tile and is locked to read-only, so feel free to search it as much as you like — you can't affect anyone else's data. Here's the read-only token, if you want to poke at it directly (e.g. with curl) instead of going through Quepid:
vespa_cloud_TR8wpJb6M2x0TltmxqTdupqA20rcAI5tAEfqHWbvsx5
For example:
curl "https://a119b8dc.eb5f2dd2.z.vespa-app.cloud/search/" \
-H "Authorization: Bearer vespa_cloud_TR8wpJb6M2x0TltmxqTdupqA20rcAI5tAEfqHWbvsx5" \
-G --data-urlencode 'yql=select * from movies where title contains "star" or overview contains "star"' \
--data-urlencode 'ranking.profile=bm25'When you pick the Vespa tile and choose "Create a new Search Endpoint," you'll fill in a few fields:
| Field | What to put there |
|---|---|
| Endpoint URL | Your app's search URL — see the shape below. |
| Custom Headers |
{"Authorization": "Bearer <your-token>"} — see Getting a token below. |
| Test Query | Leave the default as-is — it's a lightweight check that just confirms Quepid can reach your app at all. |
| Title Field / ID Field / Additional Display Fields | The names of fields in your documents — whatever your schema calls them (e.g. title, overview, cast). |
Endpoint URL shape:
https://<app>.<tenant>.z.vespa-app.cloud/search/ (Vespa Cloud)
http://<host>:8080/search/ (self-hosted)
"We're not getting any search results from your Search API," even though your app is up.
Check your Endpoint URL ends in /search/, and that your query text actually matches something in your schema — the wizard's "ping it" link is a quick way to open the URL directly and see what Vespa itself returns.
You're seeing a 401 error, or the request seems to hang without ever coming back.
Vespa Cloud doesn't accept a plain username/password or API key the way some engines do — it needs a token set up on your app first. See Getting a token below.
Searches fail with a CORS error in the browser console, even though your token is correct. Vespa Cloud has no simple "allow browser access" toggle the way some engines do. Turn on the wizard's Proxy Requests option instead — see Connecting through a firewall or private network below.
"Already Rated Documents" or "Show only rated" comes up empty.
This usually means the ID Field in your case doesn't match how documents are actually identified in your schema. Vespa's own internal document ID (the long id:namespace:doctype::key string) usually isn't itself a searchable field — point ID Field at whichever of your schema's own fields holds each document's unique key instead (our demo uses movie_id, for example).
Your query works when typed as plain text but not as JSON, or vice versa.
Vespa accepts either its YQL query language (plain text, e.g. select * from movies where title contains "star") or its JSON Query Language, and Quepid's Query Sandbox editor follows whichever one you're actually typing. If you switch styles partway through and things stop working, double check you haven't mixed the two together in the same query.
Vespa Cloud's default authentication (mutual TLS with a client certificate) isn't something Quepid — or any browser-based tool — can do. Instead, set up a token-based client, which is just a way of saying "let anyone with this one secret read (and only read) my app":
-
In the Vespa Cloud console, go to Tenant → Account → Auth → Tokens and create a new token. Copy the secret it shows you — you only get to see it once.
-
Add a read-only client to your app's
services.xml, referencing that token's ID:<clients> <client id="quepid-readonly" permissions="read"> <token id="your_token_id"/> </client> </clients>
-
Redeploy your app so the change takes effect.
-
Paste the secret from step 1 into Quepid's Custom Headers field:
{"Authorization": "Bearer <token-secret-from-console>"}
Self-hosted Vespa supports the same kind of token client on recent versions — set one up in services.xml the same way. On an older version without token support, put a reverse proxy in front that adds the header for you, or lock down network access instead (see below).
Whatever you paste into Custom Headers is visible, in plain text, to everyone on your team who can see that search endpoint — so it's worth giving Quepid a token that can only read, never write or delete.
If your Vespa app isn't reachable directly from the browser (Vespa Cloud's CORS restrictions, a private network, a locked-down VPC, etc.), turn on the wizard's Proxy Requests option — this routes the search request through the Quepid server instead of your browser, which also keeps your token from ever reaching browser-visible JavaScript. This is what our own demo above uses.
If you're self-hosting Vespa and would rather the browser talk to it directly, you can add CORS support yourself — see Vespa's HTTP server/filter documentation. This isn't something Vespa Cloud tenants can configure themselves.
For a cluster on a genuinely private network with no public access at all, ask whoever manages it to set up an SSH tunnel for you, and point Quepid's Endpoint URL at http://localhost:8080/search/ instead:
ssh -i ~/.ssh/<gateway-machine-security-file>.pem -L8080:<vespa-host>:8080 <user>@<gateway-machine>