Hello Everyone, I have installed openwisp.openwisp2 using ansible-openwisp2 and this is the response I get from the Openwisp2 when I send the registration request. My server is located at 192.168.1.20 and clients at 192.168.1.1/24
root@lede:~# curl -s --connect-timeout 15 --max-time 30 -k -i --data "secret=XXXXX&name=9C:65:F9:1B:63:1A&backend=netjsonconfig.OpenWrt&mac_address=9C:65:F9:1B:63:1A&key=4d46a c046b0d8f7350b82c53c2fe6a2a" https://192.168.1.20/controller/register/ HTTP/1.1 403 Forbidden Server: nginx/1.4.6 (Ubuntu) Date: Mon, 10 Apr 2017 16:04:39 GMT Content-Type: text/plain Transfer-Encoding: chunked Connection: keep-alive X-Openwisp-Controller: true X-Frame-Options: SAMEORIGIN Also when i try to save the user and email field in the Users section after initial login it gives me Internal server 500 here is the error.log for the same: 2017/04/10 15:02:06 [error] 11099#0: *20 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.42, server: 192.168.1.20, request: "POST /admin/openwisp_users/user/32b76742-882d-43dd-add6-19fb84059abe/change/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:3031", host: "192.168.1.20", referrer: "https://192.168.1.20/admin/openwisp_users/user/32b76742-882d-43dd-add6-19fb84059abe/change/" 2017/04/10 15:14:57 [error] 11099#0: *49 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.42, server: 192.168.1.20, request: "POST /admin/openwisp_users/user/32b76742-882d-43dd-add6-19fb84059abe/change/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:3031", host: "192.168.1.20", referrer: "https://192.168.1.20/admin/openwisp_users/user/32b76742-882d-43dd-add6-19fb84059abe/change/" 2017/04/10 16:14:39 [error] 11099#0: *114 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.42, server: 192.168.1.20, request: "POST /admin/openwisp_users/user/32b76742-882d-43dd-add6-19fb84059abe/change/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:3031", host: "192.168.1.20", referrer: "https://192.168.1.20/admin/openwisp_users/user/32b76742-882d-43dd-add6-19fb84059abe/change/" Best, Vivian -- 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]. For more options, visit https://groups.google.com/d/optout.
