Giter Club home page Giter Club logo

Comments (3)

Salamek avatar Salamek commented on September 23, 2024 1

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.

Salamek avatar Salamek commented on September 23, 2024

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.

KevinRoebert avatar KevinRoebert commented on September 23, 2024

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)

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.