Skip to content

Send a descriptive User-Agent for thumbnail tile fetching - #14718

Merged
giohappy merged 1 commit into
masterfrom
fix/thumbs-wikimedia-user-agent
Oct 13, 2026
Merged

giohappy merged 1 commit into
masterfrom
fix/thumbs-wikimedia-user-agent

Conversation

@giohappy

Copy link
Copy Markdown
Contributor

No description provided.

Public tile servers (Wikimedia, OSM) throttle generic User-Agents with
403/429, making thumbnail backgrounds and their tests fail intermittently.

- add GEONODE_USER_AGENT setting (env overridable) used by http_client
- raise requests.HTTPError with the status code on tile fetch failures
- skip background fetch tests when the tile server returns an HTTP error
@cla-bot cla-bot Bot added the cla-signed CLA Bot: community license agreement signed label Oct 13, 2026
@giohappy giohappy modified the milestone: 5.1.1 Oct 13, 2026
@giohappy
giohappy merged commit 75729f9 into master Oct 13, 2026
18 checks passed
@giohappy
giohappy deleted the fix/thumbs-wikimedia-user-agent branch October 13, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 5.1.x cla-signed CLA Bot: community license agreement signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant