Skip to content
Discussion options

You must be logged in to vote

That 403 is the actual blocker. It means Colab can reach the host, but the F1/CloudFront side is refusing that Colab runtime. From another network I still get HTTP 200 for the same SessionInfo URL, so this is not something your plotting code can fix.

Practical options:

  1. Try the same script outside Colab first, for example local Python/Jupyter on your laptop. A quick browser test is enough to start: open the SessionInfo.jsonStream URL directly. If it downloads or shows text instead of 403, that network should be able to populate FastF1 data.

  2. Enable a persistent FastF1 cache before loading the session:

import fastf1
fastf1.Cache.enable_cache("/path/to/fastf1-cache")

In Colab that could…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@etr16sg
Comment options

@yudin-s
Comment options

Answer selected by theOehrly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants