<div dir="ltr"><div>Hey all,</div><div><br></div><div>I`m trying to do a new install of Stork server for my Kea setup.</div><div><br></div><div>I have Kea running and the Stork server running as a docker container on the same machine. I configured the agent.env and the server popped up for authorization, it seemed to have issues collecting data from the machine so I deleted and and was going to try again, only I cant get it to show up in the unauthorized machines anymore. My first though was maybe there is an issue with my .env file but, I have tried multiple combinations and just can't get it working.</div><div><br></div><div>My env file file is:</div><div><br></div><div># address to bind ie. for listening<br> STORK_AGENT_ADDRESS=0.0.0.0<br> STORK_AGENT_PORT=8080<br><br># enable Stork functionality only, i.e. disable Prometheus exporters<br> STORK_AGENT_LISTEN_STORK_ONLY=false<br><br># enable Prometheus exporters only, i.e. disable Stork functionality<br> STORK_AGENT_LISTEN_PROMETHEUS_ONLY=false<br><br># settings for exporting stats to Prometheus<br> #STORK_AGENT_PROMETHEUS_KEA_EXPORTER_ADDRESS=127.0.0.1<br> #STORK_AGENT_PROMETHEUS_KEA_EXPORTER_PORT=9547<br> #STORK_AGENT_PROMETHEUS_KEA_EXPORTER_INTERVAL=10<br> #STORK_AGENT_PROMETHEUS_BIND9_EXPORTER_ADDRESS=127.0.0.1<br> #STORK_AGENT_PROMETHEUS_BIND9_EXPORTER_PORT=9119<br> #STORK_AGENT_PROMETHEUS_BIND9_EXPORTER_INTERVAL=10<br><br># this is used when agent is automatically registered in Stork server<br> STORK_AGENT_SERVER_URL=<a href="http://192.168.0.23">http://192.168.0.23</a><br> STORK_AGENT_ADDRESS=192.168.0.23</div><div><br></div><div>I have done a default install. I havnt changed any of the default ports during the installation so, it should be a simple task of adding what's in the guide. Another thing I considered was in earlier versions there was a server.env file for database connections. I know there is a progress container it must use but does it need an external database before working correctly. also tried restarting the agent service multiple times and each time I see the token as below so the agent seems to be working:</div><div><br></div><div>● isc-stork-agent.service - ISC Stork Agent<br>     Loaded: loaded (/lib/systemd/system/isc-stork-agent.service; enabled; vendor preset: enabled)<br>     Active: active (running) since Fri 2021-09-17 10:55:32 UTC; 4s ago<br>       Docs: man:stork-agent(8)<br>   Main PID: 2436590 (stork-agent)<br>      Tasks: 8 (limit: 2189)<br>     Memory: 3.4M<br>     CGroup: /system.slice/isc-stork-agent.service<br>             └─2436590 /usr/bin/stork-agent<br><br>Sep 17 10:55:32 docker systemd[1]: Started ISC Stork Agent.<br>Sep 17 10:55:32 docker stork-agent[2436590]: INFO[2021-09-17 10:55:32]             main.go:23    Starting Stork Agent, version 0.20.0, build date 2021-09-08 08:57<br>Sep 17 10:55:32 docker stork-agent[2436590]: INFO[2021-09-17 10:55:32]         register.go:169   loaded existing agent key and generated CSR<br>Sep 17 10:55:32 docker stork-agent[2436590]: INFO[2021-09-17 10:55:32]         register.go:439   =============================================================================<br>Sep 17 10:55:32 docker stork-agent[2436590]: INFO[2021-09-17 10:55:32]         register.go:440   AGENT TOKEN: 1012AB5A7F86487D7BC9490D3A6B7938CB0368665F9BB153DB617F58ED6D64EB<br>Sep 17 10:55:32 docker stork-agent[2436590]: INFO[2021-09-17 10:55:32]         register.go:441   =============================================================================<br>Sep 17 10:55:32 docker stork-agent[2436590]: INFO[2021-09-17 10:55:32]         register.go:444   authorize machine in Stork web UI<br>Sep 17 10:55:32 docker stork-agent[2436590]: INFO[2021-09-17 10:55:32]         register.go:458   try to register agent in Stork server<br>Sep 17 10:55:32 docker stork-agent[2436590]: INFO[2021-09-17 10:55:32]         register.go:220   sleeping for 10 seconds before next registration attempt</div><div><br></div><div>Can anyone help I have pretty much run out of idea and searching the web so far has come up with no suggestions</div><div><br></div><div>Thanks<br></div></div>