What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

AdGuardHome AGH not working on new firmware 3006

I get this info in return
That’s not the full expected download size.
How about:
Code:
curl --stderr /tmp/curlerrors.txt -D /tmp/headers.out --retry 3 --connect-timeout 3 --retry-delay 1 --max-time 15 --retry-connrefused -L https://api.github.com/repos/AdguardTeam/AdGuardHome/releases
 
HTTP/1.1 403 rate limit exceeded
Date: Wed, 09 Jul 2025 19:11:00 GMT
Server: Varnish
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-RateLimit-Used, X-RateLimit-Resource, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset
Content-Type: application/json; charset=utf-8
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
X-GitHub-Media-Type: github.v3; format=json
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1752090548
X-RateLimit-Resource: core
X-RateLimit-Used: 60
Content-Length: 278
X-GitHub-Request-Id: BECE:21F96E:25878E7:266428E:686EBEC3
 
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1752090548
X-RateLimit-Resource: core
X-RateLimit-Used: 60
So it means one way or another you already used 60 queries in an hour, and can try again in about 25 minutes based on the reset time in epoch seconds.
 
Thank you, I will do so. Can you explain how I have used this 60 queries?
No, that’s the big mystery. Unless there’s another application on your LAN also querying the github API, and appearing to come from your WAN IP.
 
The one shared by SomeWhereOverTheRainBow

I tried every 15-20 minutes and was lucky after 3 or 4 attempts.
I was able to run this above and everything seems to be fine now. It did say I was on 1.8.1 when I ran the above command. Not sure why as it seemed to update some files.
 
No, that’s the big mystery. Unless there’s another application on your LAN also querying the github API, and appearing to come from your WAN IP.
If he is on CGNAT and other people have the same public facing IP address it can cause this issue. And it doesnt matter what part of github api they are trying to use.
 
If he is on CGNAT and other people have the same public facing IP address it can cause this issue. And it doesnt matter what part of github api they are trying to use.
The IP he reported in the ratelimit post #62 (now redacted) matched his actual WAN IP on the router, so it wouldn’t be a CGNAT scenario.
 
I was manage to get it done, after waiting for 1 hour
I just released an update. Part of the problem for the ratelimiting could be caused by AMTM's checking method. I have no clue how many times AMTM is trying to access AGH version. @dave14305 found an issue inside the AGH module file. On another note, I have just significantly reduced the amount of times the installer script will check for versions from the Github API. My next step will be to check out access tokens.

Release v1.8.2

changelog
 
There could be clues in the /jffs/curllst files.
Code:
grep -A1 curl.*api\.github\.com /jffs/curllst*
So I have reduced the amount of the .json I pull by adding "?per_page=3" to the end of the url.

curl --retry 3 --connect-timeout 3 --retry-delay 1 --max-time $((3 * 5)) --retry-connrefused -sL "${LATEST_URL}?per_page=3" -o "${API_FILE}"

Now I download it to a temporary file, and only parse the versions from the temporary file.
 
@Stephen Harrington @Apul @bluzfanmr1 @saison2023 @jsbeddow
Sorry to ping all of you, but you have been providing good feed back on this ongoing issue. I have just released v1.8.2. When you have the time, please let me know how it goes upgrading. Do not try it from AMTM menu. That is a different issue that must be resolved before I would recommend using the "ag" command. Instead, use the terminal command line with the installation command I have provided.

curl -L -s -k -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer

If you experience any problems performing the upgrade, please do as @dave14305 has mentioned. run grep -A1 curl.*api\.github\.com /jffs/curllst* in the terminal command line. Report the output back here. Please redact any IP addresses.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top