Rasa X - There was an error loading messages and polling has been stopped

I try to talk to my bot in “Talk to your bot” Tab, but I keep getting this error message “There was an error loading messages and polling has been stopped”. I am also seeing this message on my terminal saying “Cannot connect to host localhost:5005 ssl:None[Connection refused]”. The terminal is also showing me I have to change my local timezone, anyone knows where to change it?

Hi @jackning did you try adding the timezone to your duckling component in your NLU pipeline?

image

Hi @erohmensing I am just using the “rasa init” file that was provided and it doesnt seem to contain a duckling.

Sorry, my bad. Did this error show up before or after you added the Timezone component to your config? If you remove it (like in the original rasa init output), does it work?

The error was there before I added the timezone to the config file. I thought adding the timezone might do the trick but apparently not, the problem is still there.

Hmm okay strange. Can you post the full traceback?

I’ve recently come across this problem myself when using running Rasa on WSL. The problem is that WSL does not map Windows local timezone properly. I realised it had to be something Windows related when Rasa X started without a problem on my Ubuntu server.

I used the solution found here: https://github.com/HowardHinnant/date/issues/102#issuecomment-261742293.

Microsoft does seem to know about the issue https://github.com/Microsoft/WSL/issues/3747.

Hope this helps :slight_smile:

1 Like

Thank you so much @daypack. It is finally working for me.

@daypack Did you follow pip to install to your server? I was using the docker but ran into issues, a bug has been reported and should be fixed in next update.

Any links you can share for install help that successfully deployed it on a server?