-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createSession RateLimit seems not to work as specified in yesterday's blog post #1616
Comments
I have not seen the headers, but I definitely do not make 300 calls a day. Yet, I am seeing rate exceeded errors on |
The 5-minute window does not work here. The headers for a Successful request; remaining requests {
"Date": "Mon, 18 Sep 2023 10:31:30 GMT",
"Content-Type": "application/json; charset=utf-8",
"Content-Length": "659",
"Connection": "keep-alive",
"X-Powered-By": "Express",
"Access-Control-Allow-Origin": "*",
"RateLimit-Limit": "30",
"RateLimit-Remaining": "0",
"RateLimit-Reset": "1695112965",
"RateLimit-Policy": "30;w=300",
"ETag": "W/\"293-zhYCCHcEPfrg3X1rKxTzazidQ1M\"",
"Vary": "Accept-Encoding"
} RateLimit exceeded after {
"Date": "Mon, 18 Sep 2023 10:40:45 GMT",
"Content-Type": "application/json; charset=utf-8",
"Content-Length": "61",
"Connection": "keep-alive",
"X-Powered-By": "Express",
"Access-Control-Allow-Origin": "*",
"RateLimit-Limit": "30",
"RateLimit-Remaining": "0",
"RateLimit-Reset": "1695112965",
"RateLimit-Policy": "30;w=300",
"ETag": "W/\"3d-egyFOcXCrKQFzoI7522/4+PpxIk\"",
"Vary": "Accept-Encoding"
} |
Thanks for the bug report - we were handling this wrong. I'll get this shipped up shortly 👍 |
Sorry to reply to this ancient and closed post, @dholms, but I'm seeing the 24hr rate limit for a
|
https://atproto.com/blog/rate-limits-pds-v3 states the RateLimit for createSession is 30/5min and 300/day.
But it seems either the header 'ratelimit-reset' is wrong (the timestamp is 24 hours in the future) or the RateLimit is not set according the specs in the blog post.
Which would lead to 30 createSession/day not 300 as described.
The text was updated successfully, but these errors were encountered: