DavidoTek / ProtonUp-Qt

Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface.
https://davidotek.github.io/protonup-qt
GNU General Public License v3.0
1.22k stars 40 forks source link

Cannot see versions of protonGE and others #189

Closed thefunkygibbon closed 1 year ago

thefunkygibbon commented 1 year ago

Running on 2.7.7, Not used it for a few weeks but now I've come to use it and it shows me that I have ge-proton7-43 installed and the easy cheat one. But if I go to add version it lists all the different tools but the version part has no drop down options (except steam-play-none which has the option of 'main').

I've rebooted etc but no dice. Any suggestions ? I'm assuming it must be just me as I can't find any other chat about this being an issue. Thanks in advance.

Running on latest beta version that is available for the deck on both OS and steam.

sonic2kk commented 1 year ago

Just tested from latest master and from Flatpak, everything's working fine here on my end. It sounds like this issue might be a network-related issue, perhaps for some reason it is unable to fetch information about the tags from GitHub.

If you go to https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases, do you see anything coming back?

You could try running ProtonUp-Qt from the command line, how you do that depends on how you installed it. If you used the Flatpak, you can run net.davidotek.pupgui2, if you used AppImage you can run the AppImage from the command line by going to the folder where it is installed from terminal and typing ./file_name_here. If you're running from source, you probably already know how to run it :-)

except steam-play-none which has the option of 'main'

What about SteamTinkerLaunch-git (you may need to enable advanced mode to see this)? Does it list its branches too? Just wondering if this could be an issue with tools that use tags specifically.


ProtonUp-Qt does display a warning if the GitHub API limit is reached, but perhaps there is some other issue here.

Does this only affect your Steam Deck or does this happen on your Linux Desktop too?

EDIT: Just grabbed my Steam Deck to test and running from Flatpak, everything works as expected there too.

DavidoTek commented 1 year ago

Yeah, sounds like a problem with the internet connection or most likely exceeded API limit. You will have to wait a few hours (should work again by now).

The next release of ProtonUp-Qt will add a message box that gives more details why something isn't working as expected.

thefunkygibbon commented 1 year ago

Not got another linux desktop to hand to test on (although I can probably sort one out). API limit is based on my IP or the ProtonUp-Qt app itself has an API limit? I certainly haven't been downloading much from github to hit any kind of limits.

I'll wait it out until the next release with error messages though :-)

thanks for your replies

sonic2kk commented 1 year ago

Not got another linux desktop to hand to test on

Oh, my bad, no worries

API limit is based on my IP or the ProtonUp-Qt app itself has an API limit?

It's based on your IP.

I certainly haven't been downloading much from github to hit any kind of limits.

It could be a general network issue.

I'll wait it out until the next release with error messages though :-)

It might be a while, I'd suggest running from the command line as recommended earlier and seeing there is any relevant error output, in case this is an obscure bug. Though I think this is a general network issue.

Running from the command line also means you can pass a custom GitHub Access Token which should alleviate any API rate limiting, though this is more for technical users and in general you shouldn't have to do this. I'm more interested in why this is happening than working around it temporarily with an access token.

It's definitely better to try and get to the bottom of this as much as we can now than to wait for a new release :smile:

thefunkygibbon commented 1 year ago

tried again today and it was fine. no idea what the issue was then. thanks for all the replies

Abba- commented 1 year ago

@sonic2kk I'm having this same issue, it's really weird. Googling people have had this https://www.reddit.com/r/SteamDeck/comments/z2e8iw/protonupqt_issues/

Clicking your link gets me {"message":"API rate limit exceeded for my.ip. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

I have a bog-standard internet connection, I'm the only one using it so shouldn't be any API limit. The only thing I have is my router DNS set to cloudflare. I don't know if other projects have a similar issue with Github, but it definitely seems very flaky...

I would at suggest possibly having a message underneath the dropdown hinting to try another internet connection, to avoid my situation where I spent too much time googling before ending up here.

Switching to my phone hotspot populated the list instantly. (But switching back to my main network mid-download caused the download to stall)

sonic2kk commented 1 year ago

Clicking your link gets me {"message":"API rate limit exceeded for my.ip. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"[https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}](https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting%22%7D)

This isn't really a ProtonUp-Qt bug, as you can see this means you can't download from the GitHub API. Anything that connects to the GitHub API wouldn't work in this case.

Very strange issue indeed...

On the Reddit post you linked, the user said they had similar issues with other tools like EmuDeck, and they had to restart their Steam Deck, maybe it's a DNS issue.

Because this is related to the GitHub API, anything that uses the API won't work, not just ProtonUp-Qt. Though you can pass an access token I suppose.

Abba- commented 1 year ago

This isn't really a ProtonUp-Qt bug,

Yes 100% that's why didn't bother making this a new issue.
I'm sure finding an alternative isn't practical, but also why I would highly suggest at least text saying something like "if the field doesn't populate the Github API may be blocked and you should try another network connection."

DavidoTek commented 1 year ago

I would highly suggest at least text saying something like "if the field doesn't populate the Github API may be blocked and you should try another network connection."

Good catch! We actually worked on this a while back and a message box that shows a warning about the GitHub API will be added in the next version of ProtonUp-Qt. https://github.com/DavidoTek/ProtonUp-Qt/pull/170