Re: civetweb deamon dies on https port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 19/01/17 13:58, Chris Sarginson wrote:
> You look to have a typo in this line:
> 
> rgw_frontends = "civetweb port=8080s
> ssl_certificate=/etc/pki/tls/cephrgw01.crt" 
> 
> It would seem from the error it should be port=8080, not port=8080s. 

I think you are incorrect; port=8080s is what you want if you want https
on that port.

The error message is a false positive - we also see similar:

Jan 19 14:30:38 sto-3-2 radosgw[94484]: error parsing int: 443s: The
option value '443s' seems to be invalid

...but our rgw runs fine.

I went looking for this a while back, and found:

The error message comes from src/rgw/rgw_main.cc line 392 in 16.04 (l456
in ceph git) where ceph calls get_val (string,int,int) which produces
the error message observed (and fails).

Subsequently, rgw_civetweb_frontend.cc line 39 (l53 in ceph git) uses
the string version of get_val which succeeds and stores the string value
verbatim in what will become the listening_ports argument to civetweb;
which is happy with a string of the form you use.

One could argue that this is a bug...

Regards,

Matthew


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux