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
After trying to setup the Docker daemon proxy for a while, I think I was able to identify that the environment variable NC_HAPROXY_PASSWORD does not support special characters.
However, no warning at all is logged in the console : the container happily starts, but throws 401 errors when attempting to connect.
You can see below that my password is logged in plain text (something to probably address but it will be less of an issue when #22 is addressed). It contains a "#" character :
HaProxy config:
# Inspiration: https://github.com/ZoeyVid/docker-socket-proxy/blob/develop/haproxy.cfg
global
log stdout local0 info
maxconn 8192
ca-base /etc/ssl/certs
defaults
log global
option httplog
option dontlognull
timeout connect 10s
timeout client 30s
timeout server 1800s
userlist app_api_credentials
user app_api_haproxy_user insecure-password [REDACTED]er#
frontend docker_engine
mode http
bind *:2375 v4v6
This throws a 401 error when attempting to register or test the connection to the daemon :
Hello,
After trying to setup the Docker daemon proxy for a while, I think I was able to identify that the environment variable NC_HAPROXY_PASSWORD does not support special characters.
However, no warning at all is logged in the console : the container happily starts, but throws 401 errors when attempting to connect.
You can see below that my password is logged in plain text (something to probably address but it will be less of an issue when #22 is addressed). It contains a "#" character :
This throws a 401 error when attempting to register or test the connection to the daemon :
The exact same password without the '#' character works (200 at the bottom) :
The character '&' does something even weirder, trying to replace with some (to my knowledge undocumented) ENV variable :
According to me, this issue isn't coming from my compose file since I use quotes around my ENV variables there.
If this issue can't be fixed, I think it should at least be mentionned in the documentation to save some painful debugging hours to people ;)
The text was updated successfully, but these errors were encountered: