Getting AmbiguousTimeoutException sdk 4 to server 6.5

Testing out some python code doing a simple CB doc query via python SDK 4.1.9 talking to server 6.5 and getting occasional AmbiguousTimeout Exceptions. Not sure how to see what’s happening. We have a 10 min query timeout and that’s what is hitting - we get the exception 10 mins after we sent the query.

AmbiguousTimeoutException(<ec=13, category=couchbase.common, message=ambiguous_timeout (13), context=QueryErrorContext({‘last_dispatched_to’: ‘’, ‘last_dispatched_from’: ‘’, ‘retry_attempts’: 0, ‘client_context_id’: ‘230494-2656-9141-95ea-0380b040431eac’, ‘method’: ‘POST’, ‘path’: ‘/query/service’, ‘http_status’: 0, ‘http_body’: ‘’, ‘first_error_code’: 0, ‘first_error_message’: ‘’, ‘statement’ …

I do see in the http access logs a 301 permanent redirect but then nothing else.

Any ideas?

Sounds like the query is taking longer than ten minutes to execute or there is no response received within the timeout for some other reason.
You can use thus to determine what’s going on with your query. Query Monitoring | Couchbase Docs

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.