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

I have setup multiple nodes on single cluster. Sometime I get proper result but sometimes it throws following errors so it is giving me undefined behaviour #229

Open
deepak-shinde opened this issue Oct 11, 2018 · 4 comments

Comments

@deepak-shinde
Copy link

deepak-shinde commented Oct 11, 2018

def get_records(record):
print(record)
query = client.query(NAMESPACE, SETNAME)
query.foreach(callback)

Traceback (most recent call last):
File "", line 1, in
exception.InvalidRequest: (4, 'AEROSPIKE_ERR_REQUEST_INVALID', 'src/main/aerospike/aerospike_query.c', 356, False)

Note:
I have added load balancer and given load balancer IP in config file.

@aerospikerobertmarks
Copy link
Contributor

Thanks for reporting this, we will look into the issue.

Could you share the version of the Aerospike Python Client, and the version of the Aerospike Server you are running?

@Zach-Johnson
Copy link

@aerospikerobertmarks
I'm seeing a similar issue. Server version is 4.2.0.5 and client version is 3.4.0

@aerospikerobertmarks
Copy link
Contributor

That is an error that is coming from the server, and can be caused by many different things. Could you check if you have any warnings or errors in your server logs from around the time when you received this error on the client?

Also is this an issue which always happens, or is it only rarely?

@MicahCarrick
Copy link

I have added load balancer and given load balancer IP in config file.

@deepak-shinde are you saying you have a load balancer in between the Aerospike client and the Aerospike server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants