Bump. Anyone know the answer? Can puppet use https to post reports? I'm having trouble sending reports using https too, although I haven't yet found anything useful in the logs.
On Mar 21, 2011, at 9:41 PM, Mohamed Lrhazi wrote: > I enabled debug log level in apache virtual and it seems like > puppetmaster is trying to speak http, instead of https. > Is https not supported for posting reports? > > [Tue Mar 22 00:39:43 2011] [debug] ssl_engine_io.c(1819): OpenSSL: > read 11/11 bytes from BIO#2b225d284100 [mem: 2b225d2f9650] (BIO dump > follows) > [Tue Mar 22 00:39:43 2011] [debug] ssl_engine_io.c(1766): > +-------------------------------------------------------------------------+ > [Tue Mar 22 00:39:43 2011] [debug] ssl_engine_io.c(1791): | 0000: 50 > 4f 53 54 20 2f 72 65-70 6f 72 POST /repor | > [Tue Mar 22 00:39:43 2011] [debug] ssl_engine_io.c(1797): > +-------------------------------------------------------------------------+ > [Tue Mar 22 00:39:43 2011] [debug] ssl_engine_kernel.c(1838): OpenSSL: > Exit: error in SSLv2/v3 read client hello A > [Tue Mar 22 00:39:43 2011] [info] [client 141.161.245.113] SSL > handshake failed: HTTP spoken on HTTPS port; trying to send HTML error > page > [Tue Mar 22 00:39:43 2011] [info] SSL Library Error: 336027804 > error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request > speaking HTTP to HTTPS port!? > > > > On Tue, Mar 22, 2011 at 12:28 AM, Mohamed Lrhazi <lrh...@gmail.com> wrote: >> If I run the dash-board directly, with built-in web-server, on default >> port, and remove the reporturl , reports are posted successfully! >> >> Any idea what I am missing for a behind apache/Phusion setup? >> >> Thanks a lot. >> Mohamed. >> >> On Mon, Mar 21, 2011 at 7:12 PM, Mohamed Lrhazi <lrh...@gmail.com> wrote: >>> [master] >>> reports = log, store, http >>> reporturl = https://puppet-test.uis.example.com/reports/upload >>> >>> am running dashboar in the same host as puppetmaster, which is >>> puppet-test, both behind apache/phusion. >>> >>> reports fail and master logs: >>> >>> Report http failed: wrong status line: "<!DOCTYPE HTML PUBLIC >>> \"-//IETF//DTD HTML 2.0//EN\">" >>> >>> How can I furthe rdebug this? am using dashboard for a github checkout >>> and puppet 2.6.3 >>> >>> >>> Thanks a lot. >>> Mohamed. >>> >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.