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.

Cannot change RASA X port

See original GitHub issue

Rasa 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
cyrilthankcommented, Jul 12, 2019

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?

2reactions
tmbocommented, May 27, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot change RASA X port · Issue #3597 - GitHub
--port only changes the port of the rasa server, there is no argument to change the rasa-x port. I think we should add...
Read more >
Changing port number of rasa x instance
I have two Rasa x instances in my machine running under a ngrok server. I want to change the Rasa x ports, allowing...
Read more >
Create Chatbot using Rasa Part-1 - Towards Data Science
Rasa is an open source machine learning framework for building AI assistants and chatbots. Mostly you don't need any programming language experience to...
Read more >
RASA - rasa run actions - localhost issues - Stack Overflow
Your action server running on 5055 port. if you want it to set 9000 then change it from rasa core backend request.
Read more >
Making a Lightweight, Low-Cost Rasa Chatbot with NGINX
Not using Rasa X for your Rasa chatbot? ... to the rasa container on port 5005 upstream rasa { server rasa:5005; } #change...
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