couchbase - 无法创建 Couchbase 存储桶 - authType 无效

标签 couchbase

我正在使用 Couchbase 服务器 HTTP API 来创建存储桶。
当我向以下位置发出 POST 请求时:

http://localhost:8091/pools/default/buckets?name=Test&proxyPort=12259&ramQuotaMB=200&authType=sasl&replicaNumber=1&saslPassword=123456

它返回:

"errors": {
    "authType": "invalid authType"
}

我已经设置了授权和内容类型 header ,但仍然没有运气。我用的是2.5.1。我在这里错过了什么? Couchbase 文档没有提及任何有关不正确的 authType 的信息

最佳答案

是否可以在 11211 以外的端口上创建经过 sasl 验证的存储桶?

SASL authenticating Couchbase buckets may only be placed on port 11211 and each bucket is differentiated by its name and password. SASL bucket may not be placed on any other port beside 11211. These buckets can be reached with either a vBucket aware smart client or a binary client that has SASL support. These buckets cannot be reached with ASCII clients.

引用:http://docs.pub.couchbase.com/couchbase-manual-2.5/cb-admin/

关于couchbase - 无法创建 Couchbase 存储桶 - authType 无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32461107/

相关文章:

rx-java - 使用响应式(Reactive)编程将 couchbase 文档从一个存储桶复制到另一个存储桶时出现 OOM 问题

java - Couchbase - java 2.1.1 SDK,当我阅读有生存时间的文件时,到期时间总是零

php - CouchBase 扩展安装错误

backup - Couchbase 时间点恢复?

couchbase - 如何在 Couchbase 中仅选择和更新此 map 中的名称值?

javascript - 带有 couchbase db 的 ELF header Node js 无效

Couchbase 索引 View 过于频繁

couchbase - couchbase 是否真的支持大于内存的数据集?

Android + Couchbase 用例?

elasticsearch - 从 couchbase 存储桶复制到 elasticsearch 索引时出现问题?