Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 117889E7A for ; Tue, 24 Jan 2012 00:12:07 +0000 (UTC) Received: (qmail 30375 invoked by uid 500); 24 Jan 2012 00:12:06 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 30291 invoked by uid 500); 24 Jan 2012 00:12:05 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 30274 invoked by uid 99); 24 Jan 2012 00:12:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 00:12:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,T_RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 00:12:03 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6935815E4DD for ; Tue, 24 Jan 2012 00:11:42 +0000 (UTC) Date: Tue, 24 Jan 2012 00:11:42 +0000 (UTC) From: "Benoit Chesneau (Commented) (JIRA)" To: dev@couchdb.apache.org Message-ID: <838217070.69296.1327363902432.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <552080720.44018.1324724310842.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1369) https config change MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191664#comment-13191664 ] Benoit Chesneau commented on COUCHDB-1369: ------------------------------------------ After testing, it appears that previous patch isn't enough. > https config change > ------------------- > > Key: COUCHDB-1369 > URL: https://issues.apache.org/jira/browse/COUCHDB-1369 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 1.1.1, 1.2, 1.3 > Reporter: Benoit Chesneau > Priority: Blocker > Attachments: 0001-fix-COUCHDB-1369.patch, 0001-fix-COUCHDB-1369.patch, https_config_change.patch > > > Changing configuration of the ssl port make the server crashing. COnfiguration isn't saved and https isn't available anymore. > Step to reproduce: > 1. Enable ssl by uncommenting httpsd daemon line in local.ini and set key_file & cert_file in ssl section > 2. start couchdb > 3. Change port using the `_config` interface: > curl -XPUT 'http://127.0.0.1:5984/_config/ssl/port' -d'"6987"' > "6986" > log: > [error] [<0.95.0>] {error_report,<0.30.0>, > {<0.95.0>,supervisor_report, > [{supervisor,{local,couch_secondary_services}}, > {errorContext,child_terminated}, > {reason,normal}, > {offender, > [{pid,<0.172.0>}, > {name,httpd}, > {mfargs,{couch_httpd,start_link,[]}}, > {restart_type,permanent}, > {shutdown,brutal_kill}, > {child_type,worker}]}]}} > =SUPERVISOR REPORT==== 24-Dec-2011::11:54:36 === > Supervisor: {local,couch_secondary_services} > Context: child_terminated > Reason: normal > Offender: [{pid,<0.172.0>}, > {name,httpd}, > {mfargs,{couch_httpd,start_link,[]}}, > {restart_type,permanent}, > {shutdown,brutal_kill}, > {child_type,worker}] > The server restart but change isn't took in consideration. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira