Error: Not connected to server. when sending a message
See original GitHub issueActual behaviour: Callback “Not connected to server.”
Expected behaviour: “Action send message”
client.on("connected", (addr, port) => {
client.on("chat", (channel, user, message, self)=>{
if (message.toUpperCase().indexOf("XXX") !== -1) {
client.action("xxx", user['display-name'] + "🍉").then(function(data) {
// data returns [channel]
}).catch(function(err) {
console.log(err);
});
console.log(user['display-name']);
}
})
})

Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
What does "Can't Connect to Server" mean, and how to fix it?
The same thing happens when the error message "Cannot connect to server" is displayed. We don't know what's causing the problem here.
Read more >"Cannot connect the computer to the server" error message ...
Cannot connect the computer to the server because either another software installation is in progress or, the computer has a restart pending.
Read more >How To Deal With A Server Not Found Message?
To fix the server-cannot-be-found message on your computer, check your connectivity first (wi-fi, router, etc.) and the URL being entered in the ...
Read more >What does 'cannot connect to server' mean? - Quora
It means that your computer is sending out packets addressed to some other computer's IP address, but it's not receiving any response packets...
Read more >11 Tips to Fix "Outlook Not Connect to Server" Error
If you're going through an Outlook not connecting to server error, then continue reading to find out several ways to get this issue...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
👍
Yup, might be this 👍