nodeSolidServer / node-solid-server

Solid server on top of the file-system in NodeJS
https://solidproject.org/for-developers/pod-server
Other
1.77k stars 298 forks source link

Get of file times out - socket disconnected #1396

Open timbl opened 4 years ago

timbl commented 4 years ago

Node command line log of client:

Fetcher: <https://timbl.com/timbl/Public/Archive/linkeddata/chat/2019/08/23/chat.ttl> Non-HTTP fetch error: FetchError: request to https://timbl.com/timbl/Public/Archive/linkeddata/chat/2019/08/23/chat.ttl failed, reason: socket hang up
 #### Error reading  file Error: Fetcher: fetch failed: FetchError: request to https://timbl.com/timbl/Public/Archive/linkeddata/chat/2019/08/23/chat.ttl failed, reason: socket hang up
            error object  {"status":999,"statusText":"fetch failed: FetchError: request to https://timbl.com/timbl/Public/Archive/linkeddata/chat/2019/08/23/chat.ttl failed, reason: socket hang up","response":{"url":"https://timbl.com/timbl/Public/Archive/linkeddata/chat/2019/08/23/chat.ttl","status":999,"statusText":"FetchError: ECONNRESET","responseText":"request to https://timbl.com/timbl/Public/Archive/linkeddata/chat/2019/08/23/chat.ttl failed, reason: socket hang up","headers":{},"ok":false,"body":null,"bodyUsed":false,"size":0,"timeout":0}}
        err.response   [object Object]
        err.response.status   999
timbl commented 4 years ago

curl times out after a long pause:

$ curl -HAccept:text/turtle https://timbl.com/timbl/Public/Archive/linkeddata/chat/2019/08/23/chat.ttl 
curl: (52) Empty reply from server
jaxoncreed commented 4 years ago

Is this the issue we chatted about yesterday. It was a permission problem right? Can this be closed?

melvincarvalho commented 4 years ago

curl times out after a long pause:

$ curl -HAccept:text/turtle https://timbl.com/timbl/Public/Archive/linkeddata/chat/2019/08/23/chat.ttl 
curl: (52) Empty reply from server

Seen this many times on the 5.x branch, not on the 4.x branch

I have been unable to track down a solution to this

@timbl could you double check that chat.ttl the file is readable by the user that runs the server? I saw cause a timeout on one occasion