Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
David Nault
David NaultReporter
David Nault
David NaultStory Points
5
Sprint
None
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
Sentry
Sentry
Zendesk Support
Zendesk Support
Created January 30, 2024 at 10:39 PM
Updated May 20, 2024 at 12:35 AM
Resolved March 20, 2024 at 7:21 PM
Suggested Release Note:
An SDK configured with bad credentials spams the server with HTTP requests for "
/pools/default/b/<bucket-name>"
. It would be nice to throttle these requests somehow.To reproduce:
public static void main(String... args) throws Exception { Cluster cluster = Cluster.connect("127.0.0.1", "Administrator", "bad-password"); Bucket bucket = cluster.bucket("default"); MINUTES.sleep(10); }
and tail
var/lib/couchbase/logs/http_access.log
Edit: This can also occur when an SDK has correct credentials, but that user does not have RBAC to access the bucket. If they have access to no buckets, 401 Unauthorized will be returned, if they have access to another bucket 403 Forbidden will be returned.