You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When launching ayon, there is an issue that arises from the webserver not being able to bind on an address. I have narrowed it down to client/ayon_core/tools/tray/webserver/server.py where it is resorting to "localhost" as a hostname. This suggestion to fix the error works as I have tried it on my local addons install. I replaced all "localhost" instances in the aforementioned file with "0.0.0.0".
Expected Behavior:
That error should go way
Version
1.0.10
What platform you are running on?
Linux / Centos
Steps To Reproduce:
Launch ayon, the error appears in the console
Are there any labels you wish to add?
I have added the relevant labels to the bug report.
Relevant log output:
>>> Connected to AYON server http://*********:5000
*** AYON [1.1.1] -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>> Using AYON from [ /home/cache/liam.hoflay/AYON-1.1.1-linux-rocky9 ]
... AYON variant: [ production ]
... AYON bundle: [ BLACKKITE-2025-01-21-01 ]
>>> loading environments ...
- global AYON ...
- for addons ...
Registered font families: Noto Sans, Noto Sans, Noto Sans, Noto Sans, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono SemiBold, Noto Sans Mono, Noto Sans Mono Thin, Noto Sans Mono, Noto Sans Mono Medium, Noto Sans Mono, Noto Sans Mono Light, Noto Sans Mono, Noto Sans Mono ExtraBold, Noto Sans Mono, Noto Sans Mono ExtraLight, Noto Sans Mono, Noto Sans Mono Black, Noto Sans Mono
>>> [ Starting WebServer server ]
*** WRN: >>> { WebServerThread }: [ Web Server service has FAILED ]
==============================
[ Errno 99 ] ERROR while attempting to bind on address ('::1', 14419, 0, 0): cannot assign requested address
==============================
Traceback (most recent call last):
File "/home/cache/liam.hoflay/AYON/addons/core_1.0.10/ayon_core/tools/tray/webserver/server.py", line 212, in run
self.loop.run_until_complete(self.start_server())
File "asyncio/base_events.py", line 647, in run_until_complete
File "/home/cache/liam.hoflay/AYON/addons/core_1.0.10/ayon_core/tools/tray/webserver/server.py", line 237, in start_server
await self.site.start()
File "/home/cache/liam.hoflay/AYON-1.1.1-linux-rocky9/dependencies/aiohttp/web_runner.py", line 121, in start
self._server = await loop.create_server(
File "asyncio/base_events.py", line 1506, in create_server
OSERROR: [ Errno 99 ] ERROR while attempting to bind on address ('::1', 14419, 0, 0): cannot assign requested address
>>> [ Web server stopped ]
Additional context:
No response
The text was updated successfully, but these errors were encountered:
Going based off of this answer here I'm not sure 0.0.0.0 would be doing what you wanted it to. But I really know too little of networking to begin with so 🤷
Hmm, 0.0.0.0 is potential danger as it makes the server open for all adapters, instead of just the host. The localhost is alias for 127.0.0.1 (fake localhost network).
Hmm, 0.0.0.0 is potential danger as it makes the server open for all adapters, instead of just the host. The localhost is alias for 127.0.0.1 (fake localhost network).
this works @iLLiCiTiT I've added that change to my PR
Is there an existing issue for this?
Current Behavior:
When launching ayon, there is an issue that arises from the webserver not being able to bind on an address. I have narrowed it down to client/ayon_core/tools/tray/webserver/server.py where it is resorting to "localhost" as a hostname. This suggestion to fix the error works as I have tried it on my local addons install. I replaced all "localhost" instances in the aforementioned file with "0.0.0.0".
Expected Behavior:
That error should go way
Version
1.0.10
What platform you are running on?
Linux / Centos
Steps To Reproduce:
Launch ayon, the error appears in the console
Are there any labels you wish to add?
Relevant log output:
Additional context:
No response
The text was updated successfully, but these errors were encountered: