Re: CouchDB crashing when SSL is turned on

2015-12-10 Thread Tom Chiverton
However TLS 1.0 should be considered insecure, so don't do that over the internet. Tom On 10/12/15 03:50, Alexander Shorin wrote: possible solution is to force TLS 1.0 usage since it seems that this

Re: TLS client certificates internal error

2015-12-08 Thread Tom Chiverton
I gave up trying to get this to work (on Ubuntu LTS and Amazon Linux) and just stuck Apache in front of it. There are several notes across the docs about Erlang's SSL support being 'odd'. -- Tom On 08/12/15 01:58, Michael Power wrote: I am trying to get couchdb to work with client certificate

Re: timeout on views

2015-11-03 Thread Tom Chiverton
Can you post a dump of your data (scrubbed for anything identifiable) along with the load commands you used (I guess it's a bunch of curl commands ?) and the details of the views to create ? Then at least we stand a chance of replicating it, or even just pointing at something odd in the struct

Re: DB only replies to 1k HTTP connections

2015-10-09 Thread Tom Chiverton
On 08/10/15 21:19, Florin Andrei wrote: What could possibly limit the number of connections that are serviced simultaneously? RAM ? CPU ? Disk contention ? Tom

Re: su vs sudo in init script

2015-10-07 Thread Tom Chiverton
On 02/10/15 10:07, Tom Chiverton wrote: If that sounds like a plan I'll write up an issue. I've written it up at https://issues.apache.org/jira/browse/COUCHDB-2843 but don't know enough about the installer to get started on a patch. Tom

Re: Getting session cookie

2015-10-07 Thread Tom Chiverton
What is the request made to CouchDb before the attempt to retrieve the session ? Tom On 06/10/15 03:19, Jamie Diprose wrote: But if I request the session from my web application I get the following data:

Re: Updating the docs for Apache as SSL and auth

2015-10-02 Thread Tom Chiverton
On 02/10/15 12:56, Tom Chiverton wrote: I didn't see a good place in the tree to create the pages for Apache SSL and proxy. Should I just start a new section ("Apache as a proxy") ? I figured it might be split out, so created a new "configuring" section after "

Re: Updating the docs for Apache as SSL and auth

2015-10-02 Thread Tom Chiverton
On 02/10/15 10:47, Alexander Shorin wrote: On Fri, Oct 2, 2015 at 12:41 PM, Tom Chiverton wrote: I'm "tchiverton" on the Apache wiki. Done! Awesome. The Amazon Linux page is up : https://cwiki.apache.org/confluence/display/COUCHDB/Amazon+Linux I didn't see a good

Re: Updating the docs for Apache as SSL and auth

2015-10-02 Thread Tom Chiverton
ken. Will think that, thanks for report! -- ,,,^..^,,, On Fri, Oct 2, 2015 at 12:12 PM, Tom Chiverton <mailto:t...@extravision.com>> wrote: I've got a complete set of working steps for installing on Amazon Linux, and also for setting up Apache as a front end SSL proxy with authent

Updating the docs for Apache as SSL and auth

2015-10-02 Thread Tom Chiverton
ttps://wiki.apache.org/couchdb/Apache_As_a_Reverse_Proxy ) ? -- *Tom Chiverton* Lead Developer e: t...@extravision.com <mailto:t...@extravision.com> p: 0161 817 2922 t: @extravision <http://www.twitter.com/extravision> w: www.extravision.com <http://www.extravision.

Re: su vs sudo in init script

2015-10-02 Thread Tom Chiverton
On 30/09/15 09:27, Robert Newson wrote: I strongly advise returning to su but adding a cd call to somewhere couchdb can read. I reviewed the init script CouchDb is shipping. It declares RUN_DIR=/usr/local/var/run/couchdb which is where the .pid file lives But the home dir of the couchdb use

Re: Trouble setting up proxy auth

2015-10-01 Thread Tom Chiverton
On 01/10/15 11:51, Alexander Shorin wrote: On Thu, Oct 1, 2015 at 1:49 PM, Mike Marino wrote: I'm not sure if this is the only problem (i.e. are you also forcing the shared key to be used?), but roles should contain: _admin if you want an admin user. ​This is correct.​ Argh ! Thanks f

Trouble setting up proxy auth

2015-10-01 Thread Tom Chiverton
http://localhost:5984/new/ {"error":"unauthorized","reason":"You are not a server admin."} I'm basing this on http://docs.couchdb.org/en/1.6.1/api/server/authn.html#proxy-authentication Is there some step I missed ? -- *Tom Chiverton* Lead Developer

su vs sudo in init script

2015-09-29 Thread Tom Chiverton
mod 0770 /usr/local/etc/couchdb sudo chmod 0770 /usr/local/var/lib/couchdb sudo chmod 0770 /usr/local/var/log/couchdb sudo chmod 0770 /usr/local/var/run/couchdb -- *Tom Chiverton* Lead Developer e: t...@extravision.com <mailto:t...@extravision.com> p: 0161 817