Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8441

RWS client always uses plain HTTP, even if rws-config.html has HTTPS URL

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Meridian-2015.1.1, 17.1.1, 18.0.0
    • Fix Version/s: 20.0.0, Meridian-2016.1.5
    • Component/s: RANCID Integration
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      Any where RANCID RWS is served on an HTTPS listener

      Description

      Even if rws-config.xml specifies a server_url that starts with https:, the RWSClientApi class always initializes its static instance of org.restlet.Client with org.restlet.Protocol.HTTP. This causes the protocol operations to be done as plain HTTP, resulting in 400 Bad Request messages in the logs on the OpenNMS side.

      Reported under this support ticket.

        Attachments

          Activity

            People

            • Assignee:
              rssntn67 Antonio Russo
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: