You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not able to connect via Reddit python. Below is my log when I try to use the given Reddit.
raise self.STATUS_EXCEPTIONS[response.status_code](response) ServerError: received 503 HTTP response WARNING:prawcore:Retrying due to 503 status: GET https://oauth.reddit.com/r/Bitcoin/search/ WARNING:prawcore:Retrying due to 503 status: GET https://oauth.reddit.com/r/Bitcoin/search/ WARNING:prawcore:Retrying due to 503 status: GET https://oauth.reddit.com/r/Bitcoin/search/ WARNING:prawcore:Retrying due to 503 status: GET https://oauth.reddit.com/r/Bitcoin/search/ ERROR:root:received 503 HTTP response Traceback (most recent call last): File "Reddit.py", line 66, in getThreads searchResults = list(reddit.subreddit(subredditName).search('timestamp:{}..{}'.format(cts1, cts2), syntax='cloudsearch')) File "/Library/Python/2.7/site-packages/praw/models/listing/generator.py", line 80, in next return self.__next__() File "/Library/Python/2.7/site-packages/praw/models/listing/generator.py", line 52, in __next__ self._next_batch() File "/Library/Python/2.7/site-packages/praw/models/listing/generator.py", line 62, in _next_batch self._listing = self._reddit.get(self.url, params=self.params) File "/Library/Python/2.7/site-packages/praw/reddit.py", line 391, in get data = self.request('GET', path, params=params) File "/Library/Python/2.7/site-packages/praw/reddit.py", line 506, in request params=params) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 185, in request params=params, url=url) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 128, in _request_with_retries retries, saved_exception, url) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 94, in _do_retry params=params, url=url, retries=retries - 1) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 128, in _request_with_retries retries, saved_exception, url) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 94, in _do_retry params=params, url=url, retries=retries - 1) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 130, in _request_with_retries
Hello,
I am not able to connect via Reddit python. Below is my log when I try to use the given Reddit.
raise self.STATUS_EXCEPTIONS[response.status_code](response) ServerError: received 503 HTTP response WARNING:prawcore:Retrying due to 503 status: GET https://oauth.reddit.com/r/Bitcoin/search/ WARNING:prawcore:Retrying due to 503 status: GET https://oauth.reddit.com/r/Bitcoin/search/ WARNING:prawcore:Retrying due to 503 status: GET https://oauth.reddit.com/r/Bitcoin/search/ WARNING:prawcore:Retrying due to 503 status: GET https://oauth.reddit.com/r/Bitcoin/search/ ERROR:root:received 503 HTTP response Traceback (most recent call last): File "Reddit.py", line 66, in getThreads searchResults = list(reddit.subreddit(subredditName).search('timestamp:{}..{}'.format(cts1, cts2), syntax='cloudsearch')) File "/Library/Python/2.7/site-packages/praw/models/listing/generator.py", line 80, in next return self.__next__() File "/Library/Python/2.7/site-packages/praw/models/listing/generator.py", line 52, in __next__ self._next_batch() File "/Library/Python/2.7/site-packages/praw/models/listing/generator.py", line 62, in _next_batch self._listing = self._reddit.get(self.url, params=self.params) File "/Library/Python/2.7/site-packages/praw/reddit.py", line 391, in get data = self.request('GET', path, params=params) File "/Library/Python/2.7/site-packages/praw/reddit.py", line 506, in request params=params) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 185, in request params=params, url=url) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 128, in _request_with_retries retries, saved_exception, url) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 94, in _do_retry params=params, url=url, retries=retries - 1) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 128, in _request_with_retries retries, saved_exception, url) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 94, in _do_retry params=params, url=url, retries=retries - 1) File "/Library/Python/2.7/site-packages/prawcore/sessions.py", line 130, in _request_with_retries
Also I am trying to run below on console.
python Reddit.py --subreddit Bitcoin --year 2018 --timestamp_interval 20000
As you referred, I have created a new app on Reddit.
Could you assist me on this issue ?
Thanks
The text was updated successfully, but these errors were encountered: