Ticket #476 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

localhost not viewable in offline mode

Reported by: camerons Owned by: live-demo@…
Priority: blocker Milestone:
Component: LiveDVD Keywords: 2.0
Cc:

Description

When the network is disconnected, the  http://localhost url is not found in firefox. In particular  http://localhost:5000 doesn't find the mapfish application.

To reproduce the problem: * Turn networking off in a VM (usually bottom right icon on display), or disconnect ethernet cable if running from an iso image, and turn off wireless on the computer.

* type  http://localhost:5000 into a firefox browser. The mapfish application should come up when this problem is fixed.

* This is a known bug in firefox 3.  https://bugzilla.mozilla.org/show_bug.cgi?id=339814

=== Manual fix: * Type about:config as the URL into firefox. Select "I'll be careful" * You should see a list of config options * Select "browser.offline-apps.notify" to set it to false.

Change History

Changed 2 years ago by wildintellect

That fix doesn't carry over well between browser sessions. Based on  http://www.stylesen.org/firefox_3_0_work_offline_mode The fix should be

 toolkit.networkmanager.disable  true

This appears to be the sole purpose of  https://addons.mozilla.org/en-US/firefox/addon/13152

Tested on original 2.0.1 VM, Can anyone confirm.

Changed 2 years ago by hamish

attempt for fix-by-script in r2462.

Changed 2 years ago by camerons

Manual fix confirmed to work in 2.0.2. Once the automated script fix is verified, this issue can be closed.

Changed 2 years ago by camerons

  • keywords 2.0 added

Changed 2 years ago by camerons

  • status changed from new to closed
  • resolution set to fixed

I was able to verify that this was fixed in arramagong 3.0alpha3 In VMWare Server console: Select: Summary -> Network Adaptor 1 -> Edit -> Disconnect

Then Opened Firefox,  http://localhost It comes up with message "It works" Then Opened up MapFish?, which also worked, (although it has empty tiles for a background)

Note: See TracTickets for help on using tickets.