Comments (3)
That most likely happens due to DNS resolution failure in multiping (that is happening before self._sock is defined) but del is called always... This should be detected as network error by netkeeper (with is most likely is) so that is not the issue.
from huawei-lte-api.
Hmmi have no idea what is causing this for you, i never had any issues while running netkeeper... (if i understand you correctly, your connection goes bananas when you do ~5 "i'm online" checks?) Those online checks does not have anything to do with the modem... netkeeper is using ping, your script is using http check... maybe it is caused by something else and this is just coincidence? IDK sounds weird...
from huawei-lte-api.
Okay. Thank you. I've found out that I get the following error in with netkeeper:
* netkeeper.service - Netkeeper Service
Loaded: loaded (/lib/systemd/system/netkeeper.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2024-05-04 20:46:12 UTC; 18min ago
Main PID: 26701 (netkeeper)
Tasks: 1 (limit: 38293)
Memory: 20.5M
CPU: 365ms
CGroup: /system.slice/netkeeper.service
`-26701 /usr/bin/python3 /usr/bin/netkeeper run --config_prod --log_dir /var/log
May 04 20:53:28 netkeeper netkeeper[26701]: Loading config from /etc/netkeeper/config.yml
May 04 20:53:28 netkeeper netkeeper[26701]: W0504 20:53:28.733 26701 netkeeper.py:282] Connection error rate reached threshold
May 04 20:53:28 netkeeper netkeeper[26701]: W0504 20:53:28.933 26701 netkeeper.py:294] Modem thinks its connected, sleeping for 1 minute...
May 04 21:03:55 netkeeper netkeeper[26701]: Exception ignored in: <function MultiPing.__del__ at 0x7f89d4003760>
May 04 21:03:55 netkeeper netkeeper[26701]: Traceback (most recent call last):
May 04 21:03:55 netkeeper netkeeper[26701]: File "/usr/lib/python3/dist-packages/netkeeper/ext/multiping.py", line 472, in __del__
May 04 21:03:55 netkeeper netkeeper[26701]: self._sock.close()
May 04 21:03:55 netkeeper netkeeper[26701]: AttributeError: 'MultiPing' object has no attribute '_sock'
May 04 21:03:55 netkeeper netkeeper[26701]: W0504 21:03:55.957 26701 netkeeper.py:282] Connection error rate reached threshold
May 04 21:03:56 netkeeper netkeeper[26701]: W0504 21:03:56.157 26701 netkeeper.py:294] Modem thinks its connected, sleeping for 1 minute...```
from huawei-lte-api.
Related Issues (20)
- Issues with multi-part SMS messages (Type 2) HOT 9
- Disabling automatic online updates HOT 3
- Quicksetup HOT 5
- Disabling IPv6 HOT 2
- Can't connect to my modem HOT 4
- Unable to connect to Huawei B535-333 with the error 125003 (Wrong token)
- Toggle VPN status HOT 7
- Can't enable telnet on device HOT 1
- Huawei E8231 also work HOT 1
- Error: 113004 HOT 1
- I ran the example but didn't work HOT 6
- Ping example?
- ussd request example HOT 10
- Accessing device remotely HOT 2
- How to make a basic mac filter ? HOT 10
- E3372 CL1E3372SM Ver.A api doesn't work HOT 4
- Change IP request HOT 1
- huawei_lte_api.exceptions.ResponseErrorException: 9003: Unknown HOT 3
- Support for E5172 LTE Router HOT 3
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 huawei-lte-api.