"Unable to deactivated authorizations"

Hi,

I have been using Caddy for a few weeks sucessfully.
Recently, I tried to add a new subdomain to the bottom of Caddyfile (motioneye), but I am getting an error (see screenshot). If I remove the new subdomain eveything works.
I am using Cloudflare for DNS, and everything is set up exactly the same for this subdomain as it is for the others.

CaddyFile:

website.address {
    basicauth / username password
}

qbittorrent.website.address {
	basicauth / username password
    	proxy / 192.168.1.119:1345 {
        	websocket
        	transparent
    	}
}


booksonic.website.address {
    	proxy / localhost:4040 {
        header_upstream    X-Forwarded-Ssl    on
        header_upstream    X-Scheme           {scheme}
        header_upstream    X-Forwarded-Proto  {scheme}
        transparent
        websocket
    	}
}

lazylibrarian.website.address {
	basicauth / username password
    	proxy / localhost:5299 {
        	websocket
        	transparent
    	}
}

nzbhydra.website.address {
	basicauth / username password
    	proxy / localhost:5075 {
        	websocket
        	transparent
    	}
}

radarr.website.address {
	basicauth / username password
    	proxy / localhost:7878 {
        	websocket
        	transparent
    	}
}

sonarr.website.address {
	basicauth / username password
    	proxy / localhost:8989 {
        	websocket
        	transparent
    	}
}

sab.website.address {
	basicauth / username password
    	proxy / localhost:8080 {
        	websocket
        	transparent
    	}
}


jackett.website.address {
	basicauth / username password
    	proxy / localhost:9117 {
        	websocket
        	transparent
    	}
}

motioneye.website.address {
	basicauth / username password
    	proxy / 192.168.1.126:8081 {
        	websocket
        	transparent
    	}

}

That error is from an upstream library called lego and I’ve seen it too, and I think it is benign but I’d have to look into it more to be sure…

Hi Matt,
Caddy.exe simply closes after trying a number of times, so I have to remove the new subdomain if I want the web server to be set up with the other subdomains.

Please paste the full and unmodified log here and we can look into it.

Where would the log be in Windows?
I’ve had a look, and tried adding “log” or “log C:\Caddy\Caddy.log”, but Caddy.exe closes instantly with these lines.

Hi Matt,

So I regestered a new domain for a couple of dollars and tried to set up the web server on that. However, the same error appeared even for the first subdomain.

I then added this to each subdomain:
tls { dns cloudflare }

Everything now works. I’m not sure what changed between the original certificate creation and now, but it originally worked without “dns cloudflare”. Now it seems to require it. Perhaps some of the certificates already existed because I first used NGINX.

Anyway, thanks.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.