I'm attempting to use bitbucket's API through Python with rauth. My get_request_token
call fails with the error: Key Error: 'Decoder failed to handle oauth_token with data as returned by provider. A different decoder may be needed. Provider returned: Could not verify OAuth request.'
I wrote and tested this code a year ago and it worked then (on the same server, in fact). What is wrong now?
My server's clock was not within five minutes of bitbucket's.
The answer was here: https://confluence.atlassian.com/display/BITBUCKET/Troubleshooting+OAuth+Requests
Installing ntp solved this for me (on ubuntu, sudo apt-get install ntp
).
来源:https://stackoverflow.com/questions/24835265/bitbucket-oauth-returns-could-not-verify-oauth-request