Hi,<br><br>In reference to ticket #2290 (<a href="http://bugs.sugarlabs.org/ticket/2290">http://bugs.sugarlabs.org/ticket/2290</a>)<br><br>I have uploaded a patch (have attached it too).<br><br>Problem: in the register procedure the time out of connection was not implemented, for an unavailable server.<br>
<br>Solution in Patch:<br>- Have implemented a TimedOut connection (TimedOutServerProxy( ) function) which encounters the problem of unavailable servers.<br>- The connection timeout can be changed in seconds through the variable : 'timeout'.<br>
The default setting is at : timeout=socket._GLOBAL_DEFAULT_TIMEOUT<br>Change it to : timeout=10, to find Sugar does not freeze anymore.<br><br>Regards,<br>Dipankar<br>