Hi,

I replied to this same question on github:
https://github.com/openwisp/ansible-openwisp2/issues/202#issuecomment-682027532

F.

On Thu, Aug 27, 2020 at 1:35 AM Matthew Firth <[email protected]> wrote:

>
> This problem occurs in both Debian 10 and Ubuntu 18.04
>
> Not doing anything fancy just attempting a plain vanilla install.
>
> Any help would be appreciated
>
> Using a plain playbook:
>
> - hosts: openwisp2
>   become: "{{ become | default('yes') }}"
>   roles:
>     - openwisp.openwisp2
>   vars:
>     openwisp2_default_from_email: "[email protected]"
>
> with this in the hosts: with my url
>
> [openwisp2]
> openwisp2.mydomain.com
>
> And successfully running
>
> ansible-playbook -i hosts playbook.yml -u ansible -k --become -K
>
> The admin page produces a 502 Bad gateway
>
> The nginx error log produces:
>
> 2020/08/27 06:25:54 [error] 15584#15584: *9 connect() failed (111:
> Connection refused) while connecting to upstream, client: 47.32.121.71,
> server: myhost.com, request: "GET /admin HTTP/1.1", upstream: "uwsgi://
> 127.0.0.1:3031", host: "myhost.com"
>
> --
> 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/972389d7-c245-4017-8f42-14fa88b980acn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/972389d7-c245-4017-8f42-14fa88b980acn%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/CAERYH6WkBgJLfLw-cM%2BOMbFaY8122fdJfb_Xskm5KoK-A1dhAw%40mail.gmail.com.

Reply via email to