Bug 12813 - Control Panel fails when server IP address is changed and server is running
: Control Panel fails when server IP address is changed and server is running
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Control Panel
: 7.4.0
: PC Windows Server 2003
: -- enhancement with 1 vote (vote)
: Future
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-11 23:26 UTC by Jim McAtee
Modified: 2009-07-29 04:29 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McAtee 2009-07-11 23:26:43 UTC
I'm running the Windows service with modified command line parameters to change the IP address.

C:/PROGRA~1/SQUEEZ~2/server/SqueezeSvr.exe --playeraddr 192.168.9.19 --cliaddr 192.168.9.19 --streamaddr 192.168.9.19 --httpaddr 192.168.9.19 --httpport 80

- If the server is running, the CP loads extremely slowly.  It shows a white box on screen with 'Logitech Squeezebox for 30 seconds or so.

- When it finally loads, the CP comes up in the setup screen, asking for a library name and SN account credentials.  All that info has already been entered.

- Hitting 'OK' after the info has been entered then takes while then shows a dialog box containing only the word 'Failed'.  Hitting 'OK' in the dialog box shuts down the CP (or maybe it crashes).

The Control Panel _does_ load normally if the service is stopped.
Comment 1 Michael Herger 2009-07-21 01:24:23 UTC
The panel currently is only accessing localhost (127.0.0.1) thus fails with custom IP configuration. 

While I'm not sure I'll be able to fix this, the delay behaviour must be fixed. Will see what I can do.
Comment 2 Michael Herger 2009-07-29 04:29:04 UTC
change 27886 - don't read the httpport at every request, but only once every while; fall back to reading prefs from file directly if http request fails

While this will probably slightly improve the startup behaviour, the control panel will still not fully be functional when the http IP address is changed for SC. The panel can't currently control this kind of customized set up, as it might also mean supporting multiple instances of SC. There are no plans to support this at this time.