Giter Club home page Giter Club logo

Comments (5)

beadon avatar beadon commented on August 16, 2024

the UUID of the server probably(?) changed , the /boot directory will have some unique characteristics -- to move the VM I recommend duplicating the entire storage device, this rsync seems risky.

from ansible-openwisp2.

momothefox avatar momothefox commented on August 16, 2024

Thank you for your suggestions @beadon . but note that i do not have access for physical machines on both Datacenters
This is number 1

Number 2 : Devices which are already registered some of them is showing online (OK) and the rest are showing offline (Critical) No ping. (which is not correct in most cases)

Number 3 : if i reseted a device to factory setting, device gets reregister it self on the server but Monitoring status dose not change.

Number 4 : If a new Device register to the server. it is functioning as expected correctly.

from ansible-openwisp2.

momothefox avatar momothefox commented on August 16, 2024

i think api server is not running.

root@wisp:~# curl http://localhost:8000/api/v1/docs/
curl: (7) Failed to connect to localhost port 8000: Connection refused
root@wisp:~# GET http://localhost:8000/api/v1/docs/
Can't connect to localhost:8000 (Connection refused)

Connection refused at /usr/share/perl5/LWP/Protocol/http.pm line 50.

from ansible-openwisp2.

momothefox avatar momothefox commented on August 16, 2024

part of /opt/openwisp2/log/nginx.error.log

2023/09/08 19:35:25 [error] 195345#195345: *838601 readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: x.x.com, request: "POST /api/v1/monitoring/device/UUID/?key=KEY&time=07-09-2023_11:02:52.000000 HTTP/1.1", upstream: "uwsgi://unix:///opt/openwisp2/uwsgi.sock:", host: "x.x.com"
2023/09/08 19:35:26 [error] 195345#195345: *838606 readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: x.x.com, request: "POST /api/v1/monitoring/device/UUID/?key=KEY&time=07-09-2023_12:48:38.000000 HTTP/1.1", upstream: "uwsgi://unix:///opt/openwisp2/uwsgi.sock:", host: "x.x.com"
2023/09/08 19:35:26 [error] 195345#195345: *838610 readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: x.x.com, request: "POST /api/v1/monitoring/device/UUID/?key=KEY&time=04-09-2023_12:56:39.000000 HTTP/1.1", upstream: "uwsgi://unix:///opt/openwisp2/uwsgi.sock:", host: "x.x.com"
2023/09/08 19:35:27 [error] 195345#195345: *838616 readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: x.x.com, request: "POST /api/v1/monitoring/device/UUID/?key=KEY&time=07-09-2023_16:22:30.000000 HTTP/1.1", upstream: "uwsgi://unix:///opt/openwisp2/uwsgi.sock:", host: "x.x.com"
2023/09/08 19:35:27 [error] 195345#195345: *838618 readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: x.x.com, request: "POST /api/v1/monitoring/device/UUID/?key=KEY&time=08-09-2023_08:35:05.000000 HTTP/1.1", upstream: "uwsgi://unix:///opt/openwisp2/uwsgi.sock:", host: "x.x.com"
2023/09/08 19:35:28 [error] 195345#195345: *838625 readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: x.x.com, request: "POST /api/v1/monitoring/device/UUID/?key=KEY&time=07-09-2023_11:02:52.000000 HTTP/1.1", upstream: "uwsgi://unix:///opt/openwisp2/uwsgi.sock:", host: "x.x.com"
2023/09/08 19:35:28 [error] 195345#195345: *838627 readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: x.x.com, request: "POST /api/v1/monitoring/device/UUID/?key=KEY&time=07-09-2023_12:48:38.000000 HTTP/1.1", upstream: "uwsgi://unix:///opt/openwisp2/uwsgi.sock:", host: "x.x.com"

from ansible-openwisp2.

momothefox avatar momothefox commented on August 16, 2024

Fresh Installation with DB backup worked fine

from ansible-openwisp2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.