Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10006

Status update notification should be disabled with WebSocket Controllers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 7.56.0.Final
    • KieServer
    • None
    • False
    • False
    • NEW
    • NEW

      I configured a websocket controller as follow :

      org.kie.server.controller=ws://<host>:<port>/kie-server-controller/websocket/controller
      

      I get the following errors from KIE Server when the containers defined in the controller is created

      31-Jan-2022 12:15:16.372 WARNING [localhost-startStop-1] org.kie.server.services.impl.controller.DefaultRestControllerImpl.update Exception encountered while syncing with controller at ws://commerce-kie-server-controller:9090/kie-server-controller/websocket/controller/server/commerce-kie-server error unknown protocol: ws
      

      Notice that this does not fail the container creation.

      I noticed that the property org.kie.server.update.notifications.rest.enabled introduced in JBPM-9311 can be used to disable the notification, but I believe a proper fix would be to ignore websocket controllers

              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              guiliguili76 Guillaume Lasnier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: