-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Works exactly 1 time with MB8611 #32
Comments
Interesting. This works with my MB8611, but I am using it via Docker. The software version on my modem is 8611-19.2.18. Separately, the regular web interface will prevent logins, but this continues working in the background for days or weeks. |
Hmm. I’m on 8611-21.3.7. I wonder if they changed something. On Jan 10, 2023, at 2:45 PM, Chris Hollenbeck ***@***.***> wrote:
Interesting. This works with my MB8611, but I am using it via Docker. The software version on my modem is 8611-19.2.18.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
So far as I can tell, @hollec what version of Golang are you running? I'm using 1.19.4 on Ubuntu 22.04. Happy to try to reproduce with your version if it's different. |
I'm on a slightly older docker version via docker-compose and an .env file for authentication variables. version: "3.7"
services:
prometheus-moto-exporter:
container_name: prometheus-moto-exporter
image: ghcr.io/jahkeup/prometheus-moto-exporter:v1.0.0-rc2
restart: unless-stopped
ports:
- '9731:9731'
environment:
- MOTO_USERNAME
- MOTO_PASSWORD Adjusted .env file:
Container log snippet:
|
I wanted to pass along a heads-up that I've been rolled back to |
Sweet! I'd hoped that this would work against some other models, let's see what we can do to get the exporter working consistently.
If you were to run again later (after any lockout times out), does collection succeed only on the first attempt, followed by the failures? Or, after the first success case will all subsequent runs fail until your modem is reset?
You know, I saw something like during my initial testing when I would move between a reset/clean-state to configured by boot file from my ISP: some functionality would progressively lock down and become inaccessible. In my case, they were disabling SNMP access (which the MB8600 has but is blocked.. and is why I wrote this exporter!). So, I'd be suspicious of impending ISP policy changes that could be impacting login :( |
Thanks for following up @jahkeup and 👋🏻 fellow PNWer.
Under the newer I was downgraded back to the |
I'm experiencing the same thing on my MB 8600. The firmware version is 8600-21.3.3, and I'm using prometheus-moto-exporter from Docker on a Raspberry Pi. For what it's worth, earlier I was using https://github.com/uoodsq/moto (on a different machine, not in Docker), and that ran fine in continuous mode.
|
Hi @guusbosman - thanks for the added case and logs We'll probably need to get at the underlying HTTP requests and responses, and am wondering what's in the affected login and following collection requests+responses. Let me take a closer look this weekend and I'll come back with some diagnostics useful to address this. |
I'm seeing some oddities with Login response handling - in that there's not enough/any - that can present this issue. Now adding some trace logs to capture the underlying request and responses to help distinguish the case :) |
I'm happy to give it a try with the codebase with added logging, if you
could point me in the right direction of where to find the right branch.
…On Sun, Dec 10, 2023, 11:13 PM Jacob Vallejo ***@***.***> wrote:
I'm seeing some oddities with Login response handling - in that there's
not enough/any - that can present this issue. Now adding some trace logs to
capture the underlying request and responses to help distinguish the case :)
—
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE44SWOWFWL2RKBWUH22KTYI2B6NAVCNFSM6AAAAAATUXHFOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGI4TMNJXGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Found this and thought it'd be useful to put against my MB8611. What I'm seeing is that the first collection works fine, but subsequent collections fail until "no response" is given. That correlates with a lockout from invalid login attempts, so working back further, the EOFs are invalid logins.
I'm not well-versed enough in Golang to be able to answer this myself adequately, but I was able to produce a case where this stops being an issue: killing and restarting the exporter after the first metrics gather:
Thoughts?
The text was updated successfully, but these errors were encountered: