Xymon Mailing List Archive search

soap error

list Marco Avvisano
Fri, 04 Mar 2011 09:56:08 +0100
Message-Id: <user-00a35c5d21a7@xymon.invalid>


Il 03/03/2011 14.37, Ralph Mitchell ha scritto:
On Thu, Mar 3, 2011 at 8:19 AM, Marco Avvisano 
<user-e09c0f3f8c70@xymon.invalid 
<mailto:user-e09c0f3f8c70@xymon.invalid>> wrote:


    Il 03/03/2011 13.57, Ralph Mitchell ha scritto:
    On Thu, Mar 3, 2011 at 6:36 AM, Marco Avvisano
    <user-e09c0f3f8c70@xymon.invalid
    <mailto:user-e09c0f3f8c70@xymon.invalid>> wrote:

        Sorry, write in italian ..

        I solved changing xml, but not work if use https:

        soap=webtest;https:/cert.pem@/my.server/MonitoredService/MonitorService;file:/opt/xymon/server/xml/MonitoredService.xml;


        error message is:


          Bad Request

        Your browser sent a request that this server could not
        understand.
        Reason: You're speaking plain HTTP to an SSL-enabled server port.
        Instead use the HTTPS scheme to access this URL, please.


    I got the above message recently too.  In my case it was because
    I had compiled Xymon without openssl.  It didn't have the
    necessary libraries to be able to setup the secure connection.

    Ralph Mitchell
    thanks, I checked and actually miss those libraries:
    /opt/xymon/server/bin/xymonnet --version

    xymonnet version 4.3.0-0.20110123.rc1


In Fedora 14 I get:

$ /home/xymon/server/bin/xymonnet --version
xymonnet version 4.3.0-0.20110123.rc1
SSL library : OpenSSL 1.0.0d 8 Feb 2011
LDAP library: OpenLDAP 20423

I had to install the openssl-devel rpm to get the openssl headers and 
whatever else comes in the devel package.  You'll need to remove the 
Makefile, then rerun ./configure, do 'make clean' then recompile and 
reinstall.

Ralph Mitchell
Solved recompiling xymon after i have installed openssl-devel and 
openldap-devel
thanks Ralph for your suggestions
Marco