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

Getting error "Failed to establish a new connection" with Sync gateway when increased the throughput #1305

Closed
ashvindersingh opened this issue Nov 18, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@ashvindersingh
Copy link

Setup:
CBS: 3.1.1
SG: Distributed Index branch

sync gateway logs: https://issues.couchbase.com/browse/CBL-43

Scenario:

Generated an exception while updating doc_id:test-82 HTTPConnectionPool(host='172.23.105.59', port=4984): Max retries exceeded with url: /db/test-82 (Caused by NewConnectionError("<requests.packages.urllib3.connection.HTTPConnection object at 0x11802ce10>: Failed to establish a new connection: [Errno 49] Can't assign requested address",))
Generated an exception while updating doc_id:test-57 HTTPConne

ctionPool(host='172.23.105.59', port=4984): Max retries exceeded with url: /db/test-57 (Caused by NewConnectionError("<requests.packages.urllib3.connection.HTTPConnection object at 0x117f13d90>: Failed to establish a new connection: [Errno 49] Can't assign requested address",))

Observation some docs missing revisions

This error does not occur when the MAX_REQUEST_WORKERS=5. The script runs to completion with no errors.

@adamcfraser
Copy link
Collaborator

"Can't assign requested address" suggests that your client is running out of ports to issue the request. Based on this, I'd call this a test script issue, and not a Sync Gateway issue.

@zgramana
Copy link
Contributor

@ashvindersingh will re-run the test with an update to the Python test logic that closes the REST connection.

@zgramana zgramana closed this as completed Jan 7, 2016
@zgramana zgramana removed the review label Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants