Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crawler crashes on query to GraphDB #832

Open
ddeboer opened this issue Nov 20, 2023 · 0 comments
Open

Crawler crashes on query to GraphDB #832

ddeboer opened this issue Nov 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ddeboer
Copy link
Member

ddeboer commented Nov 20, 2023

2023-11-20 19:33:18.015	
  erroredSysCall: undefined
2023-11-20 19:33:18.015	
  code: 'ECONNRESET',
2023-11-20 19:33:18.015	
  errno: 'ECONNRESET',
2023-11-20 19:33:18.014	
  type: 'system',
2023-11-20 19:33:18.014	
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2023-11-20 19:33:18.014	
    at endReadableNT (node:internal/streams/readable:1408:12)
2023-11-20 19:33:18.014	
    at Socket.emit (node:events:526:35)
2023-11-20 19:33:18.014	
    at Socket.socketOnEnd (node:_http_client:519:9)
2023-11-20 19:33:18.014	
    at ClientRequest.emit (node:events:514:28)
2023-11-20 19:33:18.014	
    at ClientRequest.<anonymous> (file:///app/node_modules/node-fetch/src/index.js:108:11)
2023-11-20 19:33:18.014	
FetchError: request to http://graphdb/repositories/registry/statements?subj=%3Chttps%3A%2F%2Farchief.nl%2Fid%2Fdatacatalog%2Ftoegang%3E&context=%3Chttps%3A%2F%2Fdemo.netwerkdigitaalerfgoed.nl%2Fregistry%2Fregistrations%3E failed, reason: socket hang up
2023-11-20 19:33:18.014	

2023-11-20 19:33:18.014	
			       ^
2023-11-20 19:33:18.014	
			reject(new FetchError(`request to ${request.url} failed, reason: ${error.message}`, 'system', error));
2023-11-20 19:33:18.014	
file:///app/n

Socket hang up means GraphDB did not respond in time. GraphDB reports nothing at this point in time.

Executing the request manually works, but that’s not during the pressure that a crawl may be putting on GraphDB:

DELETE http://triplestore.netwerkdigitaalerfgoed.nl/repositories/registry/statements?subj=<https://archief.nl/id/datacatalog/toegang>&context=<https://demo.netwerkdigitaalerfgoed.nl/registry/registrations>

HTTP/1.1 204 
Date: Mon, 20 Nov 2023 18:58:36 GMT
Connection: keep-alive
Vary: Accept-Encoding
Cache-Control: no-store
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Content-Language: en-US
Strict-Transport-Security: max-age=15724800; includeSubDomains

<Response body is empty>

Response code: 204; Time: 360ms (360 ms); Content length: 0 bytes (0 B)
@ddeboer ddeboer added the bug Something isn't working label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🏗 In progress
Development

No branches or pull requests

1 participant