GithubHelp home page GithubHelp logo

Comments (6)

sberk42 avatar sberk42 commented on May 4, 2024

I've experience similar issues, when a fritzbox OS update is applied, afterwards I need to restart the exporter to get lua to work again. so I guess it is somehow related to when the exporter is unable to reach the fritzbox.

however so far I did not manage to reproduce the issue (without upgrade), to find out where it is coming from. do you have a way to reliable reproduce it? I could then add some more debug output to the lua_client to see where the issue is coming from.

from fritzbox_exporter.

olmo1501 avatar olmo1501 commented on May 4, 2024

I have stumbled upon this issue when playing around with the Wireguard-feature currently available via "Fritz! Labor". I have made the following observations:

  • Losing IP connectivity to the Fritzbox: no problem after connectivity has been restored
  • Firmware-Update: "hash '' has no element 'data'"
  • Reboot: "hash '' has no element 'data'"

So my assumption would be that renewing the SID after the Fritzbox has been rebooted doesn't work as expected. Fritzbox log keeps telling exactly this: "ungültige Sitzungskennung"

from fritzbox_exporter.

sberk42 avatar sberk42 commented on May 4, 2024

do you know the http code you received?
SID renewal was only done if 403 (forbidden) was returned - maybe the code is different after reboot.

I just pushed a change to always renew the SID in case of an error - maybe this helps in this case

from fritzbox_exporter.

olmo1501 avatar olmo1501 commented on May 4, 2024

Sorry for taking so long to get back to this topic

No joy, still "hash '' has no element 'data'"

Does the http code get logged somewhere?

from fritzbox_exporter.

sberk42 avatar sberk42 commented on May 4, 2024

strange, I checked again but it looks this can only happen if the call was successful, but somehow the returned json was not as expected

I now added support to do a reauthentication whenever something goes wrong with the metric collection

let's see what now happens

from fritzbox_exporter.

olmo1501 avatar olmo1501 commented on May 4, 2024

I just found some time to test: Problem still persists.

from fritzbox_exporter.

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.