NET::ERR_CERT_AUTHORITY_INVALID
When trying to connect a domain to a nextjs site, i usually get a https error when visiting it. It says NET::ERR_CERT_AUTHORITY_INVALID
How can i solve it? I've tried removing and readding the domain multiple times. It's only nextjs sites that fails like this
23 Replies
can you please go to settings -> traefik and click on view logs and pass me the logs
Cant post all but the latest log say this a lot
Also see this
Ok this was known issue https://github.com/Dokploy/dokploy/issues/38, i guess there are some application that doesnt have any domains? if so please go to the application -> advanced scroll down and modify the traefik config and just simply edit and delete all, and then reload the traefik
GitHub
Issues · Dokploy/dokploy
Open Source Alternative to Vercel, Netlify and Heroku. - Issues · Dokploy/dokploy
this bug is already fixed in the newest version so if you still have the errors you need to fix manually by removing the cleaning the traefik config
I'll try the latest version and see if it fixes it but all my applications in all my projects have at least 1 domain
I run multiple bun elysia backends that all work fine, i have one nextjs site at a subdomain that works but my nextjs sites that use a domain without subdomain both have the same problem
Hmm really weird, can you go to Traefik file system and check all the app-files and check if there are some file that doesn’t have any domain?
how do i do that?
Go to the main screen and you will see 4 tabs Projects, monitoring, traefik file system and settings
Click on traefik file system and there will be a file system
Ah ok, yeah all the
app-*
files have a rule: Host(
example.domain.com) && PathPrefix(
/)
rowdid you point the A record to the ip of vps?
yess
also what vps provider are you using?
just realized that both my apps in the same project use localhost:3000 and the backend works there, should i point one to another port or doesnt it matter?
Digitalocean
Ok did you touched/added something to the advanced tab -> ports?
Nah no ports configured in the advanced tab
could you try to reload traefik? or is the same result?
oh i get
error to reload traefik
Ok, can you check the Server button and see the logs?
Ok everything looks good, can you please give me access to the server to see what's wrong?
can you try to run this comand
docker service logs dokploy-traefik
Haha sure, how do i do it the best way possible? Should i invite you as a new user?
I guess only with my public key is enough to add to DO
let's chat via dm
👍