Advertisement
Guest User

.bzr.log (Linux) fail on https + pycurl + digest auth

a guest
Mar 24th, 2010
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.24 KB | None | 0 0
  1. 木 2010-03-25 12:08:35 +0900
  2. 1.170 bazaar version: 2.1.0
  3. 1.170 bzr arguments: [u'b', u'-Dhttp', u'https+pycurl://$USERNAME@example.com/bzr/test']
  4. 1.761 looking for plugins in /home/$USERNAME/.bazaar/plugins
  5. 6.303 looking for plugins in /usr/lib/python2.6/site-packages/bzrlib/plugins
  6. 6.503 Plugin name bzrtools already loaded
  7. 8.343 encoding stdout as sys.stdout encoding 'UTF-8'
  8. 10.424 bzr-svn: using Subversion 1.6.9 ()
  9. 13.916 * About to connect() to proxy 192.168.0.1 port 8080 (#0)
  10.  
  11. 13.916 * Trying 192.168.0.1...
  12. 13.916 * connected
  13.  
  14. 13.916 * Connected to 192.168.0.1 (192.168.0.1) port 8080 (#0)
  15.  
  16. 13.916 * Establish HTTP proxy tunnel to example.com:443
  17.  
  18. 13.916 > CONNECT example.com:443 HTTP/1.1
  19.  
  20. Host: example.com:443
  21.  
  22. User-Agent: bzr/2.1.0 (pycurl: libcurl/7.19.6 OpenSSL/0.9.8l zlib/1.2.3)
  23.  
  24. Proxy-Connection: Keep-Alive
  25.  
  26. Cache-control: max-age=0
  27.  
  28. Pragma: no-cache
  29.  
  30. Connection: Keep-Alive
  31.  
  32.  
  33.  
  34.  
  35. 14.116 < HTTP/1.1 200 Connection established.
  36.  
  37.  
  38. 14.116 < Proxy-Agent: DeleGate/9.9.2
  39.  
  40.  
  41. 14.116 <
  42.  
  43.  
  44. 14.116 * Proxy replied OK to CONNECT request
  45.  
  46. 14.146 * successfully set certificate verify locations:
  47.  
  48. 14.146 * CAfile: none
  49. CApath: /etc/ssl/certs
  50.  
  51. 14.156 * SSLv3, TLS handshake, Client hello (1):
  52.  
  53. 14.326 * SSLv3, TLS handshake, Server hello (2):
  54.  
  55. 14.326 * SSLv3, TLS handshake, CERT (11):
  56.  
  57. 14.466 * SSLv3, TLS handshake, Server key exchange (12):
  58.  
  59. 14.466 * SSLv3, TLS handshake, Server finished (14):
  60.  
  61. 14.466 * SSLv3, TLS handshake, Client key exchange (16):
  62.  
  63. 14.466 * SSLv3, TLS change cipher, Client hello (1):
  64.  
  65. 14.536 * SSLv3, TLS handshake, Finished (20):
  66.  
  67. 14.726 * SSLv3, TLS change cipher, Client hello (1):
  68.  
  69. 14.726 * SSLv3, TLS handshake, Finished (20):
  70.  
  71. 14.726 * SSL connection using DHE-RSA-AES256-SHA
  72.  
  73. 14.726 * Server certificate:
  74.  
  75. 14.726 * subject: CN=example.com
  76.  
  77. 14.726 * start date: 2010-01-17 11:33:24 GMT
  78.  
  79. 14.726 * expire date: 2010-07-16 11:33:24 GMT
  80.  
  81. 14.726 * subjectAltName: example.com matched
  82.  
  83. 14.726 * issuer: O=Root CA; OU=http://www.cacert.org; CN=CA Cert Signing Authority; emailAddress=support@cacert.org
  84.  
  85. 14.726 * SSL certificate verify ok.
  86.  
  87. 14.726 > OPTIONS /bzr/test/ HTTP/1.1
  88.  
  89. User-Agent: bzr/2.1.0 (pycurl: libcurl/7.19.6 OpenSSL/0.9.8l zlib/1.2.3)
  90.  
  91. Host: example.com
  92.  
  93. Accept: */*
  94.  
  95. Cache-control: max-age=0
  96.  
  97. Pragma: no-cache
  98.  
  99. Connection: Keep-Alive
  100.  
  101.  
  102.  
  103.  
  104. 14.856 < HTTP/1.1 401 Authorization Required
  105.  
  106.  
  107. 14.856 < Date: Thu, 25 Mar 2010 03:12:49 GMT
  108.  
  109.  
  110. 14.856 < Server: Apache
  111.  
  112.  
  113. 14.856 < WWW-Authenticate: Digest realm="Bazaar Repository", nonce="Qff0a5eCBAA=7b7bc608aa10a773d9c23902ae889b51badfcb86", algorithm=MD5, qop="auth"
  114.  
  115.  
  116. 14.856 < Content-Length: 465
  117.  
  118.  
  119. 14.856 < Keep-Alive: timeout=15, max=100
  120.  
  121.  
  122. 14.856 < Connection: Keep-Alive
  123.  
  124.  
  125. 14.856 < Content-Type: text/html; charset=iso-8859-1
  126.  
  127.  
  128. 14.856 <
  129.  
  130.  
  131. 14.856 * Connection #0 to host 192.168.0.1 left intact
  132.  
  133. 14.856 * Issue another request to this URL: 'https://example.com/bzr/test/'
  134.  
  135. 14.856 * Connection #0 seems to be dead!
  136.  
  137. 14.856 * Closing connection #0
  138.  
  139. 14.856 * SSLv3, TLS alert, Client hello (1):
  140.  
  141. 14.856 * About to connect() to proxy 192.168.0.1 port 8080 (#0)
  142.  
  143. 14.856 * Trying 192.168.0.1...
  144. 14.856 * connected
  145.  
  146. 14.856 * Connected to 192.168.0.1 (192.168.0.1) port 8080 (#0)
  147.  
  148. 14.856 * Establish HTTP proxy tunnel to example.com:443
  149.  
  150. 14.856 * Server auth using Digest with user '$USERNAME'
  151.  
  152. 14.856 > CONNECT example.com:443 HTTP/1.1
  153.  
  154. Host: example.com:443
  155.  
  156. User-Agent: bzr/2.1.0 (pycurl: libcurl/7.19.6 OpenSSL/0.9.8l zlib/1.2.3)
  157.  
  158. Proxy-Connection: Keep-Alive
  159.  
  160. Cache-control: max-age=0
  161.  
  162. Pragma: no-cache
  163.  
  164. Connection: Keep-Alive
  165.  
  166.  
  167.  
  168.  
  169. 15.086 < HTTP/1.1 200 Connection established.
  170.  
  171.  
  172. 15.086 < Proxy-Agent: DeleGate/9.9.2
  173.  
  174.  
  175. 15.086 <
  176.  
  177.  
  178. 15.086 * Proxy replied OK to CONNECT request
  179.  
  180. 15.086 * successfully set certificate verify locations:
  181.  
  182. 15.086 * CAfile: none
  183. CApath: /etc/ssl/certs
  184.  
  185. 15.086 * SSL re-using session ID
  186.  
  187. 15.086 * SSLv3, TLS handshake, Client hello (1):
  188.  
  189. 15.126 * SSLv3, TLS handshake, Server hello (2):
  190.  
  191. 15.126 * SSLv3, TLS change cipher, Client hello (1):
  192.  
  193. 15.126 * SSLv3, TLS handshake, Finished (20):
  194.  
  195. 15.126 * SSLv3, TLS change cipher, Client hello (1):
  196.  
  197. 15.126 * SSLv3, TLS handshake, Finished (20):
  198.  
  199. 15.126 * SSL connection using DHE-RSA-AES256-SHA
  200.  
  201. 15.126 * Server certificate:
  202.  
  203. 15.126 * subject: CN=example.com
  204.  
  205. 15.126 * start date: 2010-01-17 11:33:24 GMT
  206.  
  207. 15.126 * expire date: 2010-07-16 11:33:24 GMT
  208.  
  209. 15.126 * subjectAltName: example.com matched
  210.  
  211. 15.126 * issuer: O=Root CA; OU=http://www.cacert.org; CN=CA Cert Signing Authority; emailAddress=support@cacert.org
  212.  
  213. 15.126 * SSL certificate verify ok.
  214.  
  215. 15.126 * Server auth using Digest with user '$USERNAME'
  216.  
  217. 15.126 > OPTIONS /bzr/test/ HTTP/1.1
  218.  
  219. Authorization: Digest username="$USERNAME", realm="Bazaar Repository", nonce="Qff0a5eCBAA=7b7bc608aa10a773d9c23902ae889b51badfcb86", uri="/bzr/test/", cnonce="MjY0NTQ1", nc=00000002, qop="auth", response="effa9ee438f80df802ce2cbffca919be", algorithm="MD5"
  220.  
  221. User-Agent: bzr/2.1.0 (pycurl: libcurl/7.19.6 OpenSSL/0.9.8l zlib/1.2.3)
  222.  
  223. Host: example.com
  224.  
  225. Accept: */*
  226.  
  227. Cache-control: max-age=0
  228.  
  229. Pragma: no-cache
  230.  
  231. Connection: Keep-Alive
  232.  
  233.  
  234.  
  235.  
  236. 15.466 < HTTP/1.1 401 Authorization Required
  237.  
  238.  
  239. 15.466 < Date: Thu, 25 Mar 2010 03:12:50 GMT
  240.  
  241.  
  242. 15.466 < Server: Apache
  243.  
  244.  
  245. 15.466 * Authentication problem. Ignoring this.
  246.  
  247. 15.466 < WWW-Authenticate: Digest realm="Bazaar Repository", nonce="JEL+a5eCBAA=9294eb281d4699dc8c10eec7bc333641702661fe", algorithm=MD5, qop="auth"
  248.  
  249.  
  250. 15.466 < Content-Length: 465
  251.  
  252.  
  253. 15.466 < Keep-Alive: timeout=15, max=100
  254.  
  255.  
  256. 15.466 < Connection: Keep-Alive
  257.  
  258.  
  259. 15.466 < Content-Type: text/html; charset=iso-8859-1
  260.  
  261.  
  262. 15.466 <
  263.  
  264.  
  265. 15.466 * Connection #0 to host 192.168.0.1 left intact
  266.  
  267. 15.466 * Connection #0 seems to be dead!
  268.  
  269. 15.476 * Closing connection #0
  270.  
  271. 15.476 * SSLv3, TLS alert, Client hello (1):
  272.  
  273. 15.476 * About to connect() to proxy 192.168.0.1 port 8080 (#0)
  274.  
  275. 15.476 * Trying 192.168.0.1...
  276. 15.476 * connected
  277.  
  278. 15.476 * Connected to 192.168.0.1 (192.168.0.1) port 8080 (#0)
  279.  
  280. 15.476 * Establish HTTP proxy tunnel to example.com:443
  281.  
  282. 15.476 * Server auth using Digest with user '$USERNAME'
  283.  
  284. 15.476 > CONNECT example.com:443 HTTP/1.1
  285.  
  286. Host: example.com:443
  287.  
  288. User-Agent: bzr/2.1.0 (pycurl: libcurl/7.19.6 OpenSSL/0.9.8l zlib/1.2.3)
  289.  
  290. Proxy-Connection: Keep-Alive
  291.  
  292. Cache-control: max-age=0
  293.  
  294. Pragma: no-cache
  295.  
  296. Connection: Keep-Alive
  297.  
  298.  
  299.  
  300.  
  301. 15.647 < HTTP/1.1 200 Connection established.
  302.  
  303.  
  304. 15.647 < Proxy-Agent: DeleGate/9.9.2
  305.  
  306.  
  307. 15.647 <
  308.  
  309.  
  310. 15.647 * Proxy replied OK to CONNECT request
  311.  
  312. 15.647 * successfully set certificate verify locations:
  313.  
  314. 15.647 * CAfile: none
  315. CApath: /etc/ssl/certs
  316.  
  317. 15.647 * SSL re-using session ID
  318.  
  319. 15.647 * SSLv3, TLS handshake, Client hello (1):
  320.  
  321. 15.797 * SSLv3, TLS handshake, Server hello (2):
  322.  
  323. 15.797 * SSLv3, TLS change cipher, Client hello (1):
  324.  
  325. 15.797 * SSLv3, TLS handshake, Finished (20):
  326.  
  327. 15.797 * SSLv3, TLS change cipher, Client hello (1):
  328.  
  329. 15.797 * SSLv3, TLS handshake, Finished (20):
  330.  
  331. 15.797 * SSL connection using DHE-RSA-AES256-SHA
  332.  
  333. 15.797 * Server certificate:
  334.  
  335. 15.797 * subject: CN=example.com
  336.  
  337. 15.797 * start date: 2010-01-17 11:33:24 GMT
  338.  
  339. 15.797 * expire date: 2010-07-16 11:33:24 GMT
  340.  
  341. 15.797 * subjectAltName: example.com matched
  342.  
  343. 15.797 * issuer: O=Root CA; OU=http://www.cacert.org; CN=CA Cert Signing Authority; emailAddress=support@cacert.org
  344.  
  345. 15.797 * SSL certificate verify ok.
  346.  
  347. 15.797 * Server auth using Digest with user '$USERNAME'
  348.  
  349. 15.797 > OPTIONS /bzr/test/.bzr/smart HTTP/1.1
  350.  
  351. Authorization: Digest username="$USERNAME", realm="Bazaar Repository", nonce="JEL+a5eCBAA=9294eb281d4699dc8c10eec7bc333641702661fe", uri="/bzr/test/.bzr/smart", cnonce="MjY0NTQ2", nc=00000002, qop="auth", response="a73875d9a136ecd302143b51cc50907f", algorithm="MD5"
  352.  
  353. User-Agent: bzr/2.1.0 (pycurl: libcurl/7.19.6 OpenSSL/0.9.8l zlib/1.2.3)
  354.  
  355. Host: example.com
  356.  
  357. Accept: */*
  358.  
  359. Cache-control: max-age=0
  360.  
  361. Pragma: no-cache
  362.  
  363. Connection: Keep-Alive
  364.  
  365. Content-Length: 6
  366.  
  367. Content-Type: application/x-www-form-urlencoded
  368.  
  369.  
  370.  
  371.  
  372. 16.077 < HTTP/1.1 401 Authorization Required
  373.  
  374.  
  375. 16.077 < Date: Thu, 25 Mar 2010 03:12:50 GMT
  376.  
  377.  
  378. 16.077 < Server: Apache
  379.  
  380.  
  381. 16.077 * Ignoring duplicate digest auth header.
  382.  
  383. 16.077 < WWW-Authenticate: Digest realm="Bazaar Repository", nonce="CEsHbJeCBAA=f26f70c7d9fc18ad1a53df881d483135f54c53fc", algorithm=MD5, qop="auth"
  384.  
  385.  
  386. 16.077 < Content-Length: 465
  387.  
  388.  
  389. 16.077 < Keep-Alive: timeout=15, max=100
  390.  
  391.  
  392. 16.077 < Connection: Keep-Alive
  393.  
  394.  
  395. 16.077 < Content-Type: text/html; charset=iso-8859-1
  396.  
  397.  
  398. 16.077 * necessary data rewind wasn't possible
  399.  
  400. 16.077 * Closing connection #0
  401.  
  402. 16.077 * SSLv3, TLS alert, Client hello (1):
  403.  
  404. 16.077 got pycurl error: 65, necessary data rewind wasn't possible, (65, "necessary data rewind wasn't possible"), url: https://example.com/bzr/test/.bzr/smart
  405. 16.517 Traceback (most recent call last):
  406. File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 853, in exception_to_return_code
  407. return the_callable(*args, **kwargs)
  408. File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 1055, in run_bzr
  409. ret = run(*run_argv)
  410. File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 661, in run_argv_aliases
  411. return self.run_direct(**all_cmd_args)
  412. File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 665, in run_direct
  413. return self._operation.run_simple(*args, **kwargs)
  414. File "/usr/lib/python2.6/site-packages/bzrlib/cleanup.py", line 122, in run_simple
  415. self.cleanups, self.func, *args, **kwargs)
  416. File "/usr/lib/python2.6/site-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
  417. result = func(*args, **kwargs)
  418. File "/usr/lib/python2.6/site-packages/bzrlib/builtins.py", line 1194, in run
  419. from_location)
  420. File "/usr/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 958, in open_tree_or_branch
  421. bzrdir = klass.open(location)
  422. File "/usr/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 843, in open
  423. return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  424. File "/usr/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 873, in open_from_transport
  425. redirected)
  426. File "/usr/lib/python2.6/site-packages/bzrlib/lazy_import.py", line 125, in __call__
  427. return obj(*args, **kwargs)
  428. File "/usr/lib/python2.6/site-packages/bzrlib/transport/__init__.py", line 1644, in do_catching_redirections
  429. return action(transport)
  430. File "/usr/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 860, in find_format
  431. transport, _server_formats=_server_formats)
  432. File "/usr/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 1820, in find_format
  433. return format.probe_transport(transport)
  434. File "/usr/lib/python2.6/site-packages/bzrlib/bzrdir.py", line 3151, in probe_transport
  435. server_version = medium.protocol_version()
  436. File "/usr/lib/python2.6/site-packages/bzrlib/smart/medium.py", line 628, in protocol_version
  437. client_protocol.query_version()
  438. File "/usr/lib/python2.6/site-packages/bzrlib/smart/protocol.py", line 785, in query_version
  439. self.call('hello')
  440. File "/usr/lib/python2.6/site-packages/bzrlib/smart/protocol.py", line 625, in call
  441. self._request.finished_writing()
  442. File "/usr/lib/python2.6/site-packages/bzrlib/smart/medium.py", line 441, in finished_writing
  443. self._finished_writing()
  444. File "/usr/lib/python2.6/site-packages/bzrlib/transport/http/__init__.py", line 646, in _finished_writing
  445. data = self._medium.send_http_smart_request(self._buffer)
  446. File "/usr/lib/python2.6/site-packages/bzrlib/transport/http/__init__.py", line 615, in send_http_smart_request
  447. code, body_filelike = t._post(bytes)
  448. File "/usr/lib/python2.6/site-packages/bzrlib/transport/http/_pycurl.py", line 269, in _post
  449. self._curl_perform(curl, header, ['Expect: '])
  450. File "/usr/lib/python2.6/site-packages/bzrlib/transport/http/_pycurl.py", line 357, in _curl_perform
  451. curl.perform()
  452. error: (65, "necessary data rewind wasn't possible")
  453.  
  454. 16.567 couldn't find apport bug-reporting library: No module named apport
  455. 16.627 Transferred: 6KiB (2.1K/s r:3K w:2K)
  456. 16.627 return code 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement