Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Neo4jError: Connection acquisition timed out in 60000 ms. #585

Open
juju4 opened this issue Aug 26, 2023 · 0 comments
Open

Neo4jError: Connection acquisition timed out in 60000 ms. #585

juju4 opened this issue Aug 26, 2023 · 0 comments

Comments

@juju4
Copy link

juju4 commented Aug 26, 2023

It seems for large tenant, ingestion step does not work as all processing is done at the end which is likely too much data.
Is there a way to do it progressively, by data type or time interval?

$ /var/_starbase/starbase/node_modules/.bin/j1-integration neo4j push -i testInstanceId -d ./.integrations/graph-azure/.j1-integration -db neo4j
Beginning data upload to local neo4j
[... long time...]
Neo4jError: Connection acquisition timed out in 60000 ms. Pool status: Active conn count = 100, Idle conn count = 0.

    at captureStacktrace (/var/_starbase/starbase/node_modules/neo4j-driver-core/lib/result.js:239:17)
    at new Result (/var/_starbase/starbase/node_modules/neo4j-driver-core/lib/result.js:59:23)
    at Session._run (/var/_starbase/starbase/node_modules/neo4j-driver-core/lib/session.js:174:16)
    at Session.run (/var/_starbase/starbase/node_modules/neo4j-driver-core/lib/session.js:139:21)
    at Neo4jGraphStore.runCypherCommand (/var/_starbase/starbase/node_modules/@jupiterone/integration-sdk-cli/dist/src/neo4j/neo4jGraphStore.js:50:42)
    at Neo4jGraphStore.addRelationships (/var/_starbase/starbase/node_modules/@jupiterone/integration-sdk-cli/dist/src/neo4j/neo4jGraphStore.js:135:36)
    at handleGraphObjectRelationshipFiles (/var/_starbase/starbase/node_modules/@jupiterone/integration-sdk-cli/dist/src/neo4j/uploadToNeo4j.js:26:25)
    at iteratee (/var/_starbase/starbase/node_modules/@jupiterone/integration-sdk-runtime/dist/src/fileSystem.js:179:19)
    at async onFile (/var/_starbase/starbase/node_modules/@jupiterone/integration-sdk-runtime/dist/src/fileSystem.js:144:9)
    at async handleFilePath (/var/_starbase/starbase/node_modules/@jupiterone/integration-sdk-runtime/dist/src/fileSystem.js:157:13) {
  constructor: [Function: Neo4jError],
  code: 'N/A'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
open http://localhost:7474/browser/ to browse your Neo4J graph.
Done in 15889.52s.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant