Title: Missing content-length, incorrect content-length, bad interaction with gold proxy · Issue #250 · nodeSolidServer/node-solid-server · GitHub
Open Graph Title: Missing content-length, incorrect content-length, bad interaction with gold proxy · Issue #250 · nodeSolidServer/node-solid-server
X Title: Missing content-length, incorrect content-length, bad interaction with gold proxy · Issue #250 · nodeSolidServer/node-solid-server
Description: Strange maybe compound bug GET https://databox.me/,proxy?uri=http://localhost:3080/timbl/Public/PublicTypeIndex.ttl net::ERR_EMPTY_RESPONSE That is from chrome JS console. $ curl https://databox.me/,proxy?uri=http://l...
Open Graph Description: Strange maybe compound bug GET https://databox.me/,proxy?uri=http://localhost:3080/timbl/Public/PublicTypeIndex.ttl net::ERR_EMPTY_RESPONSE That is from chrome JS console. $ curl http...
X Description: Strange maybe compound bug GET https://databox.me/,proxy?uri=http://localhost:3080/timbl/Public/PublicTypeIndex.ttl net::ERR_EMPTY_RESPONSE That is from chrome JS console. $ curl http...
Opengraph URL: https://github.com/nodeSolidServer/node-solid-server/issues/250
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing content-length, incorrect content-length, bad interaction with gold proxy","articleBody":"```\nStrange maybe compound bug\n\nGET https://databox.me/,proxy?uri=http%3A%2F%2Flocalhost%3A3080%2Ftimbl%2FPublic%2FPublicTypeIndex.ttl net::ERR_EMPTY_RESPONSE\n\nThat is from chrome JS console.\n\n$ curl https://databox.me/,proxy?uri=http%3A%2F%2Flocalhost%3A3080%2Ftimbl%2FPublic%2FPublicTypeIndex.ttl\ncurl: (52) Empty reply from server\n\nThat is from curl. So the proxy is definitely broken.\nSame happens with a HEAD request:\n\ncurl -I https://databox.me/,proxy?uri=http%3A%2F%2Flocalhost%3A3080%2Ftimbl%2FPublic%2FPublicTypeIndex.ttl\ncurl: (52) Empty reply from server\n\nThat said, the original resource being proxied is a bit strange.\nIt has a content-length of 2 in a HEAD:\n``\n $ curl -I http://localhost:3080/timbl/Public/PublicTypeIndex.ttl\nHTTP/1.1 200 OK\nX-Powered-By: Express\nLink: \u003cPublicTypeIndex.ttl.acl\u003e; rel=\"acl\", \u003cPublicTypeIndex.ttl.meta\u003e; rel=\"describedBy\", \u003chttp://www.w3.org/ns/ldp#Resource\u003e; rel=\"type\"\nVary: Origin\nAccess-Control-Allow-Credentials: true\nAccess-Control-Expose-Headers: User, Location, Link, Vary, Last-Modified, Content-Length\nMS-Author-Via: SPARQL\nUpdates-Via: http://localhost:3080\nContent-Type: text/plain; charset=utf-8\nContent-Length: 2\nETag: W/\"2-4KoCHiHd29bYzs7HHpz1ZA\"\nset-cookie: connect.sid=s%3A1M4dZlcCPpfdrXlzHj7qdzJGIQXwDqTG.j2qJWrO1B0OKg7MJ%2FEhnxv0xgcJsR802ZQ0XC8RyRL4; Path=/; HttpOnly\nDate: Wed, 17 Feb 2016 11:30:05 GMT\nConnection: keep-alive\n\ntimbl 06:35\nwell that was my localhost copy. The copy on https://timbl.com/ does the same\nWhat happens when we GET the original file from ldnode?\n\n $ curl -v https://timbl.com/timbl/Public/PublicTypeIndex.ttl\n* Trying 73.218.51.127...\n* Connected to timbl.com (73.218.51.127) port 443 (#0)\n* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\n* Server certificate: timbl.com\n\u003e GET /timbl/Public/PublicTypeIndex.ttl HTTP/1.1\n\u003e Host: timbl.com\n\u003e User-Agent: curl/7.43.0\n\u003e Accept: */*\n\u003e \n\u003c HTTP/1.1 200 OK\n\u003c X-Powered-By: Express\n\u003c Link: \u003cPublicTypeIndex.ttl.acl\u003e; rel=\"acl\", \u003cPublicTypeIndex.ttl.meta\u003e; rel=\"describedBy\", \u003chttp://www.w3.org/ns/ldp#Resource\u003e; rel=\"type\"\n\u003c Vary: Origin\n\u003c Access-Control-Allow-Credentials: true\n\u003c Access-Control-Expose-Headers: User, Location, Link, Vary, Last-Modified, Content-Length\n\u003c MS-Author-Via: SPARQL\n\u003c Updates-Via: https://timbl.com\n\u003c Content-Type: text/turtle\n\u003c set-cookie: connect.sid=s%3Ad5FCDhbngX14k2LcLhIJU9sytdmn34ps.3XR3%2B9Km5zcsq5Mqzh%2Fj0p%2FkTAsxzf2dNKHY6361zJM; Path=/; HttpOnly; Secure\n\u003c Date: Wed, 17 Feb 2016 11:34:34 GMT\n\u003c Connection: keep-alive\n\u003c Transfer-Encoding: chunked\n\u003c \n@prefix n: \u003chttp://www.w3.org/2006/vcard/ns#\u003e.\n@prefix terms: \u003chttps://www.w3.org/ns/solid/terms#\u003e.\n@prefix boo: \u003chttp://localhost:3080/timbl/2016/02/01/test1/book.ttl#\u003e.\n\n n:AddressBook terms:instance boo:this .\n* Connection #0 to host timbl.com left intact\n$\n\nA weird thing there is there is no content-length sent at all. Is that an excuse for the proxy to disconnect? But it should sent the content-length, even if it uses streaming internally.\nSo this looks like three bugs\n\n- The bad content-length of 2 on a HEAD\n- the missing content-length (I mean) on the GET (from ldnode)\n- in gold, the bad reaction in closing down the client connection, whcih should not happen even if no content-length\n```\n","author":{"url":"https://github.com/timbl","@type":"Person","name":"timbl"},"datePublished":"2016-02-17T11:48:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/250/node-solid-server/issues/250"}
| 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:0d17b610-e0b9-9e66-c802-9524a043e1dc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAC4:267D16:F35DA5:13AE0F1:6976A533 |
| html-safe-nonce | 66968f4d2798d88ca33d04777eb6d64523b23dbea2b25aeba3c353f5e06e5ffe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUM0OjI2N0QxNjpGMzVEQTU6MTNBRTBGMTo2OTc2QTUzMyIsInZpc2l0b3JfaWQiOiIxODg0OTA0MDk2OTU0MjE3NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dd93942250346b89c3a4965d454d002731adeb964f20131973a86867e9df92f3 |
| hovercard-subject-tag | issue:134258911 |
| 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/nodeSolidServer/node-solid-server/250/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb55b43fe72bbdc84ad9f23da7bf4a79eab5b458aad7577905a7ebaf61f622f4/nodeSolidServer/node-solid-server/issues/250 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb55b43fe72bbdc84ad9f23da7bf4a79eab5b458aad7577905a7ebaf61f622f4/nodeSolidServer/node-solid-server/issues/250 |
| og:image:alt | Strange maybe compound bug GET https://databox.me/,proxy?uri=http://localhost:3080/timbl/Public/PublicTypeIndex.ttl net::ERR_EMPTY_RESPONSE That is from chrome JS console. $ curl http... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timbl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodeSolidServer/node-solid-server git https://github.com/nodeSolidServer/node-solid-server.git |
| octolytics-dimension-user_id | 104446421 |
| octolytics-dimension-user_login | nodeSolidServer |
| octolytics-dimension-repository_id | 24306004 |
| octolytics-dimension-repository_nwo | nodeSolidServer/node-solid-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24306004 |
| octolytics-dimension-repository_network_root_nwo | nodeSolidServer/node-solid-server |
| 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 | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width