Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35137

EventSource reconnect killing old EvenDispatcher and losing channel subs

    Details

    • Similar Issues:

      Description

      SSE listen endpoint reconnect not being handled properly if an intermediary closes the connection.

      Use proxy of some sort (e.g. from the npm "http-proxy" package) ... connect .... kill and then restart the proxy.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: tfennelly
          Path:
          src/main/java/org/jenkinsci/plugins/ssegateway/Endpoint.java
          src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcher.java
          src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcherFactory.java
          src/main/js/ajax.js
          src/main/js/index.js
          src/main/js/sse-client.js
          src/test/js/sse-plugin-no-filter-ispec.js
          src/test/js/sse-plugin-with-filter-ispec.js
          http://jenkins-ci.org/commit/sse-gateway-plugin/0d8d7f1741955e7f1b7f2408a2a0383438ef8016
          Log:
          [FIX JENKINS-35137] EventSource reconnect killing old EvenDispatcher and losing channel subs

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: tfennelly Path: src/main/java/org/jenkinsci/plugins/ssegateway/Endpoint.java src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcher.java src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcherFactory.java src/main/js/ajax.js src/main/js/index.js src/main/js/sse-client.js src/test/js/sse-plugin-no-filter-ispec.js src/test/js/sse-plugin-with-filter-ispec.js http://jenkins-ci.org/commit/sse-gateway-plugin/0d8d7f1741955e7f1b7f2408a2a0383438ef8016 Log: [FIX JENKINS-35137] EventSource reconnect killing old EvenDispatcher and losing channel subs
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Tom Fennelly
          Path:
          package.json
          src/main/java/org/jenkinsci/plugins/ssegateway/Endpoint.java
          src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcher.java
          src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcherFactory.java
          src/main/js/ajax.js
          src/main/js/index.js
          src/main/js/sse-client.js
          src/test/js/sse-plugin-no-filter-ispec.js
          src/test/js/sse-plugin-with-filter-ispec.js
          http://jenkins-ci.org/commit/sse-gateway-plugin/cb47b17a035185eb55ef1ea3878caece0a0fd7af
          Log:
          Merge pull request #1 from tfennelly/JENKINS-35137

          [FIX JENKINS-35137] EventSource reconnect killing old EvenDispatcher and losing channel subs

          Compare: https://github.com/jenkinsci/sse-gateway-plugin/compare/87188464efe9...cb47b17a0351

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Tom Fennelly Path: package.json src/main/java/org/jenkinsci/plugins/ssegateway/Endpoint.java src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcher.java src/main/java/org/jenkinsci/plugins/ssegateway/sse/EventDispatcherFactory.java src/main/js/ajax.js src/main/js/index.js src/main/js/sse-client.js src/test/js/sse-plugin-no-filter-ispec.js src/test/js/sse-plugin-with-filter-ispec.js http://jenkins-ci.org/commit/sse-gateway-plugin/cb47b17a035185eb55ef1ea3878caece0a0fd7af Log: Merge pull request #1 from tfennelly/ JENKINS-35137 [FIX JENKINS-35137] EventSource reconnect killing old EvenDispatcher and losing channel subs Compare: https://github.com/jenkinsci/sse-gateway-plugin/compare/87188464efe9...cb47b17a0351

            People

            • Assignee:
              tfennelly Tom FENNELLY
              Reporter:
              tfennelly Tom FENNELLY
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: