I have some prolems with authelia. Whenever I try to go to my auth.domain.com I get a white screen and no change in my authelia logs. If I go to a domain that I have set to bypass it seems to work and I get some activity in the logs. I have another subdomain with one_factor where I also get a white screen when accessing, however here I get some logs.
level=info msg="Access to [REDACTED] (method unknown) is not authorized to user <anonymous>, sending 401 response" method=GET path=/api/verify remote_ip=[REDACTED]
I haven't been able to replicate it but somethimes I get this error message in my logs
error when serving connection "172.18.0.8:9091"<->"172.18.0.1:38846": error when reading request headers: EOF. Buffer size=194, contents: "\x16\x03\x01\x00\xbd\x01\x00\x00\xb9\x03\x03\u0084\xf4<\xb5\xa8\xaaB '\xe1\xf3͔\xb7\xd5\xd8g7z`\r\x05瑫\xd2[\xb3Iҷ\x00\x008\xc0,\xc00\x00\x9f̨̩̪\xc0+\xc0/\x00\x9e\xc0$\xc0(\x00k\xc0#\xc0'\x00g\xc0\n\xc0\x14\x009\xc0\t\xc0\x13\x003\x00\x9d\x00\x9c\x00=\x00<\x005\x00/\x00\xff\x01\x00\x00X\x00\v\x00\x04\x03\x00\x01\x02\x00\n\x00\f\x00\n\x00\x1d\x00\x17\x00\x1e\x00\x19\x00\x18\x00#\x00\x00\x00\x16\x00\x00\x00\x17\x00\x00\x00\r\x000\x00.\x04\x03\x05\x03\x06\x03\b\a\b\b\b\t\b\n\b\v\b\x04\b\x05\b\x06\x04\x01\x05\x01\x06\x01\x03\x03\x02\x03\x03\x01\x02\x01\x03\x02\x02\x02\x04\x02\x05\x02\x06\x02"
Could it have to do with the default buffer sizes in "Authelia Portal.conf" or "Protected Endpoint.conf"? It says "Buffer size=194" but both those files have buffers if I read it correctly. PS is there a good reasource to lean more about this as I don't really understand what is going into these files?
From my configuration.yml
access_control:
## Default policy can either be 'bypass', 'one_factor', 'two_factor' or 'deny'. It is the policy applied to any
## resource if there is no policy to be applied to the user.
default_policy: deny # Always set to deny
rules:
# Rules applied to everyone
- domain: [REDACTED]
policy: bypass
- domain: [REDACTED]
policy: bypass
- domain: [REDACTED]
policy: one_factor
- domain: [REDACTED]
policy: two_factor
From "Authelia Portal.conf":
client_body_buffer_size 128k;
proxy_buffers 64 256k;
From "Protected Endpoint.conf":
client_body_buffer_size 128k;
proxy_buffers 4 32k;
The weird thing is that it has been working and now after I have woken up it does not work? Any help is much appreciated and if there is any information I need to provide please let me know.