Remote host closed connection during handshake with Nest API
问题 Trying out the Nest API, I got the OAuth flow working without problems, made the first API call (to https://developer-api.nest.com/devices.json ), got the 307 redirect as expected, but then my call to the redirect location fails with Remote host closed connection during handshake . I went to the Nest developer event in San Francisco last night, and Lev Stesin told me to post a full log here and mention his name. Code (Apex, running on Force.com): public with sharing virtual class