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

            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
            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
            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."
            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
            Hide
            noor91zahara Noor Zahara (Inactive) added a comment -

            Working as expected.

            Show
            noor91zahara Noor Zahara (Inactive) added a comment - Working as expected.

              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: