WP widget issue - refused to connect

Describe the problem/error/question

I’ve added n8n chat widget to the Wordpress site, configured it with webhook in format: https://ivakinde.app.n8n.cloud/webhook/id/chat. The webhook taken from chat node in n8n.

chat node is public, runs as hosted. worflow is active. chat testing inside workflow works fine.

Note: the domain in website is different as ivakinde.app.n8n.cloud.

What is the error message (if any)?

When I open chat widget on the website I’m getting the error message

ivakinde.app.n8n.cloud refused to connect

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Any suggestions?

Hi @ivakinde

Looks like CORS issue.
Have you enabled it in When chat message received node as below?

I just enabled CORS but it didn’t help

where these options must be added? Plugin has none of them.

any other suggestions?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.