Downloading from Github.com fails with dockerized templates
HEPOSHEIKKI opened this issue · comments
Describe the bug
Downloading any files from github.com
as an install step fails with a 403.
To Reproduce
Steps to reproduce the behavior:
- Make sure you are running the Docker version of pufferpanel
- Go to 'templates'
- Click on 'add template'
- Set the template to this
- Create a new server with the template
- Install the server
Expected behavior
The install step should succesfully complete, and summon a file.
Screenshots
N/A
Desktop:
- OS: Ubuntu 22.04
- Browser Firefox
- Version 123.0.1
Additional context
- Successfully reproduced on two isolated systems on different networks, failed to reproduce on a native install.
- Succesfully reproduced on three different docker images.
steamcmd/steamcmd:ubuntu-20
,steamcmd/steamcmd
andpufferpanel/generic
- Github returns 302 -> 403
- Not caused by the user agent. Tested by CURLing the file with the same user agent, and fetching the file with a barebones grab script. Noted to close this out of the question.
- This issue does not apply to any other file hosts that I am aware of
- Tried over both, http and https
- This has the possibility to bork a bunch of templates depending on github for files
Failing to reproduce further. Closing!