Title: Issues with Amazon Alexa Voice Service · Issue #225 · python-hyper/hyper · GitHub
Open Graph Title: Issues with Amazon Alexa Voice Service · Issue #225 · python-hyper/hyper
X Title: Issues with Amazon Alexa Voice Service · Issue #225 · python-hyper/hyper
Description: Amazon have released a new API for Alexa but its HTTP/2 only, this is my first attempts with http/2 but there seems to be a problem with accessing the amazon API using hyper, other test servers work fine and I can also connect using curl...
Open Graph Description: Amazon have released a new API for Alexa but its HTTP/2 only, this is my first attempts with http/2 but there seems to be a problem with accessing the amazon API using hyper, other test servers wor...
X Description: Amazon have released a new API for Alexa but its HTTP/2 only, this is my first attempts with http/2 but there seems to be a problem with accessing the amazon API using hyper, other test servers wor...
Opengraph URL: https://github.com/python-hyper/hyper/issues/225
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issues with Amazon Alexa Voice Service","articleBody":"Amazon have released a new API for Alexa but its HTTP/2 only, this is my first attempts with http/2 but there seems to be a problem with accessing the amazon API using hyper, other test servers work fine and I can also connect using curl, I get this error using either hyper on the command line or in a script.\n(Token redacted to XXXXX, message me if you need a token to test with)\n\nroot@AlexaPiV2:~/curl-7.48.0# hyper --debug GET https://avs-alexa-na.amazon.com/v20160207/directives 'Authorization:Bearer XXXXXXXXXXXXXXXX'\nUrl Info: {'secure': True, 'fragment': None, 'netloc': 'avs-alexa-na.amazon.com', 'host': 'avs-alexa-na.amazon.com', 'query': None, 'path': '/v20160207/directives', 'scheme': 'https', 'port': 443}\nCommandline Argument: Namespace(_url='https://avs-alexa-na.amazon.com/v20160207/directives', body=None, debug=True, h2=False, headers={'Authorization': 'Bearer XXXXXXXXXXXX'}, items=[\u003chyper.cli.KeyValue object at 0x766c45f0\u003e], method='GET', url=\u003chyper.cli.UrlInfo object at 0x766c4710\u003e)\nSelected protocol: None\nTraceback (most recent call last):\n File \"/usr/local/bin/hyper\", line 11, in \u003cmodule\u003e\n sys.exit(main())\n File \"/usr/local/lib/python2.7/dist-packages/hyper/cli.py\", line 244, in main\n data = request(args)\n File \"/usr/local/lib/python2.7/dist-packages/hyper/cli.py\", line 234, in request\n response = conn.get_response()\n File \"/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py\", line 124, in get_response\n return self._conn.get_response(_args, *_kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py\", line 199, in get_response\n response = self.parser.parse_response(self._sock.buffer)\n File \"/usr/local/lib/python2.7/dist-packages/hyper/http11/parser.py\", line 52, in parse_response\n version, status, reason = temp_buffer[0:index].split(None, 2)\nValueError: need more than 1 value to unpack\nroot@AlexaPiV2:~/curl-7.48.0# \n","author":{"url":"https://github.com/sammachin","@type":"Person","name":"sammachin"},"datePublished":"2016-04-18T09:49:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/225/hyper/issues/225"}
| 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:efe56b6b-945c-5ece-7b9c-6bc47d22c5e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91D0:A2119:A49E52:DCA0F4:69704414 |
| html-safe-nonce | 827ece05c50acb3a5b1a83fa72e88b72b29ba0c61ef582a87aba25c8f672c787 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUQwOkEyMTE5OkE0OUU1MjpEQ0EwRjQ6Njk3MDQ0MTQiLCJ2aXNpdG9yX2lkIjoiNzg2NDkyMDg0ODM2NjMyMjcwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0ed44e9d3e2e2d20b1016aa26a47dc531bd876245abc57323c6d6780164dec70 |
| hovercard-subject-tag | issue:149101633 |
| 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-hyper/hyper/225/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ab5ea2e2593d1d62245c69c19e44c849efa89339983862d7314b7349a4686151/python-hyper/hyper/issues/225 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ab5ea2e2593d1d62245c69c19e44c849efa89339983862d7314b7349a4686151/python-hyper/hyper/issues/225 |
| og:image:alt | Amazon have released a new API for Alexa but its HTTP/2 only, this is my first attempts with http/2 but there seems to be a problem with accessing the amazon API using hyper, other test servers wor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sammachin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/hyper git https://github.com/python-hyper/hyper.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 16165969 |
| octolytics-dimension-repository_nwo | python-hyper/hyper |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16165969 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyper |
| 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 | f643964067a552f02067066d6a910b2f90a5721f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width