Comments (8)
Try running ntpd -q
in terminal. That will reset your system clock. That is a possible solution that has worked for many.
from python-tumblpy.
i just did that..it gives same error....trying to find solution for last 2 days...tried another python package for github still it is the same..
i am running this in amazon AWS EC2 instance...
date
Sat Jan 25 10:04:53 UTC 2014
this date is not off by much...
raise TumblpyAuthError('Seems something couldn't be verified with your OAuth junk. Error: %s, Message: %s' % (response.status_code, response.content))
tumblpy.exceptions.TumblpyAuthError: Seems something couldn't be verified with your OAuth junk. Error: 401, Message: oauth_timestamp is too far away; we believe it is now 1390665810, you sent 1390644199, 21611 seconds away
from python-tumblpy.
Maybe make sure nptd
is running?
This may help: http://serverfault.com/questions/100978/do-i-need-to-run-ntpd-in-my-ec2-instance
--
Mike Helmick
Software Engineer
P: (330) 507-9098
T: @mikehelmick
W: https://github.com/michaelhelmick
On January 25, 2014 at 11:05:52 AM, Srinivasu Kota ([email protected]) wrote:
i just did that..it gives same error....trying to find solution for last 2 days...tried another python package for github still it is the same..
i am running this in amazon AWS EC2 instance...
date
Sat Jan 25 10:04:53 UTC 2014
this date is not off by much...
raise TumblpyAuthError('Seems something couldn't be verified with your OAuth junk. Error: %s, Message: %s' % (response.status_code, response.content))
tumblpy.exceptions.TumblpyAuthError: Seems something couldn't be verified with your OAuth junk. Error: 401, Message: oauth_timestamp is too far away; we believe it is now 1390665810, you sent 1390644199, 21611 seconds away
—
Reply to this email directly or view it on GitHub.
from python-tumblpy.
ntpd -q ran once and had quit
i ran it now with out args and it is running now...
but the error is still the same...below is the code i am using...
below is my pip list
pip list
distribute (0.6.49)
httplib2 (0.8)
httpretty (0.7.1)
mock (1.0.1)
nose (1.3.0)
oauth (1.0.1)
oauth2 (1.5.211)
oauthlib (0.6.1)
pip (1.5.1)
python-oauth2 (0.5.0)
python-tumblpy (1.0.2)
PyTumblr (0.0.5)
PyYAML (3.10)
rauth (0.6.2)
requests (1.2.2)
requests-oauthlib (0.3.2)
setuptools (0.6c11)
urllib3 (1.7.1)
wsgiref (0.1.2)
from tumblpy import Tumblpy
t = Tumblpy('somebig key', 'some big value')
auth_props = t.get_authentication_tokens(callback_url='http://www.test.com/url/index.php')
auth_url = auth_props['auth_url']
OAUTH_TOKEN_SECRET = auth_props['oauth_token_secret']
print 'Connect with Tumblr via: %s' % auth_url
from python-tumblpy.
Hrm, it's really hard to debug without actually being in the system. Maybe google: ec2 oauth timestamp wrong
or something of the sort? Sorry I can't be of more help :(
from python-tumblpy.
ntpd is getting removed after few minutes...one thing i noticed is before running and after running the script throws same error but with only 1 second difference...
total time difference is 6 hours which is 21610 seconds
from python-tumblpy.
thanks for your insights...infact your program showed what could be wrong...
even though the date
command give exact time or close to my system desktop clock...
Sat Jan 25 10:33:34 UTC 2014
but the program says 6 hours apart..
from python-tumblpy.
You're welcome! Hope you eventually figure it out with some research!
from python-tumblpy.
Related Issues (20)
- Missing search posts by tag : /tagged – Get Posts with Tag HOT 2
- Posting problem HOT 2
- Extra Endpoints HOT 4
- Run into TypeError with Requests 1.2.2 HOT 2
- [learning] Posting images HOT 1
- Python3 error on __repr__(self) HOT 1
- Invalid syntax when declaring object HOT 2
- Getting value error on basic initializing code HOT 1
- [Feature] Proxies support HOT 3
- Posting a Photo With Tags HOT 1
- request() fails if Tumblr returns https:// URL HOT 2
- Posting Question
- Tumblr tags not posting
- Can't Reblog Posts HOT 4
- Posting to secondary blog HOT 7
- Missing import ? HOT 1
- NameError: name 'urlparse' is not defined HOT 3
- Error making post HOT 6
- Tumblr can return error responses that aren't handled correctly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-tumblpy.