Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-278

Unable to use websocket notifications from browsers

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • restconf
    • None
    • Operating System: Linux
      Platform: PC

    Description

      To subscribe to websocket notifications, we need to request the location by sending a get request to "http://<host>:<port>/restconf/streams/stream/<path>", which returns the location in the "Location" header.

      However, this header is unsafe and is disabled in web browsers by default. To let browsers check this field, the web server must explicitly specify this header as exposed.

      This can be enabled in the configuration of the CORS filter for sal-rest-connector. See attached diff.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              zoltan.lajos.kis@ericsson.com Zoltan Lajos Kis
              zoltan.lajos.kis@ericsson.com Zoltan Lajos Kis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: