Something was wrong with your network, and since you're not mentioning anything about where your client is (where AQL
is running) and where your server is, it's impossible to tell. Obviously if the client can't get to the server the operation cannot happen. If both are localhost you may have some odd configuration where your wifi was trying to look for 127.0.0.1
on the internet and once you disconnected from it the client was able to reach to the server locally...not enough details to know.
Just make sure your clients can see your server node. Simplest is to try to telnet <host> 3000
(assuming the default port 3000).
Regarding timeouts (in general) AQL
type help
and you'll get (among other things):
SETTINGS
TIMEOUT (time in ms, default: 1000)
RECORD_TTL (time in sec, default: 0)
RECORD_PRINT_METADATA (true | false, default false)
VERBOSE (true | false, default false)
ECHO (true | false, default true)
FAIL_ON_CLUSTER_CHANGE (true | false, default true, policy applies to scans)
OUTPUT (TABLE | JSON, default TABLE)
LUA_USERPATH <path>, default : /opt/aerospike/usr/udf/lua
LUA_SYSPATH <path>, default : /opt/aerospike/sys/udf/lua
USE_SMD (true | false, default false)
REPLICA_ANY (true | false, default false)
To get the value of a setting, run:
aql> GET <setting>
To set the value of a setting, run:
aql> SET <setting> <value>
So, SET TIMEOUT 2500
, for example.