-
Notifications
You must be signed in to change notification settings - Fork 171
Description
bitbucket.repos.all
BitBucket::Error::Unauthorized: #<struct Faraday::Env method=:get, body="", url=#<URI::HTTPS https://bitbucket.org/api/1.0/user/repositories>, request=#<Faraday::RequestOptions proxy=#<Faraday::ProxyOptions uri=#<URI::HTTP http://10.6.13.77:8080/>>, oauth=true>, request_headers={"User-Agent"=>"BitBucket Ruby Gem 0.1.7", "Authorization"=>"OAuth oauth_consumer_key="XXX", oauth_nonce="d161352d7fd1b7ba7207a457c43038cf", oauth_signature="%2BsDwJGrBRMcSYkoxmDc%2BVJFtAZg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1459756974", oauth_token="", oauth_version="1.0""}, ssl=#<Faraday::SSLOptions (empty)>, parallel_manager=nil, params=nil, response=#<Faraday::Response:0x000000021c3318 @on_complete_callbacks=[], @env=#<Faraday::Env @method=:get @Body="" @url=#<URI::HTTPS https://bitbucket.org/api/1.0/user/repositories> @request=#<Faraday::RequestOptions proxy=#<Faraday::ProxyOptions uri=#<URI::HTTP http://10.6.13.77:8080/>>, oauth=true> @request_headers={"User-Agent"=>"BitBucket Ruby Gem 0.1.7", "Authorization"=>"OAuth oauth_consumer_key="XXX", oauth_nonce="d161352d7fd1b7ba7207a457c43038cf", oauth_signature="%2BsDwJGrBRMcSYkoxmDc%2BVJFtAZg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1459756974", oauth_token="", oauth_version="1.0""} @ssl=#<Faraday::SSLOptions (empty)> @response=#<Faraday::Response:0x000000021c3318 ...> @response_headers={"server"=>"nginx/1.6.2", "vary"=>"Cookie", "www-authenticate"=>"Basic realm="Bitbucket.org HTTP"", "content-type"=>"text/html; charset=utf-8", "strict-transport-security"=>"max-age=31536000", "date"=>"Mon, 04 Apr 2016 08:02:54 GMT", "x-served-by"=>"app-113", "x-static-version"=>"9d27a7681f21", "etag"=>""d41d8cd98f00b204e9800998ecf8427e"", "x-render-time"=>"0.00727915763855", "connection"=>"close", "x-version"=>"9d27a7681f21", "x-request-count"=>"212", "x-frame-options"=>"SAMEORIGIN", "content-length"=>"0"} @status=401>>, response_headers={"server"=>"nginx/1.6.2", "vary"=>"Cookie", "www-authenticate"=>"Basic realm="Bitbucket.org HTTP"", "content-type"=>"text/html; charset=utf-8", "strict-transport-security"=>"max-age=31536000", "date"=>"Mon, 04 Apr 2016 08:02:54 GMT", "x-served-by"=>"app-113", "x-static-version"=>"9d27a7681f21", "etag"=>""d41d8cd98f00b204e9800998ecf8427e"", "x-render-time"=>"0.00727915763855", "connection"=>"close", "x-version"=>"9d27a7681f21", "x-request-count"=>"212", "x-frame-options"=>"SAMEORIGIN", "content-length"=>"0"}, status=401>
`
Need help to understand how to achieve this.