403 errors when downloading instructions #123
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I'm not able to download instructions from rebrickable. I've tried with several sets and always get "Error: No instructions found on Rebrickable or Peeron." Adding sets and parts works as expected.
Looks like I get a 403 in the logs, while manually checking the url does show results:
https://rebrickable.com/instructions/40751-1/
Logs:
I've checked for similar issues and saw that one was solved several months ago, but no comments on how.
I'm currently on v1.3.1
This is my compose:
Not sure what version of the container you are on but I had this problem for about a month until I got on the latest version. I had to go through the upgrade steps to do it, but once I got up to date that went away
That’s honestly super weird. Your logs suggests you have the error that was happening on 1.2.4 but if you are sure you version is 1.3.1 then I don’t know what the issue is. Do you have “ BrickTracker (1.3.1)” in the button left corner of the front page?
I don’t have the issue on my own instance and I setup a new instance using
latestat I don’t see the issue there either.Thanks for quick reply :) It does show 1.3.1 in the bottom left corner of the page.
i tried using latest and also tried removing all the additional hardening so it pretty much matched your compose example, but still no luck.
Also tried spinning up a fresh container and new volumes and same issue.
It looks like cloudflare may be blocking the container. I couldn't test curl or wget inside the container, but with python i get the following:
when i try curl from my NAS, i get an http 200 response.
The BrickTracker code actually uses sessions and not just requests. This way we don't run info cloudflare issues. Previously used cloudscraper but that hasn't been updated in some time and would get caught by cloudflare.
Your code example, also returns 403 for me.
A simplified version of the BrickTracker code is
If you run this using
python cf_test.py | grep /download/?expireyou should see a list of the instructions direct download links likeI am having the same problem; the output of the sample cf_test.py code does properly show instruction sets, but any attempt to download within 1.3.1 gives an error of no instructions found.
Hey @FrederikBaerentsen sorry for the late follow up. i've tried cf_test.py you shared and the output was blank. so it looks like it isn't working either.
any other suggestions?
update - i tried putting it behind a gluetun network and instruction downloads work now
That sounds like it is an issue with your IP. if using a gluetun VPN (which i am assuming gives you a new IP) works.