Title: Websocket error abortHandshake · Issue #149 · binary-com/binary-live-api · GitHub
Open Graph Title: Websocket error abortHandshake · Issue #149 · binary-com/binary-live-api
X Title: Websocket error abortHandshake · Issue #149 · binary-com/binary-live-api
Description: I want to convert all my nodejs projects from using the api to using this api wrapper. But I cannot get past the first connection with this package. I keep getting errors with the demo using yarn and npm: yarn run v1.22.4 $ node node-dem...
Open Graph Description: I want to convert all my nodejs projects from using the api to using this api wrapper. But I cannot get past the first connection with this package. I keep getting errors with the demo using yarn a...
X Description: I want to convert all my nodejs projects from using the api to using this api wrapper. But I cannot get past the first connection with this package. I keep getting errors with the demo using yarn a...
Opengraph URL: https://github.com/binary-com/binary-live-api/issues/149
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Websocket error abortHandshake","articleBody":"I want to convert all my nodejs projects from using the api to using this api wrapper. But I cannot get past the first connection with this package.\r\n\r\nI keep getting errors with the demo using yarn and npm:\r\n\r\nyarn run v1.22.4\r\n$ node node-demo.js\r\nevents.js:288\r\n throw er; // Unhandled 'error' event\r\n ^\r\n\r\nError: Unexpected server response: 401\r\n at ClientRequest.\u003canonymous\u003e (C:\\Users\\binary-live-api-master\\binary-live-api-master\\demos\\node\\node_modules\\ws\\lib\\websocket.js:579:7)\r\n at ClientRequest.emit (events.js:311:20)\r\n at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:603:27)\r\n at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)\r\n at TLSSocket.socketOnData (_http_client.js:476:22)\r\n at TLSSocket.emit (events.js:311:20)\r\n at addChunk (_stream_readable.js:294:12)\r\n at readableAddChunk (_stream_readable.js:275:11)\r\n at TLSSocket.Readable.push (_stream_readable.js:209:10)\r\n at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23)\r\nEmitted 'error' event on WebSocket instance at:\r\n at abortHandshake (C:\\Users\\binary-live-api-master\\binary-live-api-master\\demos\\node\\node_modules\\ws\\lib\\websocket.js:693:15)\r\n at ClientRequest.\u003canonymous\u003e (C:\\Users\\binary-live-api-master\\binary-live-api-master\\demos\\node\\node_modules\\ws\\lib\\websocket.js:579:7)\r\n [... lines matching original stack trace ...]\r\n at TLSSocket.Readable.push (_stream_readable.js:209:10)\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\n\r\nHow can I fix this?\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/lechim","@type":"Person","name":"lechim"},"datePublished":"2020-05-06T10:55:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/149/binary-live-api/issues/149"}
| 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:8c4e9c50-7b70-7167-b8c3-d73c5a4d9ea3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7D4:BE73E:32CDFC4:3433E4E:6A632D7F |
| html-safe-nonce | 45c9d09067591a2d2d2cb9594634c208d2a67f914e5f3d446bc1f2086241b663 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0Q0OkJFNzNFOjMyQ0RGQzQ6MzQzM0U0RTo2QTYzMkQ3RiIsInZpc2l0b3JfaWQiOiI4OTUyOTg0MDUxODUyMTkzMTUxIiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | e945c7b6e29b482e78790b20d49a280838a866f854473d131e774c2ba89d56d0 |
| hovercard-subject-tag | issue:613229443 |
| 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/binary-com/binary-live-api/149/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d11881d42bd5b1c8356c7289d80323658c9fea80424efc7f57e793a58372792/binary-com/binary-live-api/issues/149 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d11881d42bd5b1c8356c7289d80323658c9fea80424efc7f57e793a58372792/binary-com/binary-live-api/issues/149 |
| og:image:alt | I want to convert all my nodejs projects from using the api to using this api wrapper. But I cannot get past the first connection with this package. I keep getting errors with the demo using yarn a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lechim |
| hostname | github.com |
| expected-hostname | github.com |
| None | 30c644d502bce6cd2e59f9000b4744f2b64819abea8e8f959b18e3ad793125aa |
| turbo-cache-control | no-preview |
| go-import | github.com/binary-com/binary-live-api git https://github.com/binary-com/binary-live-api.git |
| octolytics-dimension-user_id | 7437559 |
| octolytics-dimension-user_login | binary-com |
| octolytics-dimension-repository_id | 36850842 |
| octolytics-dimension-repository_nwo | binary-com/binary-live-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36850842 |
| octolytics-dimension-repository_network_root_nwo | binary-com/binary-live-api |
| 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 | 331492a48ebd91d66ef2de38e1901bb911c9fe9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width