Hello, I've installed the openwisp agent on a router. And I've installed the openwisp controller on a VirtualBox using the Ansible installation. Now I've configured the agent to automatically register to the controller. But the agent fails in connecting to the controller. Here is the end of the `logread` command: ``` Tue Feb 16 16:42:00 2021 daemon.info openwisp: OpenWISP config agent started Tue Feb 16 16:42:00 2021 daemon.info openwisp: Registering device... Tue Feb 16 16:42:01 2021 daemon.err openwisp: Invalid url: missing X-Openwisp-Controller header Tue Feb 16 16:42:01 2021 daemon.info procd: Instance openwisp_config::instance1 s in a crash loop 7 crashes, 0 seconds since last crash ```
The agent complains the X-Openwisp-Controller header is missing. Here is the content of the registration_parameter file: ``` root@OpenWrt:~# cat /tmp/openwisp/registration_parameters HTTP/1.1 404 Not Found Server: nginx/1.14.2 Date: Fri, 16 Jul 2021 14:48:06 GMT Content-Type: text/html Content-Length: 169 Connection: keep-alive <html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.14.2</center> </body> </html> ``` It returns a 404 error. Does anyone have an idea? Is there any information on the controller side I can use to solve this issue? Regards Yves -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/a75d6869-4f2d-4632-9b03-7afccd9556f4n%40googlegroups.com.
