Skip to content

Make setup - Using server IP in setup makes condor bind to port 80 instead of configured port 8088 #67

Description

@rapcmia

Describe the bug

This issue was noticed while running make setup and choosing a server IP instead of localhost. The setup flow completed and reported that the web server was configured at http://:8088, so the expected result was that make run would start dashboard port 8088

Instead, the app started UV on port 80 and failed immediately with a permission error ❌

Image
#### cat .env
TELEGRAM_TOKEN=XXX
ADMIN_USER_ID=XXX
WEB_URL=http://100.XXX
WEB_PORT=8088
DEPLOY_HUMMINGBOT_API=false

Got error Task exception was never retrieved future

2026-04-22 21:57:22,623 - condor.web.ws_manager - INFO - WebSocketManager started (listening to ServerDataService)
2026-04-22 21:57:22,623 - __main__ - INFO - Starting Condor: Telegram bot + web dashboard on port 80
INFO:     Started server process [583545]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
ERROR:    [Errno 13] error while attempting to bind on address ('0.0.0.0', 80): [errno 13] permission denied
INFO:     Waiting for application shutdown.
INFO:     Application shutdown complete.
2026-04-22 21:57:22,730 - asyncio - ERROR - Task exception was never retrieved
future: <Task finished name='Task-4' coro=<Server.serve() done, defined at /home/eddga/hummingbot/condor/latest/.venv/lib/python3.13/site-packages/uvicorn/server.py:77> exception=SystemExit(1)>
Traceback (most recent call last):
  File "/home/eddga/hummingbot/condor/latest/.venv/lib/python3.13/site-packages/uvicorn/server.py", line 172, in startup
    server = await loop.create_server(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^
  File "/home/eddga/anaconda3/lib/python3.13/asyncio/base_events.py", line 1630, in create_server
    raise OSError(err.errno, msg) from None
PermissionError: [Errno 13] error while attempting to bind on address ('0.0.0.0', 80): [errno 13] permission denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/eddga/hummingbot/condor/latest/main.py", line 662, in <module>
    main()
    ~~~~^^
  File "/home/eddga/hummingbot/condor/latest/main.py", line 599, in main
    asyncio.run(_run_dual(application))
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eddga/anaconda3/lib/python3.13/asyncio/runners.py", line 195, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "/home/eddga/anaconda3/lib/python3.13/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/home/eddga/anaconda3/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete
    self.run_forever()
    ~~~~~~~~~~~~~~~~^^
  File "/home/eddga/anaconda3/lib/python3.13/asyncio/base_events.py", line 683, in run_forever
    self._run_once()
    ~~~~~~~~~~~~~~^^
  File "/home/eddga/anaconda3/lib/python3.13/asyncio/base_events.py", line 2050, in _run_once
    handle._run()
    ~~~~~~~~~~~^^
  File "/home/eddga/anaconda3/lib/python3.13/asyncio/events.py", line 89, in _run
    self._context.run(self._callback, *self._args)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eddga/hummingbot/condor/latest/.venv/lib/python3.13/site-packages/uvicorn/server.py", line 79, in serve
    await self._serve(sockets)
  File "/home/eddga/hummingbot/condor/latest/.venv/lib/python3.13/site-packages/uvicorn/server.py", line 94, in _serve
    await self.startup(sockets=sockets)
  File "/home/eddga/hummingbot/condor/latest/.venv/lib/python3.13/site-packages/uvicorn/server.py", line 182, in startup
    sys.exit(1)
    ~~~~~~~~^^^
SystemExit: 1
make: *** [Makefile:56: run] Error 1

Steps to reproduce

  1. Use make setup
  2. On setup, add your server IP
  3. Start make run

Attach required files

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions