Title: OpenSSL.SSL.WantReadError · Issue #13 · cedadev/ndg_httpsclient · GitHub
Open Graph Title: OpenSSL.SSL.WantReadError · Issue #13 · cedadev/ndg_httpsclient
X Title: OpenSSL.SSL.WantReadError · Issue #13 · cedadev/ndg_httpsclient
Description: Hi, I'm trying to use pyopenssl with ndg and the following error occurs in con.getresponse(): Error Raise WantReadError () OpenSSL.SSL.WantReadError Code: from OpenSSL import crypto , SSL from ndg.httpsclient.https import HTTPSConnection...
Open Graph Description: Hi, I'm trying to use pyopenssl with ndg and the following error occurs in con.getresponse(): Error Raise WantReadError () OpenSSL.SSL.WantReadError Code: from OpenSSL import crypto , SSL from ndg....
X Description: Hi, I'm trying to use pyopenssl with ndg and the following error occurs in con.getresponse(): Error Raise WantReadError () OpenSSL.SSL.WantReadError Code: from OpenSSL import crypto , SSL from ...
Opengraph URL: https://github.com/cedadev/ndg_httpsclient/issues/13
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OpenSSL.SSL.WantReadError","articleBody":"Hi,\r\n\r\nI'm trying to use pyopenssl with ndg and the following error occurs in con.getresponse():\r\n\r\nError\r\nRaise WantReadError ()\r\nOpenSSL.SSL.WantReadError\r\n\r\n\r\nCode:\r\n\r\nfrom OpenSSL import crypto , SSL\r\nfrom ndg.httpsclient.https import HTTPSConnection\r\n\r\npkcs12 = crypto.load_pkcs12(open('certi.pfx', 'rb').read(), 'pass') \r\ncerti = crypto.dump_certificate( crypto.FILETYPE_PEM , pkcs12.get_certificate() )\r\nkey = crypto.dump_privatekey( crypto.FILETYPE_PEM , pkcs12.get_privatekey() )\r\n\r\ncert_openssl = crypto.load_certificate(crypto.FILETYPE_PEM, certi)\r\nkey_openssl = crypto.load_privatekey(crypto.FILETYPE_PEM, key) \r\nctx = SSL.Context(SSL.SSLv23_METHOD)\r\nctx.use_certificate(cert_openssl)\r\nctx.use_privatekey(key_openssl)\r\n\r\ncon = HTTPSConnection('server', port=443, ssl_context=ctx)\r\ncon.connect()\r\ncon.request( b'POST', b'/' + cURL.encode('utf-8'), xml_soap.encode('utf-8'), header) \r\n\r\nresp = con.getresponse()\r\n","author":{"url":"https://github.com/edsonitk","@type":"Person","name":"edsonitk"},"datePublished":"2017-02-20T11:38:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/13/ndg_httpsclient/issues/13"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e526f624-d88b-a286-cad8-c30838099305 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E686:894D3:1EFCE1:284332:698E5CAC |
| html-safe-nonce | f84cd0ddca08fd53c105d0ba742a2cd93986f6e43405421f407ea24fcffc9e5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjg2Ojg5NEQzOjFFRkNFMToyODQzMzI6Njk4RTVDQUMiLCJ2aXNpdG9yX2lkIjoiNTc5MTc3NDA1MTk0NTgzMTU5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 20a4243cea6187f6e3f9a99b06407b993111a051bd27bf209762a1c25cc126f2 |
| hovercard-subject-tag | issue:208855406 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cedadev/ndg_httpsclient/13/issue_layout |
| twitter:image | https://opengraph.githubassets.com/527ffbbe158bc01b3ec2e93da6d269c6e6b230b894c730c432736e681c368e6d/cedadev/ndg_httpsclient/issues/13 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/527ffbbe158bc01b3ec2e93da6d269c6e6b230b894c730c432736e681c368e6d/cedadev/ndg_httpsclient/issues/13 |
| og:image:alt | Hi, I'm trying to use pyopenssl with ndg and the following error occurs in con.getresponse(): Error Raise WantReadError () OpenSSL.SSL.WantReadError Code: from OpenSSL import crypto , SSL from ndg.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | edsonitk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 666e30cc1de8ebdf458084bf731e95deba4f074a5008f91b50803aa9a71e3725 |
| turbo-cache-control | no-preview |
| go-import | github.com/cedadev/ndg_httpsclient git https://github.com/cedadev/ndg_httpsclient.git |
| octolytics-dimension-user_id | 1781681 |
| octolytics-dimension-user_login | cedadev |
| octolytics-dimension-repository_id | 12539989 |
| octolytics-dimension-repository_nwo | cedadev/ndg_httpsclient |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12539989 |
| octolytics-dimension-repository_network_root_nwo | cedadev/ndg_httpsclient |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f2d67bd549813f8aceb31f205ebdb434e9d46d38 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width