Title: Bad response status code 500 on getImage · Issue #55 · plotly/plotly-nodejs · GitHub
Open Graph Title: Bad response status code 500 on getImage · Issue #55 · plotly/plotly-nodejs
X Title: Bad response status code 500 on getImage · Issue #55 · plotly/plotly-nodejs
Description: Executing the example for getImage fails with: { Error: Bad response status code 500 at ClientRequest.handleResponse (/home/berengar/npmproj/pytrader/node_modules/plotly/index.js:237:25) at Object.onceWrapper (events.js:315:30) at emitOn...
Open Graph Description: Executing the example for getImage fails with: { Error: Bad response status code 500 at ClientRequest.handleResponse (/home/berengar/npmproj/pytrader/node_modules/plotly/index.js:237:25) at Object....
X Description: Executing the example for getImage fails with: { Error: Bad response status code 500 at ClientRequest.handleResponse (/home/berengar/npmproj/pytrader/node_modules/plotly/index.js:237:25) at Object....
Opengraph URL: https://github.com/plotly/plotly-nodejs/issues/55
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bad response status code 500 on getImage","articleBody":"Executing the example for getImage fails with:\r\n`{ Error: Bad response status code 500\r\n at ClientRequest.handleResponse (/home/berengar/npmproj/pytrader/node_modules/plotly/index.js:237:25)\r\n at Object.onceWrapper (events.js:315:30)\r\n at emitOne (events.js:116:13)\r\n at ClientRequest.emit (events.js:211:7)\r\n at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:551:21)\r\n at HTTPParser.parserOnHeadersComplete (_http_common.js:117:23)\r\n at TLSSocket.socketOnData (_http_client.js:440:20)\r\n at emitOne (events.js:116:13)\r\n at TLSSocket.emit (events.js:211:7)\r\n at addChunk (_stream_readable.js:263:12) msg: undefined }`\r\n\r\nThe code which was executed(with valid 'username','apiKey'):\r\n`var plotly = require('plotly')('username','apiKey');\r\nvar fs = require('fs');\r\n\r\nvar trace1 = {\r\n x: [1, 2, 3, 4],\r\n y: [10, 15, 13, 17],\r\n type: \"scatter\"\r\n};\r\n\r\nvar figure = { 'data': [trace1] };\r\n\r\nvar imgOpts = {\r\n format: 'png',\r\n width: 1000,\r\n height: 500\r\n};\r\n\r\nplotly.getImage(figure, imgOpts, function (error, imageStream) {\r\n if (error) return console.log (error);\r\n\r\n var fileStream = fs.createWriteStream('1.png');\r\n imageStream.pipe(fileStream);\r\n});`","author":{"url":"https://github.com/b3r3ngar","@type":"Person","name":"b3r3ngar"},"datePublished":"2018-01-14T19:25:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/55/plotly-nodejs/issues/55"}
| 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:2ef86760-3f12-0e30-4b79-f0a4fb65da0e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAA2:217F46:6E76A4:9AB797:696A12AE |
| html-safe-nonce | 6f6d78d24610569c98ecc94a9f147a1a267a9a8bdcb94e1f41dfd72fbbc91ca2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUEyOjIxN0Y0Njo2RTc2QTQ6OUFCNzk3OjY5NkExMkFFIiwidmlzaXRvcl9pZCI6IjcyNDMyMDAxNDczMDkwNzMwNzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | db1a28e9cc22e28fb0db464e868f145ec978031c3e0f7ca081c4796c67daf529 |
| hovercard-subject-tag | issue:288432290 |
| 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/plotly/plotly-nodejs/55/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eed22ff0be6c0c65f63c936bce9497e56affcfe7db43aade88fa981381df55c3/plotly/plotly-nodejs/issues/55 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eed22ff0be6c0c65f63c936bce9497e56affcfe7db43aade88fa981381df55c3/plotly/plotly-nodejs/issues/55 |
| og:image:alt | Executing the example for getImage fails with: { Error: Bad response status code 500 at ClientRequest.handleResponse (/home/berengar/npmproj/pytrader/node_modules/plotly/index.js:237:25) at Object.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | b3r3ngar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly-nodejs git https://github.com/plotly/plotly-nodejs.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 16871752 |
| octolytics-dimension-repository_nwo | plotly/plotly-nodejs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16871752 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly-nodejs |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width