Comment 5 for bug 989157

Revision history for this message
Roman Yepishev (rye) wrote : Re: updown OAuth may fail with valid credentials

Reproduced with trickle on 10KB/s with 12Mb openfire package:

ubuntu@lab:~/ubuntuone-scripts$ trickle -u 10 curl -v -T ../openfire_3.7.1_all.deb `./oauth-sign -m PUT https://files.one.ubuntu.com/content/~/Ubuntu%20One/Test.deb -f url`
trickle: Could not reach trickled, working independently: No such file or directory
* About to connect() to files.one.ubuntu.com port 443 (#0)
* Trying 174.129.230.205... connected
* Connected to files.one.ubuntu.com (174.129.230.205) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
* subject: O=files.one.ubuntu.com; OU=Domain Control Validated; CN=files.one.ubuntu.com
* start date: 2011-10-25 21:35:27 GMT
* expire date: 2012-10-27 01:38:03 GMT
* subjectAltName: files.one.ubuntu.com matched
* issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certificates.godaddy.com/repository; CN=Go Daddy Secure Certification Authority; serialNumber=07969287
* SSL certificate verify ok.
> PUT /content/~/Ubuntu%20One/Test.deb?oauth_nonce=04417916&oauth_timestamp=1336043735&oauth_consumer_key=HI MOM!&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_token=REDACTED&oauth_signature=REDACTED HTTP/1.1
> User-Agent: curl/7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
> Host: files.one.ubuntu.com
> Accept: */*
> Content-Length: 12460336
> Expect: 100-continue
>
* Done waiting for 100-continue
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 302 FOUND
< Date: Thu, 03 May 2012 11:35:46 GMT
< Server: TwistedWeb/10.0.0
< Vary: Cookie,Accept-Encoding
< Etag: "d41d8cd98f00b204e9800998ecf8427e"
< X-Bzr-Revision-Number: 5413
< Location: https://files.one.ubuntu.com/auth/login/?next=/content/%7E/Ubuntu%20One/Test.deb%3Foauth_nonce%3D04417916%26oauth_timestamp%3D1336043735%26oauth_consumer_key%HELLO%26oauth_signature_method%3DHMAC-SHA1%26oauth_version%3D1.0%26oauth_token%REDACTED%26oauth_signature%REDACTED%253D
< Content-Type: text/html; charset=utf-8
< Via: 1.1 ip-10-84-67-0.ec2.internal
< Content-Length: 0
<
* Connection #0 to host files.one.ubuntu.com left intact
* Closing connection #0