i have some more data for anyone willing to help, this is the output
of the curl debug, the last part is the most important
== Info: About to connect() to
api.twitter.com port 443 (#0)
== Info: Trying 168.143.171.93... == Info: connected
== Info: Connected to
api.twitter.com (168.143.171.93) port 443 (#0)
== Info: successfully set certificate verify locations:
== Info: CAfile: ./VeriSignClass3ExtendedValidationSSLCA
CApath: /etc/ssl/certs
== Info: SSLv3, TLS handshake, Client hello (1):
<= Send SSL data, 108 bytes (0x6c)
0000: ...h..K...../s.H.&..A....&...O\.aal..U..&.9.8.5.......3.2./.....
0040: .............................
api.twitter.com
== Info: SSLv3, TLS handshake, Server hello (2):
<= Recv SSL data, 74 bytes (0x4a)
0000: ...F..K....@..B*!|=..c7s.B'42u6.W5..7. ..FB...[.x..8...b./.J...
0040: Rs....{.5.
== Info: SSLv3, TLS handshake, CERT (11):
<= Recv SSL data, 853 bytes (0x355)
0000: ...Q..N..K0..G0.............0...*.H........0Z1.0...U....US1.0...
0040: U....Equifax Secure Inc.1-0+..U...$Equifax Secure Global eBusine
0080: ss CA-10...090526121457Z..100727061016Z0..1.0...U....US1.0...U..
00c0: ..*.twitter.com1.0...U....GT57932074110/..U...(See www.rapidssl.
0100: com/resources/cps (c)091/0-..U...&Domain Control Validated - Rap
0140: idSSL(R)1.0...U....*.twitter.com0..0...*.H............0.......g.
0180: B ..W".@.K/c._........1r_e..v!.C7 ..{%w.\Q...c..?..a.].2.;.....f
01c0: ..Cy~. v!.|.;.G.-...-...@..p.f.-.8./M6.7...*.O+...n.e..._{/_+...
0200: .....0..0...U...........0...U..............`.Qt.....Ov.0;..U...4
0240: 0200...,.*
http://crl.geotrust.com/crls/globalca1.crl0...U.#..0..
0280: ....trPkD..#.....Wkhl0...U.%..0...+.........+.......0...U.......
02c0: 0.0...*.H..............ZQ.X....
2.CH`..N.>~.AJ..9aF.....p...I.. =
0300: .-.T....x).o..#.B.}...h..K..."H=.........>M.vy..(zN. D./.y7..O..
0340: AndW.?.O.~....@.e./$.
== Info: SSLv3, TLS handshake, Server finished (14):
<= Recv SSL data, 4 bytes (0x4)
0000: ....
== Info: SSLv3, TLS handshake, Client key exchange (16):
<= Send SSL data, 134 bytes (0x86)
0000: ......U2..{..........E....&G" .y1.b#...J.L:.P%.....RmH.}.?.A).7H
0040: ..T.[_. x.h...W..E>.x...j./...."U..<..DM.[...((...H)U.....I..9..
0080: ..=;.\
== Info: SSLv3, TLS change cipher, Client hello (1):
<= Send SSL data, 1 bytes (0x1)
0000: .
== Info: SSLv3, TLS handshake, Finished (20):
<= Send SSL data, 16 bytes (0x10)
0000: .....H....;.....
== Info: SSLv3, TLS change cipher, Client hello (1):
<= Recv SSL data, 1 bytes (0x1)
0000: .
== Info: SSLv3, TLS handshake, Finished (20):
<= Recv SSL data, 16 bytes (0x10)
0000: .........P.3.Uv:
== Info: SSL connection using AES256-SHA
== Info: Server certificate:
== Info: subject: C=US, O=*.
twitter.com, OU=GT57932074, OU=See
www.rapidssl.com/resources/cps (c)09, OU=Domain Control Validated -
RapidSSL(R), CN=*.
twitter.com
== Info: start date: 2009-05-26 12:14:57 GMT
== Info: expire date: 2010-07-27 06:10:16 GMT
== Info: common name: *.
twitter.com (matched)
== Info: issuer: C=US, O=Equifax Secure Inc., CN=Equifax Secure
Global eBusiness CA-1
== Info: SSL certificate verify ok.
=> Send header, 424 bytes (0x1a8)
0000: POST /oauth/request_token HTTP/1.1
0024: Host:
api.twitter.com
003b: Accept: */*
0048: Cookie: ./cookies.txt
005f: Authorization: OAuth oauth_nonce="vevztawimsxgfjpc", oauth_callb
009f: ack="oob", oauth_signature_method="HMAC-SHA1", oauth_timestamp="
00df: 1274651066", oauth_consumer_key="KPheeTlyurIeJfp2zC5bQg", oauth_
011f: signature="0Mbdd6%2B5sARJmMF5ZieBQqYxBQk%3D", oauth_version="1.0
015f: "
0162: Content-Length: 0
0175: Content-Type: application/x-www-form-urlencoded
01a6:
so clearly the Authorization header is getting sent appropriately as
per the documentation here:
http://dev.twitter.com/pages/auth#request-token,
but after that point, everything just stops, and waits without end.
i'm hopping someone has an idea of what might be wrong?
r.d.