seerge / g-helper

Lightweight Armoury Crate alternative for Asus laptops and ROG Ally. Control tool for ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix, Scar and other models
https://seerge.github.io/g-helper/
GNU General Public License v3.0
7.49k stars 266 forks source link

blank updates page #2436

Closed FluXolo closed 6 months ago

FluXolo commented 6 months ago

Rules

What's wrong?

when clicking the updates tab to check for updates only says " no new updates " and the page is blank and all the drivers are gone. image

How to reproduce the bug?

  1. Go to Ghelper
  2. open updates tab.

Logs

log.txt

Device and Model

Asus TUF Gaming A15 FA507NV

Additional information.

No response

Armoury Crate

Installed

Asus Services

None

Version

0.165 & 0.166

OS

Windows 11 23H2

seerge commented 6 months ago

@FluXolo hello,

It's because G-Helper just takes data from asus API, and apparently it's either just malfunctioning or doesn't have any drivers for your model

https://rog.asus.com/support/webapi/product/GetPDDrivers?website=global&model=FA507NV&cpu=FA507NV&osid=52 https://rog.asus.com/support/webapi/product/GetPDBIOS?website=global&model=FA507NV&cpu=FA507NV

I can't fix anything on the app side, cause data is just not available unfortunately :|

P.S. Is that your reddit post ? :) cause model name is same https://www.reddit.com/r/Asustuf/comments/1c3snqa/why_is_my_the_drivers_and_software_in_ghelper_is/

seerge commented 6 months ago

@FluXolo actually seems like they changed API a bit .. try this build

GHelper.zip

nathancdy commented 6 months ago

@seerge might be related, my 2024 G14 BIOS section in Updates is blank, but the Drivers and Software section is normal.

seerge commented 6 months ago

@nathancdy blank in 0.165 ? or in 0.166 ?

nathancdy commented 6 months ago

@seerge 0.165, but also noticed on the ASUS Website on the Driver Support page for my model it has errors saying 'We don’t currently provide a software utility or drivers for this model.'

Edit: just noticed the notes for the 0.166 update, i'll check it out.

nathancdy commented 6 months ago

@seerge on 0.166 now, the Updates section is blank entirely. Refreshing doesn't make a difference as well. But my guess is because the ASUS Drivers page itself is having problems.

https://rog.asus.com/ca-en/laptops/rog-zephyrus/rog-zephyrus-g14-2024/helpdesk_download/

image

seerge commented 6 months ago

@nathancdy try this one

GHelper.zip

ASUS just seem to have some issues with their API that just responds nothing sometimes.

But I have noticed that if for cpu param in the url instead of sending a usual model name, you just send random string, or for example add couple of digits - it responds correctly.

Like https://rog.asus.com/support/webapi/product/GetPDBIOS?website=global&model=FA507NV&cpu=FA507NV - returns nothing

https://rog.asus.com/support/webapi/product/GetPDBIOS?website=global&model=FA507NV&cpu=FA507NV66 - returns correct data

So what app will try to do, in case of fail - send a second request with 2 random numbers in the end :) ...

I suspect they have some caching issues on the server.

If it still fails - you can just try to close / open Updates again (as next time random numbers will be different)

nathancdy commented 6 months ago

@seerge I'll wait until the Drivers section on the support page is fixed before trying that build. For my model, it either says it currently has no drivers for the model or the Drivers section is not there entirely. Pretty sure ASUS is just having API problems at the moment.

seerge commented 6 months ago

@nathancdy well .. how does that stop from trying the build ? :|

There is a good chance they won't fix it for a while ...

Just in case I have pushed this changes to 0.166 (as a fallback to get drivers if API fails to respond)

nathancdy commented 6 months ago

@seerge I just think it's because it's not an error related to GHelper directly but just on the side of ASUS with their API.

I did decide on trying the new build though and the Updates page is back to normal :)

FluXolo commented 6 months ago

@FluXolo hello,

It's because G-Helper just takes data from asus API, and apparently it's either just malfunctioning or doesn't have any drivers for your model

https://rog.asus.com/support/webapi/product/GetPDDrivers?website=global&model=FA507NV&cpu=FA507NV&osid=52 https://rog.asus.com/support/webapi/product/GetPDBIOS?website=global&model=FA507NV&cpu=FA507NV

I can't fix anything on the app side, cause data is just not available unfortunately :|

P.S. Is that your reddit post ? :) cause model name is same https://www.reddit.com/r/Asustuf/comments/1c3snqa/why_is_my_the_drivers_and_software_in_ghelper_is/

hey thanks for the fast answer, that is not my reddit post just a coincidence. Just tried the new build and the updates show after refreshing a couple times or sometimes instantly, thx again :)

seerge commented 6 months ago

@FluXolo ok, great.

As I have mentioned above, it seem to be some issues with Asus API. Cause it seem like event heir website sometimes doesn't return drivers / BIOS updates and sometimes does.

I hope they will fix that (as otherwise even website is malfunctioning)

Current tweak that I did should help as a fallback scenario. Closing as completed.