Kindly follow the below instructions to make CometChat self hosted to work correctly on your installation.
You need to update you CometChat admin panel with the correct or updated version of Keys for CometService Self Hosted to work correctly.
Step 1:
Kindly update the correct license key in your CometChat administrative panel under Settings and then click on General
For example CometService Self hosted keys can be like this
"G****-****-*****-*****-**CSX"
As shown in screenshot below
Step 2:
Update CometChat to the latest, refer to following article on how to update CometChat
https://docs.cometchat.com/admin-panel/upgrading/
Note: If CometChat is already up to date, then kindly click FORCE UPDATE
How do you verify CometService Self Hosted is working properly
CS SELF HOSTED URL:
https://yourdomainname.com/cometservice.ashx
Steps 3:
Login to CometChat Admin Panel -> Settings -> CometService -> Use CometService? ("Yes") ->Use Self-hosted CometService? ("YES")
Fill all details as mentioned in below screenshots
- Domain Name,
- HTTPS Port Number and
- HTTP Port Number
As shown below in the screenshot
Step 4 :
Then click on the update button
Step 5 :
Clear CometChat cache
Note: Kindly clear your browser cache and then check if it is working correctly.