Archived Forum Post

Index of archived forum posts


Problems with HTTPS REST Request

Jul 10 '13 at 20:54

I've been integrating w/ a non-SSL API w/o any issues. Recently, we updated to using SSL on the server and now when I send the request I get the following error below. What's interesting, is that I only get the error on the first request. If I send another request within 60 seconds it works fine; but, if i wait more than 60 seconds to send another request I get the error again. Any idea what may be causing it? I've never seen this error before.

DllDate: Jun 11 2013
UnlockPrefix: XXXXGHHttp
Username: XXXX-PC:XXXX
Architecture: Little Endian; 32-bit
Language: .NET 4.0
VerboseLogging: 0
url: https://app.{base_url}.co/{url structure for REST}
jsonUtf8Size: 39
sessionLogFilename: digestAuthLog.txt
HttpLogin: 3
A password has been provided.
hostname: app.{base_url}.co
port: 443
ssl: 1
Should already be connected to the HTTP server...
connectTime1: Elapsed time: 0 millisec
Not auto-adding cookies.
AuthorizationType: Digest username="X", realm="django-tastypie", nonce="1373481594.03:54D9:25f8449dd26dbda90b401d7a6827d6fe", uri="{url structure for REST}", algorithm="MD5", response="9ed4bcc9caa5f528b2575a6b106917e0", qop="auth", nc=00000001, cnonce="792dcab1511ed920", opaque="b828f161efad6c1d5106d02e60582c990032f8b9"
sendRequestTime: Elapsed time: 0 millisec
---- Reading HTTP Response ----
Failed to get response header on SSL connection.
Use the SessionLogFilename property to log the HTTP traffic to a file to examime the response.
readResponseTime: Elapsed time: 0 millisec
PostJson request failed.