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
Using debugging mode inside a container is impossible because the console host is not parametrized. Faust CLI allows specifying aiomonitor console port using the --console-port parameter. Unfortunately, since "console-host" is not available, it's using the default host address specified in aiomonitor, which is 127.0.0.1.
This problem affects both configurations that are using docker containers and Kubernetes setup. Changing it manually in aiomonitor source code to 0.0.0.0 solved the issue both in Docker and Kubernetes.
Steps to reproduce
Run a Faust worker from within a docker container with the --debug parameter enabled.
In the console output, you will see a Starting console at 127.0.0.1:50101 message instead of localhost.
Accessing the debugging console from outside the container is impossible.
Expected behavior
Add parameter --console-host which will override the default host address
As I understand this means:
Version: v0.10.21
Using debugging mode inside a container is impossible because the console host is not parametrized. Faust CLI allows specifying
aiomonitor
console port using the--console-port
parameter. Unfortunately, since "console-host" is not available, it's using the default host address specified inaiomonitor
, which is127.0.0.1
.This problem affects both configurations that are using docker containers and Kubernetes setup. Changing it manually in
aiomonitor
source code to0.0.0.0
solved the issue both in Docker and Kubernetes.Steps to reproduce
--debug
parameter enabled.Starting console at 127.0.0.1:50101
message instead oflocalhost
.Expected behavior
--console-host
which will override the default host addressAs I understand this means:
console_host
variable to theWorker
class in themode
library (https://github.com/faust-streaming/mode/blob/master/mode/worker.py#L351).faust
accordingly (https://github.com/faust-streaming/faust/blob/master/faust/worker.py#L228)Actual behavior
aiomonitor
console is running on the default host address:127.0.0.1
.The text was updated successfully, but these errors were encountered: