I have recently installed both the Team City Server and a Team City Agent, on my personal Synology NAS, via a docker image. The docker container on the Synology software didn't allow for installing via a command line. Instead it had a install wizard instead, where you could add environment variables. Therefore, I have added the SERVER_URL, that way and can confirm that the agent is finding the url for the server. However, when attempting to setup the agent, I am getting a java.net.ConnectException, when the agent attempts to cal <url>/app/agents/protocols. There's no real explanation beyond that, and the stack just states enable debug for the full stack trace.
Has anyone else, installed team city and an agent successfully on their Synology NAS this way and got this error, then resolved it? Also how would I enable debug for this?
Any help would be greatfully appreciated.
Full error message
[2023-03-14 00:00:58,440] WARN - buildServer.AGENT.registration - Error while asking server for the communication protocols via URL https://<SERVER_URL>:<Port Number>/app/agents/protocols. Will try later: java.net.ConnectException: Connection refused (Connection refused) (enable debug to see stacktrace)