java.net.SocketTimeoutException: Read timed out / When trying to import from an URL

Hi everyone,

I'm trying to import data from an URL that returns a json-object. The issue is (i guess thats the issue) that the download from the URL takes around 1 minute and 20 seconds (when i'm calling it in the browser). While the neo4j client is waiting for the json, i'm getting an error after ~1minute.

neo4j.exceptions.ClientError: {code: Neo.ClientError.Procedure.ProcedureCallFailed} {message: Failed to invoke procedure
apoc.load.json: Caused by: java.net.SocketTimeoutException: Read timed out}

I tried extending the transaction timout time by adding "dbms.transaction.timeout=3m" to the config file and also increased the heapmemory, but no success. Maybe someone had this issue before (: couldn't find anything yet that solved my error.

I'm using the "CALL apoc.json.load("URL")" Query.

Thanks for any help in advance :slight_smile:

Same problem. We are seeing java.net.SocketTimeoutException when calling apoc.import.graphml. It also appears to be one minute. The file we are importing is about 140mb compressed graphml. Trying to find out if the timeout is in the apoc code or not.