Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

5
Praw long sleep
Post Flair (click to view more posts with a particular flair)
Post Body

Sinds a couple of days I've got a problem where after 7:10 (GMT 1) praw suddenly stops working (every day consistently). I finally enabled DEBUG mode in logging and wrote away the logs and the following was printed:

DEBUG:prawcore:Fetching: GET https://oauth.reddit.com/r/magicTCG/new
DEBUG:prawcore:Data: None
DEBUG:prawcore:Params: {'raw_json': 1, 'limit': 100}
DEBUG:prawcore:Sleeping: 7960.41 seconds prior to call

What's up with the 7960 seconds of sleep!

This is running on Python 3.5 with praw 6.1.0. It could be a bug that I should probably report on gitlab, but I'm not certain where its coming from.

Altough looking at praw's code, this might not have much to do with Reddit Dev itself but rather with praw either setting next_request_timestamp too high or time.time() borks around 7:10.

Anyone seen this before?

e: I've added some logging to check X-ratelimit-reset and time.time()

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
11,561
Link Karma
3,721
Comment Karma
7,752
Profile updated: 6 days ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago