Comment 1 for bug 579823

Revision history for this message
Facundo Batista (facundo) wrote :

This is already fixed, as the DNS lookup error is now handled.

Tried it IRL, starting the Ubuntu One client like:

  ubuntuone-syncdaemon --dns_srv=nosrv.com.ar.no --host=fs1.oneubu.com

The relevant part of the log, where we can see that it is working ok, is:

2010-09-02 10:18:48,330 - ubuntuone.SyncDaemon.StateManager - DEBUG - Transition WAITING --[SYS_CONNECTION_RETRY]--> READY (queues: WORKING_ON_BOTH; connection: With User With Network)
2010-09-02 10:18:48,330 - twisted - ERROR - Unhandled error in Deferred:
2010-09-02 10:18:48,331 - twisted - ERROR - Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.error.DNSLookupError: DNS lookup failed: address 'fs1.oneubu.com' not found: [Errno -5] No address associated with hostname.

2010-09-02 10:18:48,332 - ubuntuone.SyncDaemon.EQ - DEBUG - push_event: SYS_STATE_CHANGED, args:(), kw:{'state': READY (error=False connected=False online=False) Queue: WORKING_ON_BOTH Connection: With User With Network}
2010-09-02 10:18:48,402 - ubuntuone.SyncDaemon.ActionQueue - INFO - SRV lookup error, fallback to 'fs1.oneubu.com':443
Traceback (most recent call last):
Failure: twisted.names.error.DNSNameError: <twisted.names.dns.Message instance at 0x935006c>

2010-09-02 10:18:48,403 - ubuntuone.SyncDaemon.ActionQueue - INFO - Connection started to host fs1.oneubu.com, port 443.
2010-09-02 10:18:48,523 - ubuntuone.SyncDaemon.EQ - DEBUG - push_event: SYS_CONNECTION_FAILED, args:(), kw:{}
2010-09-02 10:18:48,523 - ubuntuone.SyncDaemon.StateManager - DEBUG - received event 'SYS_CONNECTION_FAILED'
2010-09-02 10:18:48,523 - ubuntuone.SyncDaemon.StateManager - DEBUG - Transition READY --[SYS_CONNECTION_FAILED]--> WAITING (queues: WORKING_ON_BOTH; connection: With User With Network)