Opened 10 years ago

Closed 9 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


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 Changed 10 years ago by wildintellect

That fix doesn't carry over well between browser sessions. Based on The fix should be

 toolkit.networkmanager.disable  true

This appears to be the sole purpose of

Tested on original 2.0.1 VM, Can anyone confirm.

comment:2 Changed 10 years ago by hamish

attempt for fix-by-script in r2462.

comment:3 Changed 10 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.

comment:4 Changed 9 years ago by camerons

Keywords: 2.0 added

comment:5 Changed 9 years ago by camerons

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.