Seeing some weird logs in my self-hosted kratos in...
# talk-kratos
c
Seeing some weird logs in my self-hosted kratos instance logs. Requests to the instance are timing out, and I see this weird entry in the logs:
Copy code
method:GET path:/admin query:<nil> remote:10.1.20.24:17550 scheme:http] http_response=map[headers:map[content-type:text/html; charset=utf-8 location:/admin] size:42 status:307 text_status:Temporary Redirect took:10h1m26.765712278s]
Temporary redirect took 10h??? I see several of these and they seem to be hanging up instance.
p
Hey @clean-waitress-5775 this looks strange. i will investigate it tomorrow
c
My working theory: I had made some updates to the config / the infra, and ended up with a mismatch between the DNS record pointing to the kratos server, and the domain name defined in the kratos config. For example, the DNS record pointing to my server was identity.mydomain.com, while the config had the domain defined as kratos.mydomain.com. This difference seemed to have caused some sort of bug, that caused the whole server to become almost unresponsive. I wasn't even able to restart or stop the container; the command would just hang. I launched a new server with the fixed config and haven't seen any issues.