Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
*Location*: https://developer.couchbase.com/documentation/server/5.0/sdk/sample-application.html
*Referrer*: https://developer.couchbase.com/documentation/server/5.0/sdk/dotnet/sample-app-backend.html
*User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36
*Screen Resolution*: 1920 x 1080*Location*: https://developer.couchbase.com/documentation/server/5.0/sdk/sample-application.html *Referrer*: https://developer.couchbase.com/documentation/server/5.0/sdk/dotnet/sample-app-backend.html *User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36 *Screen Resolution*: 1920 x 1080
-
DOC-2020-S24-Dec13
-
1
Description
This is very discouraging....
var bucket = ClusterHelper.GetBucket(bucketName);
fails for bucket name = travel-sample.
[AuthenticationException: Authentication failed for bucket 'travel-sample']
Couchbase.IO.Services.PooledIOService.Authenticate(IConnection connection) +236
Couchbase.IO.Services.PooledIOService.Execute(IOperation`1 operation) +128
[AggregateException: One or more errors occurred.]
Couchbase.Configuration.Server.Providers.CarrierPublication.CarrierPublicationProvider.GetConfig(String bucketName, String password) +1646
Couchbase.Core.ClusterController.CreateBucket(String bucketName, String password, IClusterCredentials credentials) +534
[AggregateException: Could not bootstrap - check inner exceptions for details.]
Couchbase.Core.ClusterController.CreateBucket(String bucketName, String password, IClusterCredentials credentials) +1452
Couchbase.Core.ClusterController.CreateBucket(String bucketName, IClusterCredentials credentials) +140
Couchbase.Cluster.OpenBucket(String bucketname) +33
Couchbase.<>c.<GetBucket>b__10_0(String name) +95
System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +72
Couchbase.ClusterHelper.GetBucket(String bucketName) +117
try_cb_dotnet.CouchbaseConfig.EnsureIndexes(String bucketName, String username, String password) in C:\Repos\CouchbaseExamples\SampleApplication\try-cb-dotnet\src\try-cb-dotnet\App_Start\CouchbaseConfig.cs:39
try_cb_dotnet.CouchbaseConfig.Register() in C:\Repos\CouchbaseExamples\SampleApplication\try-cb-dotnet\src\try-cb-dotnet\App_Start\CouchbaseConfig.cs:34
try_cb_dotnet.MvcApplication.Application_Start() in C:\Repos\CouchbaseExamples\SampleApplication\try-cb-dotnet\src\try-cb-dotnet\Global.asax.cs:9
[HttpException (0x80004005): Could not bootstrap - check inner exceptions for details.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +10104513
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +173
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): Could not bootstrap - check inner exceptions for details.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10085804
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
user is PosLite with password 'password'. This user has full access to all buckets. It is specified in web.config.
650.619.3899
Reporter: Jeffrey Roughgarden
E-mail: jroughgarden@stanfordalumni.org