Opened 14 years ago

Closed 14 years ago

#476 closed defect (fixed)

localhost not viewable in offline mode

Reported by: camerons Owned by: live-demo@…
Priority: blocker Milestone:
Component: OSGeoLive 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.

=== 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 (5)

comment:1 by wildintellect, 14 years ago

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.

comment:2 by hamish, 14 years ago

attempt for fix-by-script in r2462.

comment:3 by camerons, 14 years ago

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

comment:4 by camerons, 14 years ago

Keywords: 2.0 added

comment:5 by camerons, 14 years ago

Resolution: fixed
Status: newclosed

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.