Displaying 1 result from an estimated 1 matches for "41nzuvqiah4j".
2012 May 25
1
Connect reset by peer error
Hi all
I''m getting a ''Connection reset by peer'' while getting an access token during oAuth from a third party API. Here''s the code snippet:
def accesstoken
@code = params[:code]
url = URI.parse(''access token request url'')
req = Net::HTTP::Post.new(url.path)
req.set_form_data({''auth_code'' => @code,