rasa: Fatal error - engineio.server - https://mysite.com is not an accepted origin. after upgrade

Rasa version: Rasa 1.2.2

Rasa X version (if used & relevant):

Python version: Python 3.6.8

Operating system (windows, osx, …): ubuntu server

Issue:

After run pip3 install rasa --upgrade

I started to get the message: engineio.server - https://mysite.com is not an accepted origin.

Now my webchat is broken and I’m stuck !!!

It seems to be related to cors but I tried the command above and still it didn’t work.

rasa run --m models/dialogue --enable-api --debug --endpoints endpoints.yml --credentials credentials.yml --cors ‘*’

Thanks !

Error (including full traceback):

2019-08-08 06:37:12 DEBUG    pykwalify.compat  - Using yaml library: /usr/local/lib/python3.6/dist-packages/ruamel/yaml/__init__.py
2019-08-08 06:37:19 INFO     engineio.server  - https://myip.com is not an accepted origin.


Command or request that led to error:

        rasa run --m models/dialogue --enable-api --debug --endpoints endpoints.yml --credentials credentials.yml --cors '*'

Content of configuration file (config.yml) (if relevant):


Content of domain file (domain.yml) (if relevant):


About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

I have solved the issues. Because the version of python-engineio is 3.9.2 in ubuntu, it will work fine after I downgraded python-engineio from 3.9.2 to 3.8.1.

Yes I tested it with that and the python-engineio method that’s pinned and it worked fine

We will release a new version 1.2.4 which should fix this. Could you please check if that resolves your issue? The PR for that is https://github.com/RasaHQ/rasa/pulls?q=is%3Apr+is%3Aclosed

Work around: pip3 uninstall python-engineio pip3 install python-socketio==4.2.0