Bugzilla – Bug 12813
Control Panel fails when server IP address is changed and server is running
Last modified: 2009-07-29 04:29:04 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.
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.
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.