Cannot change RASA X port
See original GitHub issueRasa version: 1.0.1 Python version: 3.7 Operating system (windows, osx, …): Ubuntu Issue: Starting Rasa X in local mode… 🚀 [2019-05-27 17:09:47 +0900] [16856] [ERROR] Unable to start server Traceback (most recent call last): File “uvloop/loop.pyx”, line 1112, in uvloop.loop.Loop._create_server File “uvloop/handles/streamserver.pyx”, line 58, in uvloop.loop.UVStreamServer.listen File “uvloop/handles/streamserver.pyx”, line 95, in uvloop.loop.UVStreamServer._fatal_error OSError: [Errno 98] Address already in use
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File “/usr/local/lib/python3.6/dist-packages/sanic/server.py”, line 745, in serve http_server = loop.run_until_complete(server_coroutine) File “uvloop/loop.pyx”, line 1451, in uvloop.loop.Loop.run_until_complete File “uvloop/loop.pyx”, line 1684, in create_server File “uvloop/loop.pyx”, line 1116, in uvloop.loop.Loop._create_server OSError: [Errno 98] error while attempting to bind on address (‘0.0.0.0’, 5002): address already in use
Is there any way to configure the RASA X port number? The following rasa x --port PORT does not work
Content of configuration file (config.yml):
Content of domain file (domain.yml) (if used & relevant):
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top GitHub Comments
i give rasa x --debug --enable-api --cors “*” --port 5007 --rasa-x-port 5008
and get Starting Rasa Core server on http://localhost:5007 Error: Cannot connect to host localhost:5008 ssl:None [Connect call failed (‘127.0.0.1’, 5008)] (http://localhost:5008/api/health is not responding)
The server is running at http://localhost:5002/login?
can you please share what i am breaking while changing the port from 5002?
The thing is that we actually need two ports, one to run rasa-x (e.g. delivering the UI) and another one to run a normal rasa server.
--port
only changes the port of the rasa server, there is no argument to change the rasa-x port.I think we should add a new argument to specify the rasa-x port and throw an error explaining the two ports thingy if binding to the address fails.