POSTing to https://api.twitter.com/1.1/statuses/update.json
99% of the time this is successful. During our nightly build + unit test run, this call fails with an SSL error. The only thing we can pinpoint is that this failure occurs at 2AM PST.
On the calling side, we get this exception in C#: The request was aborted: Could not create SSL/TLS secure channel…
In the logs, we see that during the SSL handshake, we process the ContinueNeeded part of the handshake, then we get an IllegalMessage and throw the exception.
In cases where the call succeeds, we see OK (where we used to see IllegalMessage), then we get the SSL cert, then we negotiate the cipher, etc.
Are we hitting a different set of servers at this time of night?