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.

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

See original GitHub issue

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):


Issue Analytics

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

github_iconTop GitHub Comments

2reactions
jwjuvencommented, Aug 10, 2019

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.

1reaction
akeladcommented, Sep 15, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

engineio.server - https://mysite.com is not an accepted origin ...
After run pip3 install rasa --upgrade I started to get the message: engineio.server - https://mysite.com is not an accepted origin.
Read more >
App engine, Flask-Socketio server Cors_Allowed_Origins ...
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. I did put the following line in ...
Read more >
The Engine.IO Server — python-engineio documentation
First, the path is checked against the Engine.IO path. Next, the path is checked against the static file configuration, if present. If the...
Read more >
WebSockets not Bound by SOP and CORS? Does this mean…
The WebSocket handshake between a client and a server occurs via HTTP Upgrade request and response headers. Since the SOP can only control ......
Read more >
Handling CORS | Socket.IO
If that's not the case, please check that your server is listening and is actually reachable on the given port. Edit this page....
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