Using CouchDB Replication via HTTPS - https

I am able to replicate local and remote databases using the CouchDB replication feature. However, if I specify the source to be a secure URL (e.g. https://www.mysecurehost.com) CouchDB returns a 500 error. I am able to successfully replicate if I specify the target to be a secure URL). I am using CouchDB V1.0.2. Any help regarding this matter would be greatly appreciated.

According to Cloudant support,
CouchDB (including version 1.0.1) has
trouble with HTTPS replication. If you
can, try replicating with plain HTTP.
Otherwise you’ll have to wait until
CouchDB 1.1 is released (ETA early
2011).
They reference bug COUCHDB-491 ("Support replication over SSL"), which appears to be closed, but not actually fixed.
Update: According to Cloudant, the problem is still present if you're using a version of Erlang older than R14.

The current CouchDB release 1.0.2 fixes these issues.

Related

Clickhouse can't authenticate in MongoDB nor passing empty credentials

everyone. I've been following in Github the progression of this issue handling. I think and believe all is OK now. I just need you to tell me what to do in my deployments. I've just installed Clickhouse 21.8.9, and I'm trying to make some tests in order to extract from MongoDB and fill out an aggregatingMergeTree table in Clickhouse. I've been reading a lot of tech doc about Clickhouse possibilities, so I know that is not the only way to accomplish what I want to do. But it's a valid way, so I want to test it. My Clickhouse installation comes from downloaded DEB files (I'm using Ubuntu 20.04 in my laptop). According to some changes I saw in the Clickhouse repo at Github, it seems I might have to re-compile Clickhouse, is that correct? What do you advice me to do? Thanks in advance.
PS: I've just tried in a MongoDB 3.6 and a MongoDB 4.0, the outcome is the same: no admit empty username or cannot authenticate if I use credentials

Kibana not saving dev tools history across sessions

I have Kibana plugin installed in each ES node. Kibana is behind nginx reverse proxy because it's served from /kibana/ route. Elastic is protected with SearchGuard plugin.
Question: History for dev tools/console is reset with each login (after each login, history is empty). Now, I'm not sure if I'm missing something or that's expected behaviour when SearchGuard is in use? I remember that worked well before installing SearchGuard. Not sure if it's coincidence or it's indeed related. It's saving properly during one session.
Elastic version: 6.1.3
Thank you!
It's stored in local storage under sense:editor_state in Chrome.
If it's wiped out daily or the cache is cleared, so will your searches be.
use ?load_from= in your url and save your queries in a json file... be aware of CORS if you use a web app of your own.

Elasticsearch - Is elasticsearch possible without HTTP (offline mode)

I have an app in android, ios and windows which works in offline mode. That is, content is stored in the local database. Now I am trying to implement elasticsearch on this app. Is it possible to search the data from local database when I am offline. Or, is there a way to access Elasticsearch without HTTP.
Please help me on this.
Answer is no, Since elasticsearch will be installed outside of your phone.
But one of the options could be FTS3. Its not as powerful as ES but could be solution.

How to actually configure debugging in CFBuilder

I have ColdFusion Builder 2.0.0 installed and I am trying to look at the much vaunted step debugging. However, I cannot seem to get it to work as I don't have my site / JRun install setup in the naive way the examples show.
I am using version 9,0,1,274733 of ColdFusion and my configuration is as follows:-
Installed as multi-server version with Jrun here:- c:\Apps\JRun4
application files are here:- d:\websites\my.website.com
web root is here d:\websites\my.website.com\www
core library of CFCs is here d:\websites\frameworks\core which is mapped in CF as core
I have read this watched this http://help.adobe.com/en_US/ColdFusionBuilder/Using/WS0ef8c004658c1089-31c11ef1121cdfd6aa0-7fff.html and this http://forta.com/blog/index.cfm/2007/5/30/CF8-Debugger-Getting-Started and watched this https://experts.adobeconnect.com/_a204547676/p33029638/?launcher=false&fcsContent=true&pbMode=normal but I get stuck at the point after you have configured RDS and you are setting up the server for your project.
Now I am pretty sure the above is correct, when I move to the next page in the wizard I get the following:-
Now I as I understand it my Server Home should be c:\Apps\JRun4 and my Document root should be d:\websites\my.website.com
This all looks like it is going to be fine until you actually try and debug when I get
followed by
I can confirm that the server is running and RDS is enabled as in the RDS Dataview I can see all my databases.
Any help would be gratefully received as this is very frustrating and the documentation is very lacking.
There is a video tutorial as well that you may want to check and see if that helps. http://blogs.adobe.com/anand/2011/01/learn-how-to-debug-coldfusion-applications-using-coldfusion-builder-2.html
You need to specify the RDS username/password and the "application server name". If you are using the base instance that was installed when you setup the multiserver install of CF that is "cfusion", otherwise its the name of the instance you are using.
The RDS username is most likely "admin" unless you setup custom users for RDS. The password is the RDS password you specified when you installed CF.

Neo4j server locks database. Why?

I just started to discover the world of Neo4j and stumbled right into an issue, I have problems to grasp.
I installed Neo4j and started it via bin/neo4j start.
In the next steps I wrote a ruby script that creates new nodes, after installing jruby and the neo4j gem. Everything fine until here.
How to get started is decribed here:
http://wiki.neo4j.org/content/Getting_Started_With_Ruby
My Problem: When the server is started and I try to creates nodes, Neo4j responds that the database is locked. When I stop the server the nodes get created.
I am used to relational databases, so I don´t understand this behaviour.
When I check the Server Info via the Neo4j Webadmin Tool (http://localhost:7474/webadmin) the ReadOnly flag is set to false.
It seems to me that the Neo4j approach is maybe different from relational db, meaning the server could maybe have a slightly other purpose then a db server.
Thanks for any advices,
Tobias
The JRuby bindings will start it's own Neo4j instance, meaning that you will end up having two database instances trying to use the same files.
The approach is somewhat different, but relational databases use it as well, for example Apache Derby. As with Neo4j, you can either embed it in your application (that is what the JRuby bindings are doing in your case) or run it as a standalone server.
So just don't start a server yourself, that should solve the problem.

Resources