SocialMate – Messaging & AI Agent · More
Troubleshooting
Health checks and the usual fixes.
Start with the plugin’s own health checks — they name the problem and usually the fix. Then find your symptom below; each case quotes what the plugin says, so you can match it on your screen.
Run the health checks
1Settings → Health
SocialMate → Settings → Health is one page. It scores the connection and lists what is working, what is worth a look and what needs fixing, grouped as: your SocialMate server (reachable, accepts the key, stable address, runs unattended), Events reaching this site, WhatsApp numbers, This server (outbound requests, scheduled jobs, the event route), Security and Plugin (database, interface files).
Checks re-run every 15 minutes; press Check again to run them now, and Send a test event to prove SocialMate can reach the site. Many failed checks carry their own fix button (Register again, Turn it back on, Tell the server, Update the address, Run the update).
2The “This website” checks
On the same page, This website covers what SocialMate needs from WordPress: Secrets are encrypted, Encryption key lives outside the database, Website uses HTTPS, Pretty permalinks (REST API reachable), Background tasks run and Server clock (signed requests allow five minutes of difference).
Common problems
“Nothing is listening on that port” / “No answer from that address”
The website cannot reach SocialMate. Most often the app’s local REST API is off. Creating a WordPress token switches it on, but it can be switched off again later; in the app open API & Integrations → Tunnel and switch Local REST API on. Otherwise: SocialMate is not running, or the address in the token cannot be reached from your website’s server (a shop on a host cannot reach 127.0.0.1 on your computer — use a tunnel or run SocialMate on the same server). “The server did not answer in time” behind a free tunnel usually means the tunnel address changed while SocialMate was off; it is followed automatically once events flow again.
The token or key is refused
- “That does not look like a connection token” / “That token looks incomplete — copy the whole string” — paste the whole
wpsm1.string again. - “SocialMate refused the key” or Health’s “The key was rejected. It has been rotated or revoked in SocialMate.” — create a new WordPress token in the app and connect again (Settings → Connection → Reconnect / rotate secrets). Nothing else is lost.
The agent says it needs Pro
“The AI agent needs SocialMate Pro. Messages work on your plan now; upgrade to add the agent.” — your SocialMate is on Free, so only Messages was linked. After upgrading, connect again so the agent half is added. “Your SocialMate (…) has no AI agent yet” means the app is too old: update it first.
SocialMate cannot call the website
“SocialMate can call this website” fails, “No test event arrived yet”, or Health says Events can reach this site answered with an HTTP error. Something stands in front of /wp-json/: the site is not public, a firewall or security plugin blocks it, or a password prompt, maintenance-mode plugin or staging lock answers instead. Allow that route, then use Send a test event. If the route returns “not found”, the REST API is disabled by another plugin or permalinks need saving again (Settings → Permalinks, anything but “Plain”).
The app is closed or the computer is asleep
Queued messages say “SocialMate cannot be reached. This goes out when it is back.” They are retried every five minutes for up to a day, then dropped as too late. Agent tasks wait on the site for up to three days. The Agent → Agents and Inbox screens say they cannot reach SocialMate; the rest of the plugin keeps working. On Free, someone has to start SocialMate and reconnect the number after a restart — Health’s runs unattended check shows this.
The WhatsApp number is disconnected
Health: A number is connected — “No linked number is currently online, so nothing can be sent.” Queued rows say “This WhatsApp number is not connected in SocialMate. This goes out when it reconnects.” Open SocialMate and reconnect the number (on Free the server does not reconnect on its own). Settings → Numbers shows each number’s state and its sending allowance.
A message never goes out
- The event is Off on the Events tab — every event is off until you choose — or “Before anything sends” on Events → Overview is not cleared yet.
- The event is set to Agent task, so the agent tells them instead — and with the agent switched off under Agent → The agent on this site, agent tasks send nothing.
- Messages “to you” need one of your numbers with alerts on, under Settings → Your business & owners → Your numbers.
- The customer’s number has no country code (the order’s WhatsApp box says so), or the event needs consent the customer never gave.
- Activity → Messages sent says “The sending schedule is not running on this site” — WP-Cron is off or blocked. Have a real cron call
wp-cron.php, or runwp smac queue runevery minute. - Today’s allowance is used up, or the number is warming up: the rest waits its turn in the queue.
The agent does not answer, or a tool fails
- “No AI model is chosen for this agent yet” — add an AI provider in the app (Agents), test it, then use the job again.
- A new agent starts in Observe and sends nothing until you change How freely it acts.
- A tool answers “not found”: it is off, or not allowed for that lane, or the agent is switched off on this site. Check it under Agent → What it may do.
- “This WhatsApp number is not an owner on this website. Add it under Settings → Your business & owners, with owner tools.” — the app treats the number as an owner, the site does not. Add it on both sides, with owner tools on.
- “Request timestamp missing or outside the allowed window. Check the clocks on both machines.” — set both clocks to automatic time.
- “Your SocialMate version does not have this yet” — update the SocialMate app.
Sign-in codes do not arrive
The customer sees “Signing in by WhatsApp is not available right now. Please use your password.” or “We could not send a code just now…” when SocialMate or the number is offline, or the number is at its limit. Throttle messages (“A code was just sent…”, “Too many attempts from this connection…”) clear on their own. Staff accounts never get codes — they use their password.
Plugin conflicts and hosting
- REST API disabled by a security or “disable REST” plugin: allow
/wp-json/socialmate-agent/v1/and/wp-json/socialmate/v1/. - Outbound requests blocked with
WP_HTTP_BLOCK_EXTERNALin wp-config.php: add your SocialMate host toWP_ACCESSIBLE_HOSTS(Health says which hosts are allowed). - Placeholder security salts or no OpenSSL: Health says stored keys cannot be encrypted. Generate real salts in wp-config.php.
- The old “SocialMate for WordPress” (wp-socialmate) plugin still active: deactivate it; this plugin replaces it.
- Another plugin offers tools that break a safety rule: they appear under Agent → What it may do → Refused tools with the reason, and the agent never sees them.
- Other plugins’ admin notices are hidden on SocialMate’s own screens; they still show everywhere else in wp-admin.
- Page caching: the back-in-stock form is built to keep working on cached product pages.
Still stuck?
Switch on Write debug information to the PHP error log under Settings → Advanced, reproduce the problem, and copy the Details from the same screen (plugin, WordPress and PHP versions, the event address). Then contact support.