Skip to content

change healthcheck from github.com to raw.githubusercontent.com#22

Open
michelonfelipe wants to merge 1 commit into
SteamDeckHomebrew:mainfrom
michelonfelipe:change-github-check
Open

change healthcheck from github.com to raw.githubusercontent.com#22
michelonfelipe wants to merge 1 commit into
SteamDeckHomebrew:mainfrom
michelonfelipe:change-github-check

Conversation

@michelonfelipe

Copy link
Copy Markdown

Why

Recently, when installing decky, plugin_loader-${BRANCH}.service had the content of 429 response from github, instead of the expected content
This happened because the healthcheck from the beginning of the file only checks for github.com access (which is not actually used), and do not checks for raw.githubusercontent.com

There was actually a wide problem on south america accessing raw.githubusercontent.com. More info in an community discussion

What

Change healthcheck from github.com to raw.githubusercontent.com
The default status code is 301, because the homepage redirects to github.com

since assets are downloaded from raw.githubusercontent.com, this
should be the ideal url for a healthcheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant