Comments (5)
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.
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.
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.
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.
Fresh Installation with DB backup worked fine
from ansible-openwisp2.
Related Issues (20)
- USER NOTIFICATION SETTINGS HOT 3
- [change] Allow installing development version of OpenWISP (23 alpha)
- Installing openwisp2 on localhost using kali: fatal: [localhost]: FAILED! => {" changed": false, "msg": "Failed, to update apt cache: E: The repository 'https://repos.influxdata.com/kali kali-rolling Release' does not have a Release file."'} HOT 2
- FAILED! => {"changed": false, "msg": "Failed to update apt cache: E:The repository 'https://repos.influxdata.com/ubuntu lunar Release' does not have a Release file."} HOT 4
- [change] Drop support for Ubuntu 18.04 and Debian 10
- CSRF issues HOT 4
- Internal server Error HOT 1
- Nginx startup fails on server with existing reverse proxy HOT 1
- [docs] Update galaxy badges
- [feature] Add password expiration settings and celery task
- [feature] Consent mechanism for clean insisghts statistics HOT 1
- [ci] Ansible-galaxy import step fails HOT 2
- authorize the NAS from Openwisp DB HOT 1
- [feature] Implement __openwisp_version__
- Installation of openwisp2 fails (workaround provided)
- [feature] Allow deploying WPA Enterprise 2 TTLS-PAP
- [change] Update "delete_old_users" to "delete_old_radiusbatch_users" HOT 2
- [change] Support Debian 12 HOT 2
- openwisp.openwisp2 (22.5.3) install error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-openwisp2.