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.

Stuck in "Waiting for server..."

See original GitHub issue

Hi, i need some help please

Im trying to use the plugin with socket.io in localhost but the chat plugin gets stuck at “Waiting for server…” phase. This is the code fragment i’m using for the web server:

const server = require('http').createServer();
const io = require('socket.io')(server);
io.on('connection', function(socket){
  console.log('a user connected');
  //console.log(socket)
  io.emit('bot_uttered', {"text": "hola, soy jean pierre el servidor"})
  socket.on('user_uttered',function(message){
    console.log(message);
    return true;
  });
  return true;
});


server.listen(3000);

When the client connects the message from the server is sent but im unable to write from the client side.

im suspecting that it has something to do with initPayload: "/get_started" but i havent found anywhere what that options is suposed to do.

Thaks!

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
hrqiangcommented, Jan 17, 2019

I’ve resolved this issue recently. This will not be an issue once rasa_core release a new version. 0.12.4+. For now, the work around is you install a github latest version rasa-core or replace your channels/socketio.py with github latest one.

0reactions
znatcommented, Jan 29, 2019

Right, of course! Thanks @jeanpah . Would you consider adding them in the readme in a PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stuck at waiting for server – Customer Feedback for Wizards ...
2.) Go into configuration. 3.) Click the account. 4.) Click the button "Unlock all play modes". 5.) Queue for a regular match and...
Read more >
Game gets stuck on “waiting for server” any time I try to play an ...
Every time I try to do the challenge I just get stuck at the “waiting for the server” loading screen and the wheel...
Read more >
HOW TO FIX MTG ARENA WAITING FOR THE SERVER ...
HOW TO FIX MTG ARENA WAITING FOR THE SERVER ERROR/BUG. 55K views · 2 years ago ...more. Hello Good Game. 44K. Subscribe. 536....
Read more >
Load Web Api Data Very Slowly - Stuck on 'Waiting for Server'
Solved: Hi, I'm now having trouble loading data from the web API source to the Power BI desktop. To reduce the capacity of...
Read more >
Stuck in Main Menu ( Waiting for Servers P,B,I,S,U
What the title says, it infinitely loads and wont let press anything but the quit button. I have tried deleting the option.txt file...
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