Title: SSL Certificate issue · Issue #10 · initialstate/python_appender · GitHub
Open Graph Title: SSL Certificate issue · Issue #10 · initialstate/python_appender
X Title: SSL Certificate issue · Issue #10 · initialstate/python_appender
Description: I have run the example as per the README but getting SSL issues. % cat test.py #!/usr/bin/env python3 from ISStreamer.Streamer import Streamer # Create streamer object streamer = Streamer(bucket_key="mybucketkey", access_key="myaccesskey...
Open Graph Description: I have run the example as per the README but getting SSL issues. % cat test.py #!/usr/bin/env python3 from ISStreamer.Streamer import Streamer # Create streamer object streamer = Streamer(bucket_ke...
X Description: I have run the example as per the README but getting SSL issues. % cat test.py #!/usr/bin/env python3 from ISStreamer.Streamer import Streamer # Create streamer object streamer = Streamer(bucket_ke...
Opengraph URL: https://github.com/initialstate/python_appender/issues/10
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SSL Certificate issue","articleBody":"I have run the example as per the README but getting SSL issues.\r\n\r\n```\r\n% cat test.py\r\n#!/usr/bin/env python3\r\n\r\nfrom ISStreamer.Streamer import Streamer\r\n\r\n# Create streamer object\r\n\r\nstreamer = Streamer(bucket_key=\"mybucketkey\", access_key=\"myaccesskey\")\r\n\r\nstreamer.log(\"test\",\"hello\")\r\nstreamer.log(\"test\",\"world!\")\r\nstreamer.log(\"temperature\",19)\r\n\r\nstreamer.close()\r\n```\r\n```\r\n% ./test.py\r\nship: ISStreamer failed to ship after a number of attempts.\r\nship: ISStreamer failed to ship after a number of attempts.\r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ISStreamer/Streamer.py\", line 130, in __ship\r\n conn.request('POST', resource, json.dumps(contents), headers)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1229, in request\r\n self._send_request(method, url, body, headers, encode_chunked)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1275, in _send_request\r\n self.endheaders(body, encode_chunked=encode_chunked)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1224, in endheaders\r\n self._send_output(message_body, encode_chunked=encode_chunked)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1016, in _send_output\r\n self.send(msg)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 956, in send\r\n self.connect()\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1392, in connect\r\n server_hostname=server_hostname)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 412, in wrap_socket\r\n session=session\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 853, in _create\r\n self.do_handshake()\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 1117, in do_handshake\r\n self._sslobj.do_handshake()\r\nssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ISStreamer/Streamer.py\", line 130, in __ship\r\n conn.request('POST', resource, json.dumps(contents), headers)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1229, in request\r\n self._send_request(method, url, body, headers, encode_chunked)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1275, in _send_request\r\n self.endheaders(body, encode_chunked=encode_chunked)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1224, in endheaders\r\n self._send_output(message_body, encode_chunked=encode_chunked)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1016, in _send_output\r\n self.send(msg)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 956, in send\r\n self.connect()\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1392, in connect\r\n server_hostname=server_hostname)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 412, in wrap_socket\r\n session=session\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 853, in _create\r\n self.do_handshake()\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 1117, in do_handshake\r\n self._sslobj.do_handshake()\r\nssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ISStreamer/Streamer.py\", line 130, in __ship\r\n conn.request('POST', resource, json.dumps(contents), headers)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1229, in request\r\n self._send_request(method, url, body, headers, encode_chunked)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1275, in _send_request\r\n self.endheaders(body, encode_chunked=encode_chunked)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1224, in endheaders\r\n self._send_output(message_body, encode_chunked=encode_chunked)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1016, in _send_output\r\n self.send(msg)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 956, in send\r\n self.connect()\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py\", line 1392, in connect\r\n server_hostname=server_hostname)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 412, in wrap_socket\r\n session=session\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 853, in _create\r\n self.do_handshake()\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 1117, in do_handshake\r\n self._sslobj.do_handshake()\r\nssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py\", line 917, in _bootstrap_inner\r\n self.run()\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py\", line 865, in run\r\n self._target(*self._args, **self._kwargs)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ISStreamer/Streamer.py\", line 177, in __create_bucket\r\n self.ship_to_api(\"/api/buckets\", {'bucketKey': new_bucket_key, 'bucketName': new_bucket_name})\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ISStreamer/Streamer.py\", line 173, in ship_to_api\r\n __ship(3)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ISStreamer/Streamer.py\", line 171, in __ship\r\n __ship(retry_attempts, 1)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ISStreamer/Streamer.py\", line 171, in __ship\r\n __ship(retry_attempts, 1)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ISStreamer/Streamer.py\", line 171, in __ship\r\n __ship(retry_attempts, 1)\r\n File \"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ISStreamer/Streamer.py\", line 122, in __ship\r\n self.MissedEvents.write(\"{}\\n\".format(json.dumps(contents)))\r\nValueError: I/O operation on closed file.\r\n\r\n```","author":{"url":"https://github.com/doghousedean","@type":"Person","name":"doghousedean"},"datePublished":"2019-02-21T11:09:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/10/python_appender/issues/10"}
| 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:426fd4c5-5db8-b048-6463-cabf5ca675a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF5A:394DD8:9C018D:CBAA7E:697F8389 |
| html-safe-nonce | 96603061f59573af55d664d8931c20d9a29d657445ae56980c07fe9db8eba059 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjVBOjM5NEREODo5QzAxOEQ6Q0JBQTdFOjY5N0Y4Mzg5IiwidmlzaXRvcl9pZCI6IjU4Mzg2NTk5NTUwNTc0NjAxMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 97c8d4dd45ffdb3ddde6f8df22b290c3063a07ba2dd5ef3e14c83bdf692ea430 |
| hovercard-subject-tag | issue:412870419 |
| 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/initialstate/python_appender/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a84ab5d0e40880720acc11ae269c4b40c459cbac1059d31d4268f69033e5d89/initialstate/python_appender/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a84ab5d0e40880720acc11ae269c4b40c459cbac1059d31d4268f69033e5d89/initialstate/python_appender/issues/10 |
| og:image:alt | I have run the example as per the README but getting SSL issues. % cat test.py #!/usr/bin/env python3 from ISStreamer.Streamer import Streamer # Create streamer object streamer = Streamer(bucket_ke... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | doghousedean |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/initialstate/python_appender git https://github.com/initialstate/python_appender.git |
| octolytics-dimension-user_id | 5839563 |
| octolytics-dimension-user_login | initialstate |
| octolytics-dimension-repository_id | 23929044 |
| octolytics-dimension-repository_nwo | initialstate/python_appender |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 23929044 |
| octolytics-dimension-repository_network_root_nwo | initialstate/python_appender |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width