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.
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
As shown in screenshot below
Update CometChat to the latest, refer to following article on how to update CometChat
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:
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.