Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-801

SSE streaming does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • 2.0.3
    • 2.0.0, 2.0.1, 2.0.2
    • restconf-nb

      We have a regression in CSIT detected here:

      https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-userfeatures-rfc8040-all-phosphorus/24/robot-plugin/log.html.gz#s1-s6-s1-t4-k5

      i.e. the client reports:

      fetch http://10.30.170.254:8181/rests/notif/data-change-event-subscription/opendaylight-inventory:nodes/datastore=CONFIGURATION/scope=BASE failed: 404
      Traceback (most recent call last):
        File "ssereceiver.py", line 77, in <module>
          main()
        File "ssereceiver.py", line 59, in main
          loop.run_until_complete(get_events())
        File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
          return future.result()
        File "ssereceiver.py", line 17, in get_events
          "http://" + args.controller + ":8181" + args.uri, session=client
        File "/usr/local/lib/python3.6/dist-packages/aiohttp_sse_client/client.py", line 126, in __aenter__
          await self.connect(self._max_connect_retry)
        File "/usr/local/lib/python3.6/dist-packages/aiohttp_sse_client/client.py", line 244, in connect
          raise ConnectionError(error_message)

      This seems to indicate we have not found the requested stream ("opendaylight-inventory:nodes").

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: