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.

On Sat, Apr 11, 2020 at 4:25 PM Ian Michael <[email protected]> wrote:

> 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!
>
>
>
> --
> 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/b6f39dda-3d49-4b0e-8ee2-25cc92c05048%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/b6f39dda-3d49-4b0e-8ee2-25cc92c05048%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAERYH6UHHT6MtqsdfcCbdvGFcwquefhojwD40xD14iFO4Ziv2A%40mail.gmail.com.

Reply via email to