[JCBC-242] The flush() operations always fails with "401 Unathorized" message Created: 08/Feb/13 Updated: 08/Feb/13 Resolved: 08/Feb/13 |
|
| Status: | Resolved |
| Project: | Couchbase Java Client |
| Component/s: | library |
| Affects Version/s: | 1.1.2 |
| Fix Version/s: | None |
| Security Level: | Public |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Balint Ureczky | Assignee: | Michael Nitschinger |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 1m | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | 1m | ||
| Environment: |
uname -a
Linux Mint 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux java -version java version "1.7.0_11" Java(TM) SE Runtime Environment (build 1.7.0_11-b21) Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode) Java couchbase client library 1.1.2 taken from: http://files.couchbase.com/maven2/couchbase/couchbase-client/1.1.2/couchbase-client-1.1.2.jar |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Flagged: |
Impediment
|
||||||||
| Description |
|
The flush operations seems to require some kind of authorization, however the client library does not provide a way to do it.
The documentation is does not mention anything about this. Is there a magical way I can call flush? I attached the source code which reproduces the problem. |
| Comments |
| Comment by Michael Nitschinger [ 08/Feb/13 ] |
|
Note that this is a known limitation because of the CouchbaseServer
See the linked issue for more information! |
| Comment by Michael Nitschinger [ 08/Feb/13 ] |
| Note that this is marked to be fixed in 2.0.1 which is the next bugfix release of couchbase server. Once upgraded, it should "magically" work! |