question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Not connected to server. when sending a message

See original GitHub issue

Actual 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']);

    }
  })
})
capture d ecran 2016-09-17 a 15 16 04

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Schmoopiiecommented, Sep 17, 2016

👍

0reactions
ayrtondumascommented, Sep 17, 2016

Yup, might be this 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found