openwisp: Failed to retrieve checksum HTTP/1.1 404 Not Found

63 views
Skip to first unread message

Ian Michael

unread,
Apr 11, 2020, 5:25:08 PM4/11/20
to OpenWISP
Hello,

I'm trying issue this command in my OpenWRT instance:

/etc/init.d/openwisp_config start


I get this right after it : "openwisp: OpenWISP config agent started"


But when I go to the openWisp console https://192.168.56.5/, I don't see the device registered.


The 'logread' logs show this:


daemon.err openwisp: Failed to retrieve checksum: HTTP/1.1 404 Not Found


Of course, this means my OpenWisp HTTP URL is wrong.   The problem is, it is correct.   Here is my config:


vi /etc/config/openwisp


config controller 'http'

        option url 'https://192.168.56.5/'

        option verify_ssl '0'

        list unmanaged 'system.@led'

        list unmanaged 'network.loopback'

        list unmanaged 'network.@switch'

        list unmanaged 'network.@switch_vlan'

        option uuid '43780453c0d74c7aa0135b70059082cd'

        option key '271b5a384dcf15d5f2f0160e45bf705c'


When I first entered this config it had a shared_secret which I got from the default organization profile in openwisp.   Somehow it's been updated to a uuid / key.  What process does that?  


Any idea why I am getting the 404?  


Thanks!



Federico Capoano

unread,
Apr 11, 2020, 5:43:54 PM4/11/20
to OpenWISP
Can you please try the following?

Delete the device in OpenWISP.

Remove the uuid and key, add back the shared_secret config option.

Run:

/etc/init.d/openwisp_config restart; logread -f

Can you send the logged output while the device registers please?

It's openwisp-config which adds the uuid and key.

--
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 openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/b6f39dda-3d49-4b0e-8ee2-25cc92c05048%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages