Live Chat & Talk - CORS Error

Status
Not open for further replies.

BLACKBIRD Technology

SOHO User
Basic Certified
Joined
Jan 18, 2019
Messages
4
Reaction score
0
We are trying to implement 3CX Live Chat feature into our WordPress website but we keep receiving a 'Failed to Fetch' message in the chat window when loading the webpage. Chat pane also shows 'No Agents Available'. I have followed the instructions for a WordPress site from 3CX.

On further investigations, I found that there seems to be authentication errors in the 3CX Management Dashboard / Activity Log. Looking at the Chrome Console, there seems to be a CORS error.

The direct '3CX Click2Talk URL' found in the 3CX Management Dashboard / Extension / Click2Talk' tab works perfectly, just not through short-code on our website.
I have removed and re-installed the WordPress plugin and recreated the 'Live Chat & Talk Item' multiple times with the same result.

Any ideas on how to get this to work correctly?
 

Attachments

  • Capture.JPG
    Capture.JPG
    27.3 KB · Views: 36
  • Capture2.JPG
    Capture2.JPG
    15.7 KB · Views: 36
Same problem here.
 
Mine was a simple fix, I had a trailing slash in the wordpress site url in the 3cx wordpress settings. Works after removing the slash.
 
Yes, tried that. With and without /. Same result.
 
Yes, tried that. With and without /. Same result.
Hello @BLACKBIRD Technology ,
On your Management Console -> Settings -> WordPress the URL should be without any trailing "/".
The URL of your WordPress should be https.
With that configuration in place, you should not get any errors in the browser console.
Please let me know if the issue resolved.
 
Hello @BLACKBIRD Technology ,
On your Management Console -> Settings -> WordPress the URL should be without any trailing "/".
The URL of your WordPress should be https.
With that configuration in place, you should not get any errors in the browser console.
Please let me know if the issue resolved.
Hi Constantinos, I have set the URL to our website without any trailing "/".
 
Status
Not open for further replies.

Forum statistics

Threads
112,147
Messages
590,959
Members
165,167
Latest member
Finatra.us