Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-1552

Captive network login page ends up in the gputable and featuretable files, does not parse

    Details

    • Type: Defect
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Viewer 2.8.1
    • Fix Version/s: Active
    • Labels:
      None
    • Environment:
      -
    • Test Plan:
      Hide

      (original test description below)
      It is probably easier and more certain to dummy up this test without actually using a wifi network with capture. This is pretty easy because what happens is that the gpu and feature tables downloaded when you connect are not actually used until the next session - the downloaded files (if any) are stored in the user settings folder and then found there on startup at the next session. We can skip the actual download step and just manually put some bad file (any html file will do) into either or both of the gpu and feature table files in the user settings folder and we should repro some version of this problem.

      The file names are gpu_table.<version>.txt and featuretable.<version>.txt (on Windows XP, featuretable_xp.<version>.txt) where <version> is the full 4 part version number of the viewer, and both are located in the user settings directory.


      find a network that serves up an html page unconditionally when you try to load any http - DO NOT OPEN ANY WEB PAGE so that that page is never displayed
      launch the viewer (this will probably have a bad viewer splash screen)
      wait a minute or two
      exit the viewer
      check in your user preferences folder for a gpu_table* and feature_table* file; confirm that they are html
      launch the viewer again - behavior should be as before
      exit the viewer
      check the log file for warnings that the gpu_table and feature_table files were invalid
      launch a web browser and click through the network access page
      launch the viewer again - this should log in normally

      Show
      (original test description below) It is probably easier and more certain to dummy up this test without actually using a wifi network with capture. This is pretty easy because what happens is that the gpu and feature tables downloaded when you connect are not actually used until the next session - the downloaded files (if any) are stored in the user settings folder and then found there on startup at the next session. We can skip the actual download step and just manually put some bad file (any html file will do) into either or both of the gpu and feature table files in the user settings folder and we should repro some version of this problem. The file names are gpu_table.<version>.txt and featuretable.<version>.txt (on Windows XP, featuretable_xp.<version>.txt) where <version> is the full 4 part version number of the viewer, and both are located in the user settings directory. find a network that serves up an html page unconditionally when you try to load any http - DO NOT OPEN ANY WEB PAGE so that that page is never displayed launch the viewer (this will probably have a bad viewer splash screen) wait a minute or two exit the viewer check in your user preferences folder for a gpu_table* and feature_table* file; confirm that they are html launch the viewer again - behavior should be as before exit the viewer check the log file for warnings that the gpu_table and feature_table files were invalid launch a web browser and click through the network access page launch the viewer again - this should log in normally
    • Release Vehicles/Components:
      Viewer - Viewer

      Description

      In Sausalito, CA, there is citywide free wifi. One must accept a captive login notice. This notice ends up in the downloadable feature table if it's the first time you run a particular version of the viewer.

      2011-08-11T20:48:27Z INFO: parseFeatureTable: Looking for feature table in /Users/aaron/Library/Application Support/SecondLife/user_settings/featuretable_mac.2.8.1.237758.txt
      2011-08-11T20:48:27Z WARNING: parseFeatureTable: /Users/aaron/Library/Application Support/SecondLife/user_settings/featuretable_mac.2.8.1.237758.txt does not appear to be a valid feature table!
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:0: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:1: '<html xmlns="http://www.w3.org/1999/xhtml">'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:2: '<head><script type="text/javascript">var NREUMQ=[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);</script><base href="https://n2.meraki.com/Sausalito-Free-W/hi/ke6SPac/" />'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:3: ' <title>Welcome to Sausalito Free WiFi</title>'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:4: ' <link href="main.css" rel="stylesheet" media="screen" type="text/css" charset="utf-8" />'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:5: '</head>'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:6: '<body id="continue">'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:7: '<div id="body_container">'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:8: ' <div id="main_container">'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:9: ' '
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:10: ' <img src="/im/59fa3ae2a7bf45525f892f72e1285b1a.png" />'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:11: ' <h1>Welcome to Sausalito Free WiFi</h1>'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:12: ' <h2></h2>'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:14: ' <div id="action_links">'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:15: ' <span id="continue_button">'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:16: ' <img src="transparent.gif" id="continue_button_left_border" height="38" alt="" width="20" />'
      2011-08-11T20:48:27Z WARNING: parseGPUTable: invald gpu_table.txt:17: ' <div id="button_content"><a href="https://n2.meraki.com/Sausalito-Free-W/hi/ke6SPac/grant?continue_url=http%3A%2F%2Fviewer-settings.secondlife.com%2Fgpu_table.2.8.1.237758.txt" title="Continue to the Internet" id="continue_link">Continue to the Inter'
      ^C2011-08-11T20:48:45Z INFO: setQuitting: Setting app state to QUITTING
      ^C^C

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stone.linden Stone Linden
              • Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: