sdk-backend,
dashboard-backend and the worker. A destination whose settings are unset is
never contacted.
At a glance
Apart from the database, which the migrate Job needs before any pod starts,
only one of these stops a workload from starting when it’s blocked: on Vertex
AI, both backends fetch a Google access token at startup and refuse to start
without one. Everything else fails or degrades when it’s used.
Vector index (Pinecone)
Pinecone is the only supported vector store. Each workload looks the index up onapi.pinecone.io, then sends search, fetch, write and delete requests to
the index’s own host.
To keep those data requests private, set up a Pinecone private endpoint (AWS
PrivateLink) with private DNS, then set PINECONE_USE_PRIVATE_ENDPOINT=true
(from 0.16.20, off by default):
- Set it on all three workloads,
sdk-backend,dashboard-backendand the worker, with the upper-case name and the same value. Accepted values aretrue/false,yes/no,on/off,1/0,t/fandy/n, in any case. Any other value stops the backends from starting and fails every indexing job. api.pinecone.iostays reachable. The index lookup always goes there.- There is no fallback to the public host. If the index’s project has no private endpoint, Moss doesn’t connect: chats answer without the knowledge base and indexing fails, with an error that names the index and the setting.
- Check before you lock Pinecone down. Each process logs
Pinecone data-plane host: privatethe first time it opens the index. That line shows the host Moss picked, not that it’s reachable. Onsdk-backend, ask a question that uses the knowledge base and look forPinecone multi-namespace search completedwithresults=N/M, where N is more than zero. On the worker, refresh a source and check it ends Ready. Only then turn on Pinecone’s private-endpoint-only restriction.
Object storage
The workloads use one S3-compatible store (STORAGE_TYPE=s3, S3_ENDPOINT),
which can be in-cluster or behind a private endpoint. It holds session
screenshots, session recordings, page snapshots and the images the worker
copies out of knowledge-base pages. With no S3_ACCESS_KEY_ID and
S3_SECRET_ACCESS_KEY, the workloads use the cloud’s default credentials,
such as an IAM role for the service account.
Users’ browsers reach the store directly for some features, so the address
they use, S3_PUBLIC_ENDPOINT (or S3_ENDPOINT when that is unset), may need
to be reachable from outside. See What the browser needs.
Model and embedding providers
On Vertex AI, the three workloads also get access tokens from Google’s token
service for their credential type, such as GKE Workload Identity, Workload
Identity Federation or a service-account key.
Models and response time explains
which model gets which data, and how to keep all of it on one regional
endpoint.
Knowledge-source fetching
dashboard-backend also calls the Document360 and Intercom APIs, to check
credentials when an admin saves them and to list Intercom collections.
sdk-backend calls the Intercom API when an application uses the Intercom
integration. Both Intercom features are new in 0.17.0.
A deployment that adds only Markdown, Document360 or Intercom sources doesn’t
need Firecrawl or FIRECRAWL_API_KEY.
Private addresses and the allowlist
From 0.16.22, the worker’s own fetches of addresses that come from content reach public addresses only. That covers images,robots.txt, sitemaps, a
website source’s start address, and the Document360 host. A private,
loopback or link-local address is refused: a refused image is recorded as
failed and keeps its original address, and a refused start address or
Document360 host fails the job.
To let the worker reach an intranet, list hosts and ranges in
WORKER_FETCH_ALLOWLIST on the worker:
- A host entry matches that exact name. A CIDR entry matches the address a name resolves to, and every address a name resolves to must pass.
localhostneeds an entry of its own.- An entry that is neither a host nor a clean CIDR stops the worker at startup, so a typo opens nothing.
- Cloud metadata addresses can never be allowed.
- A private
S3_ENDPOINTneeds no entry.
Proxies
- No proxy, ever: the worker’s fetches above (images,
robots.txt, sitemaps, start addresses and Document360) connect directly and ignoreHTTP_PROXYandHTTPS_PROXY. API actions, and from 0.17.0 MCP connections, don’t use a proxy either. A worker that can leave only through a forward proxy can’t make these fetches. - Through
HTTPS_PROXY: calls to Firecrawl and, from 0.17.0, to the Intercom API, anddashboard-backend’s Document360 credential check, followHTTPS_PROXYandNO_PROXYwhen they’re set. - Zendesk: see Help desk.
Help desk (Zendesk)
Which workload calls Zendesk depends on the filing mode an admin picks for the Zendesk integration:- Host-brokered: Moss holds no Zendesk credentials.
dashboard-backendreads your subdomain’s public ticket form, anonymously, when an admin connects or syncs and once a day. Your own backend files the tickets. - Direct: Moss files tickets with your Zendesk credentials, so
sdk-backendcalls Zendesk too.
API actions and MCP connections
API actions, and from 0.17.0 the MCP servers that admins connect, are called overhttps on public addresses only. A host that resolves to a private address is refused.
This can’t be configured, so an API that is reachable only inside your network
can’t be called as an API action. From 0.17.0 this includes the shared range
100.64.0.0/10, which some VPCs use.
What the browser needs
From the pages where Moss runs
From 0.17.0, replies load images only from allowed hosts: your allowed
domains, your knowledge base’s hosts, your object store, and hosts you add in
the SDK’s
replyLinks.allowedHosts. On a shared S3 host, such as
https://s3.<region>.amazonaws.com or Google Cloud Storage, they load only
from the knowledge-base images bucket: global.storageBuckets.kbImages, or
the worker’s STORAGE_BUCKET when it’s in worker.env, or
KB_IMAGES_BUCKET on sdk-backend. With none of these, those images show as
their alt text, and sdk-backend logs a warning at startup.
From the dashboard
Admins’ browsers need the dashboard’s host, your identity provider for sign-in, and object storage atS3_PUBLIC_ENDPOINT (or S3_ENDPOINT), where
session recordings play from signed links. The dashboard forwards its API
calls to dashboard-backend at DASHBOARD_API_URL inside the cluster, so
dashboard-backend needs no public address unless you call its API from
outside.
From 0.17.0, if you turn on Moss’s MCP server for AI assistants
(MCP_ENABLED and MCP_PUBLIC_URL on dashboard-backend, and MCP_ENABLED
on the dashboard; off by default), assistants connect to /mcp on the
dashboard’s host. Assistants
that run in their vendor’s cloud need that address reachable from the
internet. See AI assistants.
Live steps in the loader
From 0.17.0, withstreamActivity: true and
appearance.chrome.loader: 'steps' in the SDK, the loader shows each step
Moss takes while it works.
Those turns use Server-Sent Events on three sdk-backend routes:
Every proxy between the browser and
sdk-backend must pass each event as it’s
written:
- No response buffering on those routes. nginx honours the
X-Accel-Buffering: noheader the backend sends; other proxies need it set. - No compression of
text/event-streamresponses. - An idle or read timeout of at least 270 seconds: the 240-second turn budget
plus at least 30 seconds for the answer. Raise it if you raise
LLM_TOTAL_TIMEOUT_SECONDS. The backend sends a comment line every 10 seconds while a turn runs.
sdk-backend host:
docs/sse.md has settings for ALB, Envoy, Istio,
Traefik and CDNs.
Without the stream, Moss still answers: the loader shows its fixed rows, and
the SDK falls back to the plain routes by itself when a proxy refuses the
stream.
Common questions
Can Moss use a Pinecone private endpoint? Yes, from 0.16.20. SetPINECONE_USE_PRIVATE_ENDPOINT=true on all three
workloads and keep api.pinecone.io reachable for index lookups. See
Vector index.
Our worker can only leave through a proxy. What works?
Firecrawl calls, and from 0.17.0 Intercom calls, follow HTTPS_PROXY. Image,
sitemap and Document360 fetches never use a proxy, so they need direct egress.
See
Proxies.
Images or sitemaps on our intranet stopped loading after an upgrade. Why?
From 0.16.22 the worker refuses private addresses on those fetches. List the
host or range in WORKER_FETCH_ALLOWLIST.
Can Zendesk calls go through our proxy?
Yes, from 0.16.24, with ZENDESK_USE_ENV_PROXY=true and an http:// proxy in
HTTPS_PROXY.
Why don’t live steps show in the loader?
Something between the browser and sdk-backend buffers or cuts the stream.
Run the probe in Live steps in the loader.
Can an API action call an internal API?
No. API actions, and from 0.17.0 MCP connections, reach public https
addresses only, and this can’t be changed.