Page 1 of 1

MyChat for a website error: Unable to connect, there are no operators in the group.

PostPosted: Tue Nov 15, 2022 12:00 pm
by earlytester
I installed client and server.

Created a group of users called Early Tester

Added users to the group.

Then copied the code

but getting following error when I paste the code in HTML open .

Code
=====
<script type="text/javascript">
window.__setMyChatOption = function (opt) {
try {
window.mc_uho_opt = Object.prototype.toString.call( opt ) === '[object Object]' ? opt : JSON.parse(opt);
var run = document.createElement("script");
run.type = "text/javascript";
run.async = true;
run.src = "http://127.0.0.1/chat/uho/supportUho.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(run, s);
} catch (e) {
console.warn(e.message);
}
}
</script>
<script src="http://127.0.0.1/getSupportOptions.js" async type="text/javascript"></script>



Unable to connect There are no operators in the group.

When I check web client I am able to see users are online.

Also note that html is in local machine,Client and server are in the same machine.

Website is not hosted yet.

Thanks

Re: Error:Unable to connect There are no operators in the group.

PostPosted: Tue Nov 15, 2022 1:49 pm
by Alona Kutsenko
Hello!
You need to perform the first two steps:
1) Open the website not as a file but as a WEB page via http://
2) In the script, instead of 127.0.0.1 specify your address of MyChat Server.

If something still does not work, we will find another solution.

Re: Error:Unable to connect There are no operators in the group.

PostPosted: Wed Nov 16, 2022 11:42 am
by earlytester
Hi Alona Kutsenko

Thanks for your response.

I understood 2 points.

1.My file earlytester.html has to be hosted on the web and I have to open the website

2.Chatserver IP has to be given instead of 127.0.01

Thanks very much for your support.Mychat is a very useful Video chat support solution for
our Customers and Its free for 20 operators.

I hope to make it work when I host my website,

Any issues I will get back.

Regards
Uday

Re: Error:Unable to connect There are no operators in the group.

PostPosted: Sun Nov 27, 2022 9:51 pm
by Udayarajangauthaman
Hi Alona

How do you find Server Address.

I started it in my local system.Is it my IP of system

Cheers
Uday