This is the curl request curl -s --connect-timeout 15 --max-time 30 -k --data backend=netjsonconfig.OpenWrt&key=5a9140a8e92ed6f168a818caaee09e05 --data-urlencode secret=ccGbrULI41UEpopcxqjiLklE3RHwSmp9 --data-urlencode name=AP_CISCO --data-urlencode hardware_id= --data-urlencode mac_address=00:18:0A:6A:79:93 --data-urlencode tags= --data-urlencode model=Meraki MR18 --data-urlencode os=OpenWrt 18.06.4 r7808-ef686b7292 --data-urlencode system=Qualcomm Atheros QCA9558 ver 1 rev 0 -i https://openwisp.planet.bn/controller/register/ > /tmp/openwisp/registration_parameters
*I also found a SYNTAX ERROR in /usr/sbin/openwisp_config: (line 138)* > local tags=$(uci get openwisp.http.tags 2&> /dev/null) > 2>&1 /dev/null or &> /dev/null ? Il giorno lunedì 12 agosto 2019 23:49:23 UTC+2, matteo fedeli ha scritto: > > ap conf > >> config controller 'http' >> option url 'https://openwisp.planet.bn/' >> option verify_ssl '0' >> option shared_secret 'ccGbrULI41UEpopcxqjiLklE3RHwSmp9' >> option consistent_key '1' >> option mac_interface 'eth0' >> option uuid '' >> option key '' >> > > > Il giorno lunedì 12 agosto 2019 23:47:05 UTC+2, matteo fedeli ha scritto: >> >> I reinstalled all openwisp controller and the nossl config in my ap. >> >> hosts >> >>> [openwisp2] >>> openwisp.planet.bn >>> >> >> playbook.yml >> >>> - hosts: openwisp.planet.bn >>> become: "{{ become | default('yes') }}" >>> roles: >>> - openwisp.openwisp2 >>> vars: >>> openwisp2_network_topology: true >>> openwisp2_default_from_email: "mym...@example.com" >>> >> >> >> cat /tmp/openwisp/registration_parameters >> HTTP/1.1 400 Bad Request >> Server: nginx/1.14.0 (Ubuntu) >> Date: Mon, 12 Aug 2019 21:36:06 GMT >> Content-Type: text/plain >> Content-Length: 81 >> Connection: keep-alive >> X-Openwisp-Controller: true >> X-Frame-Options: SAMEORIGIN >> >> { >> "name": [ >> "Must be either a valid hostname or mac address." >> ] >> } >> >> This is my situation now... The auto-registration in my organization is >> enabled >> Il giorno mercoledì 7 agosto 2019 20:58:32 UTC+2, matteo fedeli ha >> scritto: >>> >>> Hi, I trying to connect my openwrt AP (18.06.4) to my production server >>> but i get registration failed: >>> >>> logread -f | grep wisp >>>> Wed Aug 7 20:51:51 2019 daemon.info openwisp: OpenWISP config agent >>>> started >>>> Wed Aug 7 20:51:51 2019 daemon.info openwisp: Registering device... >>>> Wed Aug 7 20:51:52 2019 daemon.err openwisp: Registration failed! } >>>> >>> >>> this is my conf >>> >>> config controller 'http' >>>> option url 'https://openwisp.planet.bn' >>>> option verify_ssl '0' >>>> option shared_secret 'LtmFYB7mLszBMlwkaP2hsVOlIGcKfXvB' >>>> option uuid '' >>>> option key '' >>>> list unmanaged 'system.@led' >>>> list unmanaged 'network.loopback' >>>> list unmanaged 'network.@switch' >>>> list unmanaged 'network.@switch_vlan' >>>> >>> >>> What's the matter for you? >>> >> -- 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+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/b6116310-76d6-4642-8584-6d6d66fdccb1%40googlegroups.com.