Tue May 5 21:31:05 2020 daemon.err openwisp: Failed to connect to controller during registration: curl exit code 7
Can your device reach the controller IP you provided? try ping commads to be sure a complete list of curl errors can be found here <https://curl.haxx.se/libcurl/c/libcurl-errors.html>. exit code 7 translates into 'failed to connect to host'. Looks like something wrong with your network setup. Em ter., 5 de mai. de 2020 às 15:35, khan muhammad farooq < [email protected]> escreveu: > my openwisp config > nano /etc/config/openwisp > > > # For more information about the config options please see the README > # or https://github.com/openwisp/openwisp-config#configuration-options > > config controller 'http' > option url 'https://10.36.190.1' > #option interval '120' > #option verify_ssl '0' > option shared_secret 'mysecret' > #option consistent_key '0' > option mac_interface 'eth0' > #option merge_config '1' > #option test_config '1' > #option test_script '/usr/sbin/mytest' > #option uuid '' > #option key '' > list unmanaged 'system.@led' > list unmanaged 'network.loopback' > list unmanaged 'network.@switch' > list unmanaged 'network.@switch_vlan' > # curl options > #option connect_timeout '15' > #option max_time '30' > #option capath '/etc/ssl/certs' > > > error > > Tue May 5 21:31:04 2020 daemon.info openwisp: OpenWISP config agent > started > Tue May 5 21:31:05 2020 daemon.info openwisp: Registering device... > Tue May 5 21:31:05 2020 daemon.err openwisp: Failed to connect to > controller during registration: curl exit code 7 > > > > > -- > 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/c03eca72-c0ef-4b42-bf80-a13e195488f1%40googlegroups.com > <https://groups.google.com/d/msgid/openwisp/c03eca72-c0ef-4b42-bf80-a13e195488f1%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/CAO5jQiaW3W20K2ASdfKbbrEbh-tsTXDzfN9zpUL%3D3EX_rcHwZw%40mail.gmail.com.
