Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      While working on IGBF-2055, I discovered that IGB hits the following URL many times.

      I observed this when running IGB using "java -jar igb_exe.jar" and when running IGB using shell script run_igb.sh.

      (It's possible that when run using the installer, IGB does not do this, due to different profiles being create a "development mode" for running IGB.)

      Endpoint getting hit:

      For this task, please investigate why the above REST endpoint keeps getting hit. Document same and then turn it off. I think this is left over from an experiment with error reporting.

      Note: there are two ways of running IGB - "development mode" (IDE) and "execution" mode. Consult with Sai Charan Reddy Vallapureddy for details.

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Epic Link IGBF-1765 [ 17855 ]
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-2055 [ IGBF-2055 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Summary Remove unneeded REST requst Remove unneeded REST request
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Description Whilst working on IGBF-2055, I discovered that IGB hits the following URL many times when run from the command-line using java -jar or run_igb.sh.

            http://reporting.bioviz.org/org.amdatu.remote.discovery.configured

            (It's possible that when run using the installer, IGB does not do this, due to different profiles being create a "development mode" for running IGB.)

            For this task, please investigate why the above REST endpoint keeps getting hit. Document same and then turn it off. I think this is left over from an experiment with error reporting.
            While working on IGBF-2055, I discovered that IGB hits the following URL many times.

            I observed this when running IGB using "java -jar igb_exe.jar" and when running IGB using shell script run_igb.sh.

            (It's possible that when run using the installer, IGB does not do this, due to different profiles being create a "development mode" for running IGB.)

            Endpoint getting hit:

            * http://reporting.bioviz.org/org.amdatu.remote.discovery.configured

            For this task, please investigate why the above REST endpoint keeps getting hit. Document same and then turn it off. I think this is left over from an experiment with error reporting.
            ann.loraine Ann Loraine made changes -
            Description While working on IGBF-2055, I discovered that IGB hits the following URL many times.

            I observed this when running IGB using "java -jar igb_exe.jar" and when running IGB using shell script run_igb.sh.

            (It's possible that when run using the installer, IGB does not do this, due to different profiles being create a "development mode" for running IGB.)

            Endpoint getting hit:

            * http://reporting.bioviz.org/org.amdatu.remote.discovery.configured

            For this task, please investigate why the above REST endpoint keeps getting hit. Document same and then turn it off. I think this is left over from an experiment with error reporting.
            While working on IGBF-2055, I discovered that IGB hits the following URL many times.

            I observed this when running IGB using "java -jar igb_exe.jar" and when running IGB using shell script run_igb.sh.

            (It's possible that when run using the installer, IGB does not do this, due to different profiles being create a "development mode" for running IGB.)

            Endpoint getting hit:

            * http://reporting.bioviz.org/org.amdatu.remote.discovery.configured

            For this task, please investigate why the above REST endpoint keeps getting hit. Document same and then turn it off. I think this is left over from an experiment with error reporting.

            Note: there are two ways of running IGB - "development mode" (IDE) and "execution" mode. Consult with [~svallapu] for details.
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 20813 ] Revised Fall 2019 Workflow Update [ 21132 ]
            Status Open [ 1 ] In Progress [ 3 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status In Progress [ 3 ] To-Do [ 10305 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Labels Beginner
            ann.loraine Ann Loraine made changes -
            Sprint Fall 5 : 14 Oct to 25 Oct [ 76 ] Fall 5 : 14 Oct to 25 Oct, Fall 6 : 28 Oct to 8 Nov [ 76, 77 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            I replicated the issue by running IGB network traffic through a postman proxy on port 5555:
            ./run_igb.sh -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=5555
            I then monitored packet transfer using the command line tool tcpdump and learned that:

            • the ip address and port of the requested resource are 152.15.136.168:80
            • this endpoint being hit both when using the run script/jar file and when using the installer/installed application
            • the code responsible is in line 159 of ./main/src/main/resources/config.properties
            • I am unsure what its purpose is, but removing this line resolves the issue
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - I replicated the issue by running IGB network traffic through a postman proxy on port 5555: ./run_igb.sh -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=5555 I then monitored packet transfer using the command line tool tcpdump and learned that: the ip address and port of the requested resource are 152.15.136.168:80 this endpoint being hit both when using the run script/jar file and when using the installer/installed application the code responsible is in line 159 of ./main/src/main/resources/config.properties I am unsure what its purpose is, but removing this line resolves the issue
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see feature branch: https://bitbucket.org/pbadzuh/igb_pbdev/branch/IGBF-2056#diff
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see pull request: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/748/igbf-2056-remove-unneeded-rest-request/diff
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            To verify this is turned off, testers should check that the "early access" (master branch) installer for your platform no longer tries to access the above URL. Also please check to see if the 9.0.2 release is also attempting to access the above URL.

            It may be difficult to do this – I'm not sure how to "spy on" a local application's attempts to hit URLs on the internet.

            If you can figure out how to do that – either on a Mac or on Windows – that would be very useful not just for this ticket but for other things in future.

            Specifically, validating a community-contributed IGB App, we would probably want to check for whether or not it is trying to communicate with a server.

            Show
            ann.loraine Ann Loraine added a comment - To verify this is turned off, testers should check that the "early access" (master branch) installer for your platform no longer tries to access the above URL. Also please check to see if the 9.0.2 release is also attempting to access the above URL. It may be difficult to do this – I'm not sure how to "spy on" a local application's attempts to hit URLs on the internet. If you can figure out how to do that – either on a Mac or on Windows – that would be very useful not just for this ticket but for other things in future. Specifically, validating a community-contributed IGB App, we would probably want to check for whether or not it is trying to communicate with a server.
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Philip Badzuh please provide some notes explaining how to use tcpdump to check the installer version of IGB. When done, please move to "Needs Testing."

            Show
            ann.loraine Ann Loraine added a comment - - edited Philip Badzuh please provide some notes explaining how to use tcpdump to check the installer version of IGB. When done, please move to "Needs Testing."
            ann.loraine Ann Loraine made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            ann.loraine Ann Loraine made changes -
            Status Post-merge Testing In Progress [ 10003 ] To-Do [ 10305 ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            You can execute the line below, replacing 'en1' with the network interface you're using (can be found using ifconfig), prior to starting IGB:
            sudo tcpdump -i en1 -nn host reporting.bioviz.org

            If, on breaking out of the command, 0 packets are captured, then that endpoint isn't being hit

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - You can execute the line below, replacing 'en1' with the network interface you're using (can be found using ifconfig), prior to starting IGB: sudo tcpdump -i en1 -nn host reporting.bioviz.org If, on breaking out of the command, 0 packets are captured, then that endpoint isn't being hit
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            noor91zahara Noor Zahara (Inactive) made changes -
            Assignee Noor Zahara [ noor91zahara ]
            noor91zahara Noor Zahara (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            Hide
            noor91zahara Noor Zahara (Inactive) added a comment -

            Working as expected.

            Show
            noor91zahara Noor Zahara (Inactive) added a comment - Working as expected.
            noor91zahara Noor Zahara (Inactive) made changes -
            Assignee Noor Zahara [ noor91zahara ] Philip Badzuh [ pbadzuh ]
            noor91zahara Noor Zahara (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]

              People

              • Assignee:
                pbadzuh Philip Badzuh (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: