Skip to content

UA reqwest's default User-Agent (reqwest/0.12.x) is blocked by WAF on cloud.tsinghua.edu.cn, returning 403 Access Denied - #1

Merged
class-undefined merged 1 commit into
class-undefined:masterfrom
zouzh22:fix/user-agent
Sep 18, 2026
Merged

class-undefined merged 1 commit into
class-undefined:masterfrom
zouzh22:fix/user-agent

Conversation

@zouzh22

@zouzh22 zouzh22 commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

fix: set User-Agent to bypass WAF blocking default reqwest. UA reqwest's default User-Agent (reqwest/0.12.x) is blocked by WAF on cloud.tsinghua.edu.cn, returning 403 Access Denied. Setting a curl-like User-Agent resolves this.

…'s default User-Agent (reqwest/0.12.x) is blocked by WAF on cloud.tsinghua.edu.cn, returning 403 Access Denied. Setting a curl-like User-Agent resolves this.
@class-undefined
class-undefined merged commit 8b518e6 into class-undefined:master Sep 18, 2026
1 check passed
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.

2 participants