Title: beaver ssl error · Issue #405 · python-beaver/python-beaver · GitHub
Open Graph Title: beaver ssl error · Issue #405 · python-beaver/python-beaver
X Title: beaver ssl error · Issue #405 · python-beaver/python-beaver
Description: When trying to use beaver with tcp transport and ssl enabled, I get an exception. My backend is haproxy with ssl enabled. I tried to connect to same haproxy with other clients like kibana and it worked fine. So haproxy configuration seem...
Open Graph Description: When trying to use beaver with tcp transport and ssl enabled, I get an exception. My backend is haproxy with ssl enabled. I tried to connect to same haproxy with other clients like kibana and it wo...
X Description: When trying to use beaver with tcp transport and ssl enabled, I get an exception. My backend is haproxy with ssl enabled. I tried to connect to same haproxy with other clients like kibana and it wo...
Opengraph URL: https://github.com/python-beaver/python-beaver/issues/405
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"beaver ssl error","articleBody":"When trying to use beaver with tcp transport and ssl enabled, I get an exception. My backend is haproxy with ssl enabled. I tried to connect to same haproxy with other clients like kibana and it worked fine. So haproxy configuration seems to be correct. I have tried using self signed certificates on OS X and CentOS 7.2, and I get the same error.\n\nThis is the code line:\n`ssl.wrap_socket(self._sock,ssl_version=ssl.PROTOCOL_SSLv23,cert_reqs=ssl.CERT_NONE, ca_certs=\u003cpath to ca crt\u003e)`\n\nI have tried all possible arguments in ssl.wrap_socket() method. Please help me with this issue. \n\n`Process Process-1:2:\nTraceback (most recent call last):\n File \"/usr/local/Cellar/python/2.7.10_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 258, in _bootstrap\n self.run()\n File \"/usr/local/Cellar/python/2.7.10_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py\", line 114, in run\n self._target(*self._args, **self._kwargs)\n File \"/usr/local/lib/python2.7/site-packages/Beaver-36.0.0-py2.7.egg/beaver/run_queue.py\", line 25, in run_queue\n transport = create_transport(beaver_config, logger=logger)\n File \"/usr/local/lib/python2.7/site-packages/Beaver-36.0.0-py2.7.egg/beaver/transports/__init__.py\", line 20, in create_transport\n transport = transport_class(beaver_config=beaver_config, logger=logger)\n File \"/usr/local/lib/python2.7/site-packages/Beaver-36.0.0-py2.7.egg/beaver/transports/tcp_transport.py\", line 25, in __init__\n self._connect()\n File \"/usr/local/lib/python2.7/site-packages/Beaver-36.0.0-py2.7.egg/beaver/transports/tcp_transport.py\", line 52, in _connect\n self._sock = ssl.wrap_socket(self._sock,ssl_version=ssl.PROTOCOL_SSLv23,cert_reqs=ssl.CERT_NONE, ca_certs='/Users/akuncham/development/beaver_new/ssl2/server.crt',suppress_ragged_eofs=False)\n File \"/usr/local/Cellar/python/2.7.10_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py\", line 911, in wrap_socket\n ciphers=ciphers)\n File \"/usr/local/Cellar/python/2.7.10_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py\", line 579, in __init__\n self.do_handshake()\n File \"/usr/local/Cellar/python/2.7.10_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py\", line 808, in do_handshake\n self._sslobj.do_handshake()\nSSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590)`\n","author":{"url":"https://github.com/anilkun","@type":"Person","name":"anilkun"},"datePublished":"2016-05-09T19:13:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/405/python-beaver/issues/405"}
| 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:dfbc866f-95dd-bcad-6185-85c020d959ce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0E2:64491:1F55E97:2B258D4:696AB455 |
| html-safe-nonce | be57f77fca74abb1c5348a126056451ad9a6ea4948d7a808618f7c900e8cc344 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEUyOjY0NDkxOjFGNTVFOTc6MkIyNThENDo2OTZBQjQ1NSIsInZpc2l0b3JfaWQiOiI2NDQ4NzIxMjI3MzkxMTA5OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6a154495b70c7b603ae10fa06a5d672d9819bf576dbc428c8ebbd8e62d72c796 |
| hovercard-subject-tag | issue:153847832 |
| 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/python-beaver/python-beaver/405/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a11d0372957836e9baaa643ab3a73b0e24735c6f2437bd9822eb1887dd9e2a7/python-beaver/python-beaver/issues/405 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a11d0372957836e9baaa643ab3a73b0e24735c6f2437bd9822eb1887dd9e2a7/python-beaver/python-beaver/issues/405 |
| og:image:alt | When trying to use beaver with tcp transport and ssl enabled, I get an exception. My backend is haproxy with ssl enabled. I tried to connect to same haproxy with other clients like kibana and it wo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anilkun |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-beaver/python-beaver git https://github.com/python-beaver/python-beaver.git |
| octolytics-dimension-user_id | 16486652 |
| octolytics-dimension-user_login | python-beaver |
| octolytics-dimension-repository_id | 5171841 |
| octolytics-dimension-repository_nwo | python-beaver/python-beaver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5171841 |
| octolytics-dimension-repository_network_root_nwo | python-beaver/python-beaver |
| 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 | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width