301 Redirects when trying to connect to dashboard #941

Open
opened 2025-11-20 05:20:19 -05:00 by saavagebueno · 10 comments
Owner

Originally created by @thorleifjacobsen on GitHub (May 29, 2024).

Describe the problem

We encountered an issue where the NetBird GUI froze while modifying policies. After restarting Docker Compose, we are now experiencing infinite redirects. The server configuration has not been altered and has been running smoothly for about a week. The problem began when we attempted to change the policy from "Group1 -> ssh -> Group2" to "Group1 and Group2 -> all -> Group2."

When we made this change, CPU usage spiked, and the system stopped responding for 5-10 minutes. I then terminated the process, and now we are stuck in the 301 redirect loop.

I'm uncertain where to start fault tracing this issue. It appears to function for a few seconds during startup. I was able to remove all policies before it crashed the first time. The image below demonstrates that it works initially, then suddenly returns a 301 error.

image

Docker Compose Logs shows:*

dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.5146613,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.514965,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000241005,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Sec-Fetch-Site":["none"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Pragma":["no-cache"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Mode":["navigate"],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Priority":["u=0, i"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Cache-Control":["no-cache"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301}
caddy-1       | {"level":"debug","ts":1716984507.5325816,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.5331116,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000439339,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-User":["?1"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-Proto":["https"],"Pragma":["no-cache"],"Cache-Control":["no-cache"],"Sec-Fetch-Site":["none"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Mobile":["?0"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Accept-Encoding":["gzip, deflate, br, zstd"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Priority":["u=0, i"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"X-Forwarded-For":["xx.xx.xx.xx"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"]},"status":301}
caddy-1       | {"level":"debug","ts":1716984507.550865,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.551323,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000376505,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"X-Forwarded-For":["xx.xx.xx.xx"],"Pragma":["no-cache"],"Sec-Fetch-Mode":["navigate"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"Linux\""],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Dest":["document"],"Sec-Fetch-Site":["none"],"Priority":["u=0, i"],"Sec-Fetch-User":["?1"],"Upgrade-Insecure-Requests":["1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Cache-Control":["no-cache"],"Accept-Encoding":["gzip, deflate, br, zstd"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.5696223,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.5701787,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000477692,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua-Mobile":["?0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Mode":["navigate"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Dest":["document"],"Pragma":["no-cache"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Sec-Fetch-User":["?1"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Priority":["u=0, i"],"Cache-Control":["no-cache"],"X-Forwarded-For":["xx.xx.xx.xx"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.5887299,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.5890741,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000280726,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Mobile":["?0"],"Priority":["u=0, i"],"Cache-Control":["no-cache"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-Site":["none"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Sec-Fetch-User":["?1"],"X-Forwarded-For":["xx.xx.xx.xx"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Pragma":["no-cache"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.6065533,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.6070404,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000425922,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Dest":["document"],"Pragma":["no-cache"],"Cache-Control":["no-cache"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-For":["xx.xx.xx.xx"],"Sec-Fetch-User":["?1"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Priority":["u=0, i"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.6247072,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.6250932,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000322321,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua-Platform":["\"Linux\""],"Sec-Ch-Ua-Mobile":["?0"],"Priority":["u=0, i"],"Sec-Fetch-Dest":["document"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Cache-Control":["no-cache"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Upgrade-Insecure-Requests":["1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Site":["none"],"Pragma":["no-cache"],"Sec-Fetch-User":["?1"],"X-Forwarded-Proto":["https"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301}
caddy-1       | {"level":"debug","ts":1716984507.643633,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.6440334,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000330744,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Site":["none"],"Priority":["u=0, i"],"Upgrade-Insecure-Requests":["1"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Cache-Control":["no-cache"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Pragma":["no-cache"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.6626256,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.6630158,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000328398,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Pragma":["no-cache"],"Sec-Fetch-Mode":["navigate"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Sec-Fetch-User":["?1"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Mobile":["?0"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"X-Forwarded-Proto":["https"],"Upgrade-Insecure-Requests":["1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Accept-Encoding":["gzip, deflate, br, zstd"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Cache-Control":["no-cache"],"Priority":["u=0, i"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301}
caddy-1       | {"level":"debug","ts":1716984507.681887,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.6822715,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000303751,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Mode":["navigate"],"Priority":["u=0, i"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"X-Forwarded-Proto":["https"],"Pragma":["no-cache"],"Sec-Fetch-User":["?1"],"Sec-Ch-Ua-Mobile":["?0"],"X-Forwarded-For":["xx.xx.xx.xx"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-Site":["none"],"Cache-Control":["no-cache"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.7006116,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.7011464,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000456257,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Fetch-Site":["none"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Upgrade-Insecure-Requests":["1"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Priority":["u=0, i"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Cache-Control":["no-cache"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Mobile":["?0"],"Pragma":["no-cache"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"]},"status":301}
caddy-1       | {"level":"debug","ts":1716984507.7196357,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.720245,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.00047,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-Mode":["navigate"],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Proto":["https"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Priority":["u=0, i"],"Cache-Control":["no-cache"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-User":["?1"],"Sec-Fetch-Dest":["document"],"Pragma":["no-cache"],"Sec-Fetch-Site":["none"],"X-Forwarded-For":["xx.xx.xx.xx"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301}
caddy-1       | {"level":"debug","ts":1716984507.7385683,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.7390726,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000389485,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Dest":["document"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Pragma":["no-cache"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Sec-Fetch-Site":["none"],"Priority":["u=0, i"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Cache-Control":["no-cache"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-User":["?1"],"Sec-Ch-Ua-Mobile":["?0"],"Accept-Encoding":["gzip, deflate, br, zstd"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.7575665,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.7580147,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000265181,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Priority":["u=0, i"],"Pragma":["no-cache"],"Sec-Ch-Ua-Mobile":["?0"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-Proto":["https"],"Sec-Fetch-User":["?1"],"Sec-Fetch-Dest":["document"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Platform":["\"Linux\""],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Cache-Control":["no-cache"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.7756205,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.7760665,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000381788,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-User":["?1"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Dest":["document"],"Pragma":["no-cache"],"Sec-Ch-Ua-Mobile":["?0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Fetch-Site":["none"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Priority":["u=0, i"],"Cache-Control":["no-cache"],"Sec-Fetch-Mode":["navigate"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301}
caddy-1       | {"level":"debug","ts":1716984507.794743,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.795647,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000723268,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Priority":["u=0, i"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Host":["netbird.mydomain.tld"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Mode":["navigate"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Cache-Control":["no-cache"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Pragma":["no-cache"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.8148124,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.8152573,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.0003676,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Cache-Control":["no-cache"],"Sec-Fetch-User":["?1"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Site":["none"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Pragma":["no-cache"],"Upgrade-Insecure-Requests":["1"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Mode":["navigate"],"Priority":["u=0, i"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"]},"status":301}
caddy-1       | {"level":"debug","ts":1716984507.8346674,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
caddy-1       | {"level":"debug","ts":1716984507.8351545,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000422669,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"X-Forwarded-Proto":["https"],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"X-Forwarded-For":["xx.xx.xx.xx"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Pragma":["no-cache"],"Sec-Ch-Ua-Mobile":["?0"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Cache-Control":["no-cache"],"Priority":["u=0, i"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301}
caddy-1       | {"level":"debug","ts":1716984507.8535762,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1}
caddy-1       | {"level":"debug","ts":1716984507.8539908,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000335903,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Pragma":["no-cache"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Dest":["document"],"Cache-Control":["no-cache"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-Mode":["navigate"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Ch-Ua-Mobile":["?0"],"Priority":["u=0, i"],"Sec-Fetch-User":["?1"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"]},"status":301}
dashboard-1   | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx"
Originally created by @thorleifjacobsen on GitHub (May 29, 2024). **Describe the problem** We encountered an issue where the NetBird GUI froze while modifying policies. After restarting Docker Compose, we are now experiencing infinite redirects. The server configuration has not been altered and has been running smoothly for about a week. The problem began when we attempted to change the policy from "Group1 -> ssh -> Group2" to "Group1 and Group2 -> all -> Group2." When we made this change, CPU usage spiked, and the system stopped responding for 5-10 minutes. I then terminated the process, and now we are stuck in the 301 redirect loop. I'm uncertain where to start fault tracing this issue. It appears to function for a few seconds during startup. I was able to remove all policies before it crashed the first time. The image below demonstrates that it works initially, then suddenly returns a 301 error. ![image](https://github.com/netbirdio/netbird/assets/8550684/a8913e1e-d486-40de-befd-d899e2bfb521) **Docker Compose Logs shows:*** ``` dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.5146613,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.514965,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000241005,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Sec-Fetch-Site":["none"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Pragma":["no-cache"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Mode":["navigate"],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Priority":["u=0, i"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Cache-Control":["no-cache"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301} caddy-1 | {"level":"debug","ts":1716984507.5325816,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.5331116,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000439339,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-User":["?1"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-Proto":["https"],"Pragma":["no-cache"],"Cache-Control":["no-cache"],"Sec-Fetch-Site":["none"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Mobile":["?0"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Accept-Encoding":["gzip, deflate, br, zstd"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Priority":["u=0, i"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"X-Forwarded-For":["xx.xx.xx.xx"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"]},"status":301} caddy-1 | {"level":"debug","ts":1716984507.550865,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.551323,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000376505,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"X-Forwarded-For":["xx.xx.xx.xx"],"Pragma":["no-cache"],"Sec-Fetch-Mode":["navigate"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"Linux\""],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Dest":["document"],"Sec-Fetch-Site":["none"],"Priority":["u=0, i"],"Sec-Fetch-User":["?1"],"Upgrade-Insecure-Requests":["1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Cache-Control":["no-cache"],"Accept-Encoding":["gzip, deflate, br, zstd"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.5696223,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.5701787,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000477692,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua-Mobile":["?0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Mode":["navigate"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Dest":["document"],"Pragma":["no-cache"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Sec-Fetch-User":["?1"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Priority":["u=0, i"],"Cache-Control":["no-cache"],"X-Forwarded-For":["xx.xx.xx.xx"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.5887299,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.5890741,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000280726,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Mobile":["?0"],"Priority":["u=0, i"],"Cache-Control":["no-cache"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-Site":["none"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Sec-Fetch-User":["?1"],"X-Forwarded-For":["xx.xx.xx.xx"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Pragma":["no-cache"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.6065533,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.6070404,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000425922,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Dest":["document"],"Pragma":["no-cache"],"Cache-Control":["no-cache"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-For":["xx.xx.xx.xx"],"Sec-Fetch-User":["?1"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Priority":["u=0, i"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.6247072,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.6250932,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000322321,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua-Platform":["\"Linux\""],"Sec-Ch-Ua-Mobile":["?0"],"Priority":["u=0, i"],"Sec-Fetch-Dest":["document"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Cache-Control":["no-cache"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Upgrade-Insecure-Requests":["1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Site":["none"],"Pragma":["no-cache"],"Sec-Fetch-User":["?1"],"X-Forwarded-Proto":["https"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301} caddy-1 | {"level":"debug","ts":1716984507.643633,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.6440334,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000330744,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Site":["none"],"Priority":["u=0, i"],"Upgrade-Insecure-Requests":["1"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Cache-Control":["no-cache"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Pragma":["no-cache"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.6626256,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.6630158,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000328398,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Pragma":["no-cache"],"Sec-Fetch-Mode":["navigate"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Sec-Fetch-User":["?1"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Mobile":["?0"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"X-Forwarded-Proto":["https"],"Upgrade-Insecure-Requests":["1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Accept-Encoding":["gzip, deflate, br, zstd"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Cache-Control":["no-cache"],"Priority":["u=0, i"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301} caddy-1 | {"level":"debug","ts":1716984507.681887,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.6822715,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000303751,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Mode":["navigate"],"Priority":["u=0, i"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"X-Forwarded-Proto":["https"],"Pragma":["no-cache"],"Sec-Fetch-User":["?1"],"Sec-Ch-Ua-Mobile":["?0"],"X-Forwarded-For":["xx.xx.xx.xx"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-Site":["none"],"Cache-Control":["no-cache"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.7006116,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.7011464,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000456257,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Fetch-Site":["none"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Upgrade-Insecure-Requests":["1"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Priority":["u=0, i"],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Cache-Control":["no-cache"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Mobile":["?0"],"Pragma":["no-cache"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"]},"status":301} caddy-1 | {"level":"debug","ts":1716984507.7196357,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.720245,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.00047,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-Mode":["navigate"],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Proto":["https"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Priority":["u=0, i"],"Cache-Control":["no-cache"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-User":["?1"],"Sec-Fetch-Dest":["document"],"Pragma":["no-cache"],"Sec-Fetch-Site":["none"],"X-Forwarded-For":["xx.xx.xx.xx"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301} caddy-1 | {"level":"debug","ts":1716984507.7385683,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.7390726,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000389485,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Dest":["document"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Pragma":["no-cache"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Sec-Fetch-Site":["none"],"Priority":["u=0, i"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Cache-Control":["no-cache"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Sec-Fetch-User":["?1"],"Sec-Ch-Ua-Mobile":["?0"],"Accept-Encoding":["gzip, deflate, br, zstd"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.7575665,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.7580147,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000265181,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Priority":["u=0, i"],"Pragma":["no-cache"],"Sec-Ch-Ua-Mobile":["?0"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Sec-Fetch-Mode":["navigate"],"X-Forwarded-Proto":["https"],"Sec-Fetch-User":["?1"],"Sec-Fetch-Dest":["document"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Platform":["\"Linux\""],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Cache-Control":["no-cache"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.7756205,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.7760665,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000381788,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-User":["?1"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Dest":["document"],"Pragma":["no-cache"],"Sec-Ch-Ua-Mobile":["?0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Fetch-Site":["none"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Priority":["u=0, i"],"Cache-Control":["no-cache"],"Sec-Fetch-Mode":["navigate"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301} caddy-1 | {"level":"debug","ts":1716984507.794743,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.795647,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000723268,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Priority":["u=0, i"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Host":["netbird.mydomain.tld"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Mode":["navigate"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Cache-Control":["no-cache"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Pragma":["no-cache"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.8148124,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.8152573,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.0003676,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Cache-Control":["no-cache"],"Sec-Fetch-User":["?1"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Site":["none"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Pragma":["no-cache"],"Upgrade-Insecure-Requests":["1"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Sec-Fetch-Mode":["navigate"],"Priority":["u=0, i"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"]},"status":301} caddy-1 | {"level":"debug","ts":1716984507.8346674,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" caddy-1 | {"level":"debug","ts":1716984507.8351545,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000422669,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Sec-Fetch-User":["?1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":["\"Linux\""],"X-Forwarded-Proto":["https"],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"X-Forwarded-For":["xx.xx.xx.xx"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Pragma":["no-cache"],"Sec-Ch-Ua-Mobile":["?0"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Cache-Control":["no-cache"],"Priority":["u=0, i"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Content-Length":["162"],"Connection":["keep-alive"],"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"]},"status":301} caddy-1 | {"level":"debug","ts":1716984507.8535762,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"dashboard:80","total_upstreams":1} caddy-1 | {"level":"debug","ts":1716984507.8539908,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"dashboard:80","duration":0.000335903,"request":{"remote_ip":"xx.xx.xx.xx","remote_port":"39918","client_ip":"xx.xx.xx.xx","proto":"HTTP/2.0","method":"GET","host":"netbird.mydomain.tld","uri":"/","headers":{"Pragma":["no-cache"],"X-Forwarded-For":["xx.xx.xx.xx"],"X-Forwarded-Proto":["https"],"Accept-Language":["en-US,en;q=0.9,nb;q=0.8,no;q=0.7"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"],"Sec-Fetch-Dest":["document"],"Cache-Control":["no-cache"],"Sec-Fetch-Site":["none"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"X-Forwarded-Host":["netbird.mydomain.tld"],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-Mode":["navigate"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Ch-Ua-Mobile":["?0"],"Priority":["u=0, i"],"Sec-Fetch-User":["?1"],"Sec-Ch-Ua":["\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"netbird.mydomain.tld"}},"headers":{"Location":["https://netbird.mydomain.tld/"],"Server":["nginx"],"Date":["Wed, 29 May 2024 12:08:27 GMT"],"Content-Type":["text/html"],"Content-Length":["162"],"Connection":["keep-alive"]},"status":301} dashboard-1 | 172.23.0.3 - - [29/May/2024:12:08:27 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" "xx.xx.xx.xx" ```
saavagebueno added the bugdashboardself-hosting labels 2025-11-20 05:20:19 -05:00
Author
Owner

@bcmmbaga commented on GitHub (May 29, 2024):

Hello @thorleifjacobsen, to help identify the issue, could you please share the management container logs? Additionally, did you change the policy name or source/destination, and how many peers could be affected by this policy?

@bcmmbaga commented on GitHub (May 29, 2024): Hello @thorleifjacobsen, to help identify the issue, could you please share the management container logs? Additionally, did you change the policy name or source/destination, and how many peers could be affected by this policy?
Author
Owner

@thorleifjacobsen commented on GitHub (May 29, 2024):

Hi @bcmmbaga I dont think the Management Logs are connected to this. Seems to be Caddy / Dashboard problems.

I found this in the /etc/nginx/http.d/default.conf of dashboard

bash-5.1# cat http.d/default.conf
server {
    listen 80 default_server;
    listen [::]:80 default_server;
    root /usr/share/nginx/html;

    location / {
      try_files $uri $uri.html $uri/ =404;
      add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
      expires off;
   }

   error_page 404 /404.html;
   location = /404.html {
      internal;
      add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
      expires off;
   }
}

server {
    root /usr/share/nginx/html;

    location / {
      try_files $uri $uri.html $uri/ =404;
      add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
      expires off;
   }

   error_page 404 /404.html;
   location = /404.html {
      internal;
      add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
      expires off;
   }

    server_name netbird.mydomain.net; # managed by Certbot

    listen [::]:443 ssl ipv6only=on; # managed by Certbot
    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/netbird.mydomain.net/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/netbird.mydomain.net/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot


}

server {
    if ($host = netbird.mydomain.net) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


        listen 80 ;
        listen [::]:80 ;
    server_name netbird.mydomain.net;
    return 404; # managed by Certbot
}

That redirect on the bottom there seems to be a issue. The CaddyFile seems to use port 80?

:80, netbird.mydomain.net:443 {
    import security_headers
    # Signal
    reverse_proxy /signalexchange.SignalExchange/* h2c://signal:10000
    # Management
    reverse_proxy /api/* management:80
    reverse_proxy /management.ManagementService/* h2c://management:80
    # Dashboard
    reverse_proxy /* dashboard:80
}

I dont think the management is affected, /api works and all services seems to be up and running. Removing that redirect from the nginx file in dashboard seems to stop the redirecting but it gives me a 404 as expected.

Adding missing answers to your question:

  1. Changed the source / destination by adding one more destination (same as source) so basically say we had two groups "Peter" and "Griffin". Previously the policy was: Peter can SSH to Griffin. We changed it to "Peter AND Griffin can ICMP to Griffin then we saved and it stopped working.
  2. 400 peers would be affected.
@thorleifjacobsen commented on GitHub (May 29, 2024): Hi @bcmmbaga I dont think the Management Logs are connected to this. Seems to be Caddy / Dashboard problems. I found this in the `/etc/nginx/http.d/default.conf` of dashboard ```bash bash-5.1# cat http.d/default.conf server { listen 80 default_server; listen [::]:80 default_server; root /usr/share/nginx/html; location / { try_files $uri $uri.html $uri/ =404; add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"; expires off; } error_page 404 /404.html; location = /404.html { internal; add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"; expires off; } } server { root /usr/share/nginx/html; location / { try_files $uri $uri.html $uri/ =404; add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"; expires off; } error_page 404 /404.html; location = /404.html { internal; add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"; expires off; } server_name netbird.mydomain.net; # managed by Certbot listen [::]:443 ssl ipv6only=on; # managed by Certbot listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/netbird.mydomain.net/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/netbird.mydomain.net/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot } server { if ($host = netbird.mydomain.net) { return 301 https://$host$request_uri; } # managed by Certbot listen 80 ; listen [::]:80 ; server_name netbird.mydomain.net; return 404; # managed by Certbot } ``` That redirect on the bottom there seems to be a issue. The CaddyFile seems to use port 80? ``` :80, netbird.mydomain.net:443 { import security_headers # Signal reverse_proxy /signalexchange.SignalExchange/* h2c://signal:10000 # Management reverse_proxy /api/* management:80 reverse_proxy /management.ManagementService/* h2c://management:80 # Dashboard reverse_proxy /* dashboard:80 } ``` I dont think the management is affected, /api works and all services seems to be up and running. Removing that redirect from the nginx file in dashboard seems to stop the redirecting but it gives me a 404 as expected. Adding missing answers to your question: 1. Changed the source / destination by adding one more destination (same as source) so basically say we had two groups "Peter" and "Griffin". Previously the policy was: Peter can SSH to Griffin. We changed it to "Peter AND Griffin can ICMP to Griffin then we saved and it stopped working. 2. 400 peers would be affected.
Author
Owner

@thorleifjacobsen commented on GitHub (May 29, 2024):

bash-5.1# curl -H "Host: netbird.mydomain.net" localhost -v
*   Trying 127.0.0.1:80...
* Connected to localhost (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1
> Host: netbird.mydomain.net
> User-Agent: curl/8.0.1
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: nginx
< Date: Wed, 29 May 2024 13:09:42 GMT
< Content-Type: text/html
< Content-Length: 162
< Connection: keep-alive
< Location: https://netbird.mydomain.net/
<
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>

But curling "localhost" without domain shows the expected dashboard html data.

@thorleifjacobsen commented on GitHub (May 29, 2024): ```bash bash-5.1# curl -H "Host: netbird.mydomain.net" localhost -v * Trying 127.0.0.1:80... * Connected to localhost (127.0.0.1) port 80 (#0) > GET / HTTP/1.1 > Host: netbird.mydomain.net > User-Agent: curl/8.0.1 > Accept: */* > < HTTP/1.1 301 Moved Permanently < Server: nginx < Date: Wed, 29 May 2024 13:09:42 GMT < Content-Type: text/html < Content-Length: 162 < Connection: keep-alive < Location: https://netbird.mydomain.net/ < <html> <head><title>301 Moved Permanently</title></head> <body> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html> ``` But curling "localhost" without domain shows the expected dashboard html data.
Author
Owner

@thorleifjacobsen commented on GitHub (May 29, 2024):

I remove the bottom server block with the 404 and it started working again. Maybe this block should not be added? Why is it added?

@thorleifjacobsen commented on GitHub (May 29, 2024): I remove the bottom server block with the 404 and it started working again. Maybe this block should not be added? Why is it added?
Author
Owner

@mlsmaycon commented on GitHub (May 29, 2024):

@thorleifjacobsen which guide did you use? The quick start with Zitadel or one of the Advanced guides?

@mlsmaycon commented on GitHub (May 29, 2024): @thorleifjacobsen which guide did you use? The quick start with Zitadel or one of the Advanced guides?
Author
Owner

@thorleifjacobsen commented on GitHub (May 29, 2024):

I followed the docker compose guide with zitadel, manually removed zitadel for Keycloak.

It was running fine so not sure if dashboard have a cronjob or something altering the nginx config? Once I removed that server block everything worked perfectly. It might have come upon restart?

@thorleifjacobsen commented on GitHub (May 29, 2024): I followed the docker compose guide with zitadel, manually removed zitadel for Keycloak. It was running fine so not sure if dashboard have a cronjob or something altering the nginx config? Once I removed that server block everything worked perfectly. It might have come upon restart?
Author
Owner

@thorleifjacobsen commented on GitHub (May 30, 2024):

I am not sure but it seems like Letsencrypt added that redirect from port 80 to 443? not sure but if Caddy ofrwards 80 and 443 to "dashboard:80" as it seems and dashboard redirects any 80 to 443. Then we're in a loop of some kind? could there be a mix there. I think the original issue with changing the policy was something else, then since we restarted we got this bug with 301 redirect. So I'm focusing on that :)

@thorleifjacobsen commented on GitHub (May 30, 2024): I am not sure but it seems like Letsencrypt added that redirect from port 80 to 443? not sure but if Caddy ofrwards 80 and 443 to "dashboard:80" as it seems and dashboard redirects any 80 to 443. Then we're in a loop of some kind? could there be a mix there. I think the original issue with changing the policy was something else, then since we restarted we got this bug with 301 redirect. So I'm focusing on that :)
Author
Owner

@thorleifjacobsen commented on GitHub (Jun 11, 2024):

This happend again, did a pull and force recreate and the /etc/nginx/http.d/default.conf had this stupid redirect block added:

server {
    if ($host = netbird.mydomain.net) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


        listen 80 ;
        listen [::]:80 ;
    server_name netbird.mydomain.net;
    return 404; # managed by Certbot
}

Removed this, restarted Dashbaord and it works again. Why does this happen?

@thorleifjacobsen commented on GitHub (Jun 11, 2024): This happend again, did a pull and force recreate and the `/etc/nginx/http.d/default.conf` had this stupid redirect block added: ``` server { if ($host = netbird.mydomain.net) { return 301 https://$host$request_uri; } # managed by Certbot listen 80 ; listen [::]:80 ; server_name netbird.mydomain.net; return 404; # managed by Certbot } ``` Removed this, restarted Dashbaord and it works again. Why does this happen?
Author
Owner

@thorleifjacobsen commented on GitHub (Jun 27, 2024):

Any updates, did an upgrade again today to 28.3 and this block was once more added to the dashboard config. It seems to go into that block even with https:// so the redirect kicks in many times until browser stops it.

@thorleifjacobsen commented on GitHub (Jun 27, 2024): Any updates, did an upgrade again today to 28.3 and this block was once more added to the dashboard config. It seems to go into that block even with https:// so the redirect kicks in many times until browser stops it.
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

@thorleifjacobsen is this still an issue for you with the latest NetBird version?

@nazarewk commented on GitHub (Apr 23, 2025): @thorleifjacobsen is this still an issue for you with the latest NetBird version?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#941