CouchDB via https, How to work?


(chaehb) #1

Hi, all.

When I use following query with http protocol,

curl -XPUT 'http://localhost:9200/_river/my_db/_meta' -d '{
"type":"couchdb",
"couchdb":{
"host":"my.domain",
"port":15984,
"user":"admin",
"password":"admin
"db":"my_db"
},
"index":{
"index":"my_db",
"type":"my_db",
"bulk_size":"100",
"bulk_timeout":"10ms"
}
}'

it works very well (!)

But, when I use 'https' protocol like below query,

curl -XPUT 'http://localhost:9200/_river/my_db2/_meta' -d '{
"type":"couchdb",
"couchdb":{
"host":"my.domain",
"protocol":"https",
"port":16984,
"no_verify":"true",
"user":"admin",
"password":"admin",
"db":"my_db2"
},
"index":{
"index":"my_db2",
"type":"my_db2",
"bulk_size":"100",
"bulk_timeout":"10ms"
}
}'

this made a index meta ( I can see index info 'my_db2' in elastic-
head ),
but any indexing data created. ( in elastic-head's browse tab, I can't
view any data except _meta,_status of index.)

Have I mistakes ?

How can I use 'https' protocol with couchdb?

  • Thanks -

(system) #2